t/zbd: add a CLI option to force io_uring
authorDmitry Fomichev <dmitry.fomichev@wdc.com>
Sun, 16 Oct 2022 01:43:09 +0000 (10:43 +0900)
committerJens Axboe <axboe@kernel.dk>
Sun, 16 Oct 2022 23:05:03 +0000 (17:05 -0600)
commit0360d61fbfcc1f07bcdc16672f5040f8cf49681f
tree321748cb7bfe1fced16ade0355010331fc3aa061
parent842fb796d249ef4c2b97a54442aa8055668888a0
t/zbd: add a CLI option to force io_uring

Many modern Linux distros don't include libaio-dev or libaio-devel
package by default and this leads to libaio ioengine being
unavailable in fio instances built at such systems.

Approximately one third of the test cases in the fio test script for
zoned block devices, t/zbd/test-zbd-support, use libaio ioengine.

In order to allow users to run the entire set of ZBD tests without
libaio, introduce a new command line option, -u, to the test script.
When this option is added to the script command line, all tests that
normally use libaio will be modified to use io_uring ioengine.

Signed-off-by: Dmitry Fomichev <dmitry.fomichev@wdc.com>
Link: https://lore.kernel.org/r/20221016014309.53682-2-dmitry.fomichev@wdc.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
t/zbd/test-zbd-support