cmdprio: Add support for per I/O priority hint
authorDamien Le Moal <dlemoal@kernel.org>
Fri, 21 Jul 2023 11:05:09 +0000 (20:05 +0900)
committerJens Axboe <axboe@kernel.dk>
Fri, 21 Jul 2023 20:07:28 +0000 (14:07 -0600)
commit79012fece0a0ecb02ad6a3322913980efdb1d726
tree82ffd40dee9afde16ed1ece2e8fea6a480a71b92
parent860462dad312ef121766f5d17b1df7b05d1f47ee
cmdprio: Add support for per I/O priority hint

Introduce the new option cmdprio_hint to allow specifying I/O priority
hints per IO with the io_uring and libaio IO engines. A third acceptable
format for the cmdprio_bssplit option is also introduced to allow
specifying an I/O hint in addition to a priority class and level.

Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Reviewed-by: Niklas Cassel <niklas.cassel@wdc.com>
Link: https://lore.kernel.org/r/20230721110510.44772-6-dlemoal@kernel.org
Signed-off-by: Jens Axboe <axboe@kernel.dk>
HOWTO.rst
engines/cmdprio.c
engines/cmdprio.h
engines/io_uring.c
fio.1
options.c