FDP and per-io hints
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v7 Latest3 patches 82 repliesIn review
- v63 patches 9 repliesSuperseded
- v31 patch 7 repliesSuperseded
Earlier versions · 2
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v2 | 1 patch | 11 replies | Superseded | |
| v1 | 1 patch | 9 replies | Superseded |
Changes in v7 from the cover letter
- Change io_uring interface to pass hints as SQE metadata (Pavel, Hannes)
Patches in v7 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | nvme: enable FDP supportdrivers/ drivers/ include/ | +93 | 2 replies | |
| 2/3 | block, fs: restore kiocb based write hint processingblock/ fs/ fs/ +4 more | +16 | 0 replies | |
| 3/3 | io_uring: enable per-io hinting capabilityfs/ include/ include/ +1 more | +67 | 3 replies |
Reviews trailers per patch
2 of 3 patches have a Reviewed-by or Acked-by.
| Patch | Christoph Hellwig | Hannes Reinecke |
|---|---|---|
| 1/3 | Nacked-by | R-b |
| 2/3 | R-b | |
| 3/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v7 0/3] FDP and per-io hints
Another spin to incorporate the feedback from LPC and previous iterations. The series adds two capabilities:
- FDP support at NVMe level (patch #1)
- Per-io hinting via io_uring (patch #3)
Patch #2 is needed to do per-io hints.
The motivation and interface details are present in the commit descriptions.
Testing:
Done with fcntl and liburing based custom applications.
On raw block device, ext4, xfs, btrfs and F2FS.
Checked that no regression occurs for application that use per-inode hints.
Checked that per-io hints, when passed, take the precedence over per-inode hints.
Changes since v6:
- Change io_uring interface to pass hints as SQE metadata (Pavel, Hannes)
Changes since v5:
- Drop placement hints
- Add per-io hint interface
Changes since v4:
- Retain the size/type checking on the enum (Bart)
- Use the name "*_lifetime_hint" rather than "*_life_hint" (Bart)
Changes since v3:
- 4 new patches to introduce placement hints
- Make nvme patch use the placement hints rather than lifetime hints
Changes since v2:
- Base it on nvme-6.11 and resolve a merge conflict
Changes since v1:
- Reduce the fetched plids from 128 to 6 (Keith)
- Use struct_size for a calculation (Keith)
- Handle robot/sparse warning
Kanchan Joshi (3):
nvme: enable FDP support
block, fs: restore kiocb based write hint processing
io_uring: enable per-io hinting capability
Kanchan Joshi (3):
nvme: enable FDP support
block, fs: restore kiocb based write hint processing
io_uring: enable per-io hinting capability
block/fops.c | 6 +-- drivers/nvme/host/core.c | 70 +++++++++++++++++++++++++++++++++++ drivers/nvme/host/nvme.h | 4 ++ fs/aio.c | 1 + fs/cachefiles/io.c | 1 + fs/direct-io.c | 2 +- fs/fcntl.c | 22 ----------- fs/iomap/direct-io.c | 2 +- include/linux/fs.h | 8 ++++ include/linux/nvme.h | 19 ++++++++++ include/linux/rw_hint.h | 24 ++++++++++++ include/uapi/linux/io_uring.h | 19 ++++++++++ io_uring/rw.c | 24 ++++++++++++ 13 files changed, 175 insertions(+), 27 deletions(-)
Signature · 1 line
2.25.1