[PATCH] nvme-multipath: set BIO_REMAPPED on bios remapped to per-path namespace disks
Achkinazi, Igor
Igor.Achkinazi at dell.com
Mon May 18 13:59:09 PDT 2026
Keith Busch wrote :
> Any reason nvme multipath can't call submit_bio_noacct_nocheck()
> directly instead? If it's safe to skip the eod check here, then it
> looks safe to skip everything else too.
I'd prefer to keep this internal to nvme and use BIO_REMAPPED rather than
switching to submit_bio_noacct_nocheck:
- submit_bio_noacct_nocheck is block-internal and not exported, so using it
from NVMe would require a block-layer API change just for this.
- it bypasses more checks than I see we need here (throttling, RO, crypto,
op-type), I prefer bypassing only the EOD check.
- BIO_REMAPPED propagates to split clones, so it covers all resubmissions,
not just the initial one.
Internal Use - Confidential
More information about the Linux-nvme
mailing list