nvmet: fix file & block device backed ns
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | nvmet: set loop queue's segment boundary mask as PAGE_SIZE - 1drivers/ | +3 | 6 replies | |
| 2/4 | nvmet: fix computation of io vector numberdrivers/ | +2 | 3 replies | |
| 3/4 | nvmet: fix computation of bvec->bv_lendrivers/ | +2 | 0 replies | |
| 4/4 | nvmet: build bvec from sg directlydrivers/ | +8 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/4] nvmet: fix file & block device backed ns
Hi,
The 1st patch sets loop queue's segment boundary mask as PAGE_SIZE - 1 because nvme target only accepts single-page sg list.
The 2nd & 3rd patches fix computation io vector.
The last patch builds bvec from sg directly.
Ming Lei (4):
nvmet: set loop queue's segment boundary mask as PAGE_SIZE - 1
nvmet: fix computation of io vector number
nvmet: fix computation of bvec->bv_len
nvmet: build bvec from sg directly
drivers/nvme/target/io-cmd-file.c | 20 ++++++++++---------- drivers/nvme/target/loop.c | 3 +++ 2 files changed, 13 insertions(+), 10 deletions(-)
Cc Yi Zhang <yi.zhang at redhat.com>
Cc Sagi Grimberg <sagi at grimberg.me>
Cc Chaitanya Kulkarni <chaitanya.kulkarni at wdc.com>
Signature · 1 line
2.9.5