Skip to content

Block write streams with nvme fdp

Kanchan Joshi io-uring linux-block linux-fsdevel linux-nvme 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v16 Latest11 patches 7 repliesApplied

Changes in v16 from the cover letter

- Merged to latest for-next (Jens)

Patches in v16 Applied

#Subject and filesSizeRepliesApplied
1/11fs: add a write stream field to the kiocbinclude/linux/fs.h+1 -00 replies
2/11block: add a bi_write_stream fieldblock/bio.c block/blk-crypto-fallback.c block/blk-merge.c +1 more+8 -00 replies
3/11block: introduce max_write_streams queue limitDocumentation/ABI/stable/sysfs-block block/blk-sysfs.c include/linux/blkdev.h+19 -00 replies
4/11block: introduce a write_stream_granularity queue limitDocumentation/ABI/stable/sysfs-block block/blk-sysfs.c include/linux/blkdev.h+12 -00 replies
5/11block: expose write streams for block device nodesblock/fops.c+23 -00 replies
6/11io_uring: enable per-io write streamsinclude/uapi/linux/io_uring.h io_uring/io_uring.c io_uring/rw.c+7 -00 replies
7/11nvme: add a nvme_get_log_lsi helperdrivers/nvme/host/core.c+12 -20 replies
8/11nvme: pass a void pointer to nvme_get/set_features for the resultdrivers/nvme/host/core.c drivers/nvme/host/nvme.h+4 -40 replies
9/11nvme: add FDP definitionsinclude/linux/nvme.h+77 -00 replies
10/11nvme: register fdp parameters with the block layerdrivers/nvme/host/core.c drivers/nvme/host/nvme.h+146 -04 replies
11/11nvme: use fdp streams if write stream is provideddrivers/nvme/host/core.c drivers/nvme/host/nvme.h+31 -12 replies

Reviews trailers per patch

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

PatchHannes ReineckeNitesh ShettyChristoph Hellwig
1/11R-b R-b
2/11R-b R-b
3/11R-b R-b
4/11R-b R-b
5/11R-b R-b
6/11R-b R-b R-b
7/11R-b R-b
8/11R-b R-b
9/11R-b R-b
10/11R-b R-b R-b
11/11R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v16 thread

Cover letter [PATCH v16 00/11] Block write streams with nvme fdp

The series enables FDP support for block IO.
The patches
- Add ki_write_stream in kiocb (patch 1), and bi_write_stream in bio (patch 2).
- Introduce two new queue limits - max_write_streams and write_stream_granularity (patch 3, 4)
- Pass write stream (either from kiocb, or from inode write hints) for block device (patch 5)
- Per I/O write stream interface in io_uring (patch 6)
- Register nvme fdp via write stream queue limits (patch 10, 11)

Changes since v15:
- Merged to latest for-next (Jens)

Previous discussions:
v15: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v14: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v13: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v12: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v11: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v10: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v9: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v8: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v7: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v6: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v5: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v4: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v3: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v2: https://lore.kernel.org/linux-nvme/[email protected]/T/#u
v1: https://lore.kernel.org/linux-nvme/[email protected]/T/#u

Christoph Hellwig (7):
fs: add a write stream field to the kiocb
block: add a bi_write_stream field
block: introduce a write_stream_granularity queue limit
block: expose write streams for block device nodes
nvme: add a nvme_get_log_lsi helper
nvme: pass a void pointer to nvme_get/set_features for the result
nvme: add FDP definitions

Keith Busch (4):
block: introduce max_write_streams queue limit
io_uring: enable per-io write streams
nvme: register fdp parameters with the block layer
nvme: use fdp streams if write stream is provided

 Documentation/ABI/stable/sysfs-block |  15 +++
 block/bio.c                          |   2 +
 block/blk-crypto-fallback.c          |   1 +
 block/blk-merge.c                    |   4 +
 block/blk-sysfs.c                    |   6 +
 block/fops.c                         |  23 ++++
 drivers/nvme/host/core.c             | 191 ++++++++++++++++++++++++++-
 drivers/nvme/host/nvme.h             |   7 +-
 include/linux/blk_types.h            |   1 +
 include/linux/blkdev.h               |  10 ++
 include/linux/fs.h                   |   1 +
 include/linux/nvme.h                 |  77 +++++++++++
 include/uapi/linux/io_uring.h        |   4 +
 io_uring/io_uring.c                  |   2 +
 io_uring/rw.c                        |   1 +
 15 files changed, 339 insertions(+), 6 deletions(-)

base-commit: e6d9dcfdc0c53b87cfe86163bfbd14f6457ef2b7

Signature · 1 line
2.25.1