Skip to content

write hints for nvme fdp

Keith Busch io-uring linux-block linux-fsdevel linux-nvme oe-kbuild oe-kbuild-all 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v8 Latest6 patches 25 repliesIn review

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6block, fs: restore kiocb based write hint processingblock/fops.c fs/aio.c fs/cachefiles/io.c +4 more+16 -58 replies
2/6block: use generic u16 for write hintsinclude/linux/blk-mq.h include/linux/blk_types.h+2 -36 replies
3/6block: introduce max_write_hints queue limitDocumentation/ABI/stable/sysfs-block block/blk-settings.c block/blk-sysfs.c +2 more+27 -04 replies
4/6fs: introduce per-io hint support flagblock/fops.c include/linux/fs.h+3 -12 replies
5/6io_uring: enable per-io hinting capabilityinclude/uapi/linux/io_uring.h io_uring/rw.c+13 -22 replies
6/6nvme: enable FDP supportdrivers/nvme/host/core.c drivers/nvme/host/nvme.h include/linux/nvme.h+106 -03 replies

Reviews trailers per patch

All 6 patches have a Reviewed-by or Acked-by.

PatchHannes ReineckeChristoph Hellwig
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b Nacked-by

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

Read the v8 thread

Cover letter [PATCHv8 0/6] write hints for nvme fdp

From: Keith Busch <[email protected]>

Changes from v7:

Limits io_uring per-io hints to raw block, and only if the block device registers a new queue limit indicating support for it.

The per-io hints are opaque to the kernel.

Minor changelog and code organization changes.

I don't really understand the io_uring suggestions, so I just made the write_hint a first class field without the "meta" indirection. It's kind of like ioprio, which has it's own field too. Actually, might be neat if we could use ioprio since it already has a "hints" field that is currently only used by command duration limits.

Kanchan Joshi (3):
block, fs: restore kiocb based write hint processing
io_uring: enable per-io hinting capability
nvme: enable FDP support

Keith Busch (3):
block: use generic u16 for write hints
block: introduce max_write_hints queue limit
fs: introduce per-io hint support flag

 Documentation/ABI/stable/sysfs-block |  7 +++
 block/blk-settings.c                 |  3 +
 block/blk-sysfs.c                    |  3 +
 block/fops.c                         | 10 ++--
 drivers/nvme/host/core.c             | 82 ++++++++++++++++++++++++++++
 drivers/nvme/host/nvme.h             |  5 ++
 fs/aio.c                             |  1 +
 fs/cachefiles/io.c                   |  1 +
 fs/direct-io.c                       |  2 +-
 fs/iomap/direct-io.c                 |  2 +-
 include/linux/blk-mq.h               |  3 +-
 include/linux/blk_types.h            |  2 +-
 include/linux/blkdev.h               | 12 ++++
 include/linux/fs.h                   | 10 ++++
 include/linux/nvme.h                 | 19 +++++++
 include/uapi/linux/io_uring.h        |  4 ++
 io_uring/rw.c                        | 10 +++-
 17 files changed, 166 insertions(+), 10 deletions(-)
Signature · 1 line
2.43.5