[PATCHv11 0/9] write hints with nvme fdp and scsi streams
Keith Busch
kbusch at meta.com
Fri Nov 8 11:36:20 PST 2024
From: Keith Busch <kbusch at kernel.org>
Changes from v10:
Fixed FDP max handle size calculations (wrong type)
Defined and used FDP constants instead of literal numbers
Moved io_uring write_hint to the end of the SQE so as not to overlap
with other defined fields except uring_cmd
Default partition split so partition one gets all the write hints
exclusively
Folded in the fix for stacking block stream feature for nvme-multipath
(from hch xfs-zoned-streams branch)
Kanchan Joshi (2):
io_uring: enable per-io hinting capability
nvme: enable FDP support
Keith Busch (7):
block: use generic u16 for write hints
block: introduce max_write_hints queue limit
statx: add write hint information
block: allow ability to limit partition write hints
block, fs: add write hint to kiocb
block: export placement hint feature
scsi: set permanent stream count in block limits
Documentation/ABI/stable/sysfs-block | 14 ++++++
block/bdev.c | 22 +++++++++
block/blk-settings.c | 5 ++
block/blk-sysfs.c | 6 +++
block/fops.c | 31 +++++++++++--
block/partitions/core.c | 45 +++++++++++++++++-
drivers/nvme/host/core.c | 69 ++++++++++++++++++++++++++++
drivers/nvme/host/multipath.c | 3 +-
drivers/nvme/host/nvme.h | 5 ++
drivers/scsi/sd.c | 2 +
fs/stat.c | 1 +
include/linux/blk-mq.h | 3 +-
include/linux/blk_types.h | 4 +-
include/linux/blkdev.h | 15 ++++++
include/linux/fs.h | 1 +
include/linux/nvme.h | 37 +++++++++++++++
include/linux/stat.h | 1 +
include/uapi/linux/io_uring.h | 4 ++
include/uapi/linux/stat.h | 3 +-
io_uring/io_uring.c | 2 +
io_uring/rw.c | 2 +-
21 files changed, 263 insertions(+), 12 deletions(-)
--
2.43.5
More information about the Linux-nvme
mailing list