[PATCHv4 0/4] block integrity: directly map user space addresses
Keith Busch
kbusch at meta.com
Tue Nov 28 14:27:48 PST 2023
From: Keith Busch <kbusch at kernel.org>
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
More information about the Linux-nvme
mailing list