All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/4] nvmet: fix file & block device backed ns
@ 2019-03-26  3:19 Ming Lei
  2019-03-26  3:19   ` Ming Lei
                   ` (3 more replies)
  0 siblings, 4 replies; 26+ messages in thread
From: Ming Lei @ 2019-03-26  3:19 UTC (permalink / raw)


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>

-- 
2.9.5

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2019-03-27  8:40 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-03-26  3:19 [PATCH 0/4] nvmet: fix file & block device backed ns Ming Lei
2019-03-26  3:19 ` [PATCH 1/4] nvmet: set loop queue's segment boundary mask as PAGE_SIZE - 1 Ming Lei
2019-03-26  3:19   ` Ming Lei
2019-03-26  7:36   ` Christoph Hellwig
2019-03-26  7:36     ` Christoph Hellwig
2019-03-26  7:37     ` Ming Lei
2019-03-26  7:37       ` Ming Lei
2019-03-26  7:39       ` Ming Lei
2019-03-26  7:39         ` Ming Lei
2019-03-27  8:15       ` Christoph Hellwig
2019-03-27  8:15         ` Christoph Hellwig
2019-03-27  8:26         ` Ming Lei
2019-03-27  8:26           ` Ming Lei
2019-03-27  8:39           ` Christoph Hellwig
2019-03-27  8:39             ` Christoph Hellwig
2019-03-26  3:19 ` [PATCH 2/4] nvmet: fix computation of io vector number Ming Lei
2019-03-26  3:19   ` Ming Lei
2019-03-26  7:38   ` Christoph Hellwig
2019-03-26  7:38     ` Christoph Hellwig
2019-03-26  7:50     ` Ming Lei
2019-03-26  7:50       ` Ming Lei
2019-03-27  8:15       ` Christoph Hellwig
2019-03-27  8:15         ` Christoph Hellwig
2019-03-26  3:19 ` [PATCH 3/4] nvmet: fix computation of bvec->bv_len Ming Lei
2019-03-26  3:19   ` Ming Lei
2019-03-26  3:19 ` [PATCH 4/4] nvmet: build bvec from sg directly Ming Lei

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.