Disallow offload IO mode for engines marked with FIO_NO_OFFLOAD
authorJens Axboe <axboe@kernel.dk>
Thu, 15 Oct 2020 02:11:56 +0000 (20:11 -0600)
committerJens Axboe <axboe@kernel.dk>
Thu, 15 Oct 2020 02:11:56 +0000 (20:11 -0600)
commit8bfe330eb42739d503d35d0b7d96f98c5c544204
tree250abe21303910b7c4e6af46365f8d328b9c5e79
parent8cf503ce5956e4c287e13d5c7761a03fbb4b54cc
Disallow offload IO mode for engines marked with FIO_NO_OFFLOAD

Previous commits did this for all async engines, this can potentially
break existing job files. There are only certain cases where it fails,
for now at least mark io_uring as one of those.

Reported-by: Jeff Furlong <jeff.furlong@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/io_uring.c
ioengines.c
ioengines.h