Skip to content

block, nvme: minor fixes to dma-buf support

Keith Busch linux-block linux-nvme 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2block: reject dma-bufs larger than 4GiBblock/fops.c+3 -02 replies
2/2nvme-pci: detach dma-bufs only on removaldrivers/nvme/host/pci.c+1 -30 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchPavel Begunkov
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] block, nvme: minor fixes to dma-buf support

From: Keith Busch <[email protected]>

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(-)
Signature · 1 line
2.52.0