libaio,io_uring: introduce cmdprio_bssplit
authorDamien Le Moal <damien.lemoal@wdc.com>
Fri, 3 Sep 2021 15:20:25 +0000 (15:20 +0000)
committerJens Axboe <axboe@kernel.dk>
Fri, 3 Sep 2021 16:12:20 +0000 (10:12 -0600)
commita48f0cc700a6fec0cda476dd3bd562348f7ca19a
treea30f8f60ec0531c0e031db55f84f97e5ae4f43fc
parent12f9d54ae2e171b0a0f31b8d255f818420e0dbbe
libaio,io_uring: introduce cmdprio_bssplit

The cmdprio_percentage, cmdprio_class and cmdprio options allow
specifying different values for read and write operations. This enables
various IO priority issuing patterns even uner a mixed read-write
workload but does not allow differentiation within read and write
I/O operation types with different sizes when the bssplit option is
used.

Introduce the cmdprio_bssplit option to complement the use of the
bssplit option.  This new option has the same format as the bssplit
option, but the percentage values indicate the percentage of I/O
operations with a particular block size that must be issued with the
priority class and value specified by cmdprio_class and cmdprio.

Signed-off-by: Damien Le Moal <damien.lemoal@wdc.com>
Signed-off-by: Niklas Cassel <niklas.cassel@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
HOWTO
engines/cmdprio.h
engines/io_uring.c
engines/libaio.c
fio.1
tools/fiograph/fiograph.conf