Skip to content

Add support for I/O priority hints

Damien Le Moal fio 3 versions – Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest6 patches 3 repliesApplied
  2. v25 patches 4 repliesSuperseded
  3. v14 patches 7 repliesSuperseded

Changes in v3 from the cover letter

- Added patch 2 to generically define the cmdprio_xxx options. This dwisimplifies tidies up patch 5.
- Added Niklas review tag to patch 1

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/6os-linux: Cleanup IO priority class and value macrosos/os-linux.h+4 -40 replies
2/6cmdprio: Introduce generic option definitionsengines/cmdprio.h engines/io_uring.c engines/libaio.c+86 -1621 reply
3/6os-linux: add initial support for IO priority hintsbackend.c engines/cmdprio.c options.c +3 more+28 -130 replies
4/6options: add priohint optionHOWTO.rst backend.c cconv.c +4 more+45 -50 replies
5/6cmdprio: Add support for per I/O priority hintHOWTO.rst engines/cmdprio.c engines/cmdprio.h +3 more+87 -161 reply
6/6stats: Add hint information to per priority level statsstat.c+7 -30 replies

Reviews trailers per patch

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

PatchNiklas Cassel
1/6R-b
2/6R-b
3/6R-b
4/6R-b
5/6R-b
6/6R-b

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

Read the v3 thread

Cover letter [PATCH v3 0/6] Add support for I/O priority hints

Linux kernel 6.5 adds support for I/O priority hints, which can be used (for now) to specify command duration limits for block devices supporting this feature.

This patch series extends fio I/O priority options and adds new options to allow users to specify I/O priority hints.

Changes from v2:
- Added patch 2 to generically define the cmdprio_xxx options. This dwisimplifies tidies up patch 5.
- Added Niklas review tag to patch 1

Changes from v1:
- Added patch 1
- Addressed Niklas comments

Damien Le Moal (6):
os-linux: Cleanup IO priority class and value macros
cmdprio: Introduce generic option definitions
os-linux: add initial support for IO priority hints
options: add priohint option
cmdprio: Add support for per I/O priority hint
stats: Add hint information to per priority level stats

 HOWTO.rst          |  37 ++++++++++++++--
 backend.c          |   9 ++--
 cconv.c            |   2 +
 engines/cmdprio.c  |   9 ++--
 engines/cmdprio.h  | 106 +++++++++++++++++++++++++++++++++++++++++++++
 engines/io_uring.c |  86 ++----------------------------------
 engines/libaio.c   |  82 +----------------------------------
 fio.1              |  33 ++++++++++++--
 options.c          |  31 +++++++++++--
 os/os-dragonfly.h  |   4 +-
 os/os-linux.h      |  27 ++++++++----
 os/os.h            |   7 ++-
 server.h           |   2 +-
 stat.c             |  10 +++--
 thread_options.h   |   3 +-
 15 files changed, 251 insertions(+), 197 deletions(-)
Signature · 1 line
2.41.0