Linux kernel 6.5 will add support for I/O priority hints, which can be used (for now) to specify a command duration limit 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 v1: - Added patch 1 - Addressed Niklas comments Damien Le Moal (5): os-linux: Cleanup IO priority class and value macros 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 | 32 ++++++++++++++++++++++++++++---- backend.c | 9 ++++++--- cconv.c | 2 ++ engines/cmdprio.c | 9 ++++++--- engines/cmdprio.h | 1 + engines/io_uring.c | 25 +++++++++++++++++++++++-- engines/libaio.c | 21 +++++++++++++++++++++ fio.1 | 30 +++++++++++++++++++++++++++--- 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, 178 insertions(+), 35 deletions(-) -- 2.41.0