Skip to content

nvmet: fix file & block device backed ns

Ming Lei linux-nvme stable 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4nvmet: set loop queue's segment boundary mask as PAGE_SIZE - 1drivers/nvme/target/loop.c+3 -06 replies
2/4nvmet: fix computation of io vector numberdrivers/nvme/target/io-cmd-file.c+2 -23 replies
3/4nvmet: fix computation of bvec->bv_lendrivers/nvme/target/io-cmd-file.c+2 -10 replies
4/4nvmet: build bvec from sg directlydrivers/nvme/target/io-cmd-file.c+8 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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