RFC fs: support dma-buf backed direct I/O
Get series with b4
b4 am [email protected]Versions newest first
- v1 RFC Latest4 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | block: factor out bdev_init_dma_buf_io_ctx()block/ include/ | +12 | 1 reply | |
| 2/4 | block: refuse a dma-buf bio for a disk the buffer was not registered onblock/ block/ include/ | +23 | 3 replies | |
| 3/4 | iomap: add dma-buf direct I/O guards and registration helperfs/ include/ | +33 | 1 reply | |
| 4/4 | xfs: support dma-buf registered buffers for direct I/Ofs/ | +30 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [RFC 0/4] fs: support dma-buf backed direct I/O
This series lets an application register a dma-buf against a file, so reads and writes go directly to the device as dma-buf backed bios with no per-command DMA mapping.
This series builds on Pavel Begunkov's dma-buf block support v11,
https://lore.kernel.org/all/[email protected]/
which is queued in Jens Axboe's tree:
https://git.kernel.org/pub/scm/linux/kernel/git/axboe/linux.git/log/?h=for-7.4/io_uring-dmabuf
A separate kernel tree is present here:
https://github.com/anuj7781/linux-kernel/tree/anuj/fs-dmabuf-rfc-v11-desc-v2
Nitesh Shetty (4):
block: factor out bdev_init_dma_buf_io_ctx()
block: refuse a dma-buf bio for a disk the buffer was not registered
on
iomap: add dma-buf direct I/O guards and registration helper
xfs: support dma-buf registered buffers for direct I/O
block/bio.c | 15 +++++++++++++++ block/fops.c | 19 +++++++++++++++---- fs/iomap/direct-io.c | 31 ++++++++++++++++++++++++++++++- fs/xfs/xfs_file.c | 30 ++++++++++++++++++++++++++++++ include/linux/blkdev.h | 3 +++ include/linux/dma-buf-io.h | 2 ++ include/linux/iomap.h | 3 +++ 7 files changed, 98 insertions(+), 5 deletions(-)
Signature · 1 line
2.43.0