Disallow offload IO mode for engines marked with FIO_NO_OFFLOAD
[fio.git] / engines / io_uring.c
index 69f48859d7d55cb067db928d26ab49b5a1d7b36e..b997c8d8f9d1d717aa8cfb43b019cd0c4d685fe6 100644 (file)
@@ -806,7 +806,7 @@ static int fio_ioring_close_file(struct thread_data *td, struct fio_file *f)
 static struct ioengine_ops ioengine = {
        .name                   = "io_uring",
        .version                = FIO_IOOPS_VERSION,
-       .flags                  = FIO_ASYNCIO_SYNC_TRIM,
+       .flags                  = FIO_ASYNCIO_SYNC_TRIM | FIO_NO_OFFLOAD,
        .init                   = fio_ioring_init,
        .post_init              = fio_ioring_post_init,
        .io_u_init              = fio_ioring_io_u_init,