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(-) -- 2.41.0