[PATCH 0/2] block, nvme: minor fixes to dma-buf support
Keith Busch
kbusch at meta.com
Wed Oct 21 11:46:56 PDT 2026
From: Keith Busch <kbusch at kernel.org>
Just a couple minor fixes. I wish I could say I caught the first one
myself, but no, I prompted an LLM to look at it.
I am assuming changing the bi_offset type to accomodate large offsets
isn't acceptable as the bvec_iter's size appears to be packed to be
small. I think there's a path to accepting larger offsets through
bi_idx, but the patch proposed here is a safer quick fix.
Keith Busch (2):
block: reject dma-bufs larger than 4GiB
nvme-pci: detach dma-bufs only on removal
block/fops.c | 4 ++++
drivers/nvme/host/pci.c | 4 +---
2 files changed, 5 insertions(+), 3 deletions(-)
--
2.52.0
More information about the Linux-nvme
mailing list