public inbox for [email protected]
 help / color / mirror / Atom feed
* [PATCHv4 0/4] block integrity: directly map user space addresses
@ 2023-11-28 22:27 Keith Busch
  2023-11-28 22:27 ` [PATCHv4 1/4] block: bio-integrity: directly map user buffers Keith Busch
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Keith Busch @ 2023-11-28 22:27 UTC (permalink / raw)
  To: linux-block, linux-nvme, io-uring
  Cc: axboe, hch, joshi.k, martin.petersen, ming.lei, Keith Busch

From: Keith Busch <[email protected]>

Handling passthrough metadata ("integrity") today introduces overhead
and complications that we can avoid if we just map user space addresses
directly. This patch series implements that, falling back to a kernel
bounce buffer if necessary.

v3->v4:

  Code organization suggestions (Jens, Christoph)

  Spelling and unnecessary punctionation (Anuj)

  Open code the final user page unpin (Ming)

  Eliminate another allocation for the bounce copy by moving the bvec
  into the bip rather than just a pointer to it (me)

Keith Busch (4):
  block: bio-integrity: directly map user buffers
  nvme: use bio_integrity_map_user
  iouring: remove IORING_URING_CMD_POLLED
  io_uring: remove uring_cmd cookie

 block/bio-integrity.c     | 203 ++++++++++++++++++++++++++++++++++++++
 drivers/nvme/host/ioctl.c | 197 ++++++------------------------------
 include/linux/bio.h       |   9 ++
 include/linux/io_uring.h  |   9 +-
 io_uring/uring_cmd.c      |   1 -
 5 files changed, 243 insertions(+), 176 deletions(-)

-- 
2.34.1


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

end of thread, other threads:[~2023-11-29 16:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-28 22:27 [PATCHv4 0/4] block integrity: directly map user space addresses Keith Busch
2023-11-28 22:27 ` [PATCHv4 1/4] block: bio-integrity: directly map user buffers Keith Busch
2023-11-29 15:18   ` Kanchan Joshi
2023-11-29 16:35     ` Keith Busch
2023-11-28 22:27 ` [PATCHv4 2/4] nvme: use bio_integrity_map_user Keith Busch
2023-11-28 22:27 ` [PATCHv4 3/4] iouring: remove IORING_URING_CMD_POLLED Keith Busch
2023-11-28 22:27 ` [PATCHv4 4/4] io_uring: remove uring_cmd cookie Keith Busch
2023-11-29  1:37 ` [PATCHv4 0/4] block integrity: directly map user space addresses Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox