projects
/
fio.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e55138e
)
engines/io_uring: mark as not compatible with io_submit_mode=offload
author
Jens Axboe
<axboe@kernel.dk>
Fri, 11 Sep 2020 14:52:51 +0000
(08:52 -0600)
committer
Jens Axboe
<axboe@kernel.dk>
Fri, 11 Sep 2020 14:52:51 +0000
(08:52 -0600)
Signed-off-by: Jens Axboe <axboe@kernel.dk>
engines/io_uring.c
patch
|
blob
|
blame
|
history
diff --git
a/engines/io_uring.c
b/engines/io_uring.c
index e2b5e6ee3725d18289372bdb0e5fd276cddfa807..69f48859d7d55cb067db928d26ab49b5a1d7b36e 100644
(file)
--- a/
engines/io_uring.c
+++ b/
engines/io_uring.c
@@
-724,6
+724,12
@@
static int fio_ioring_init(struct thread_data *td)
struct ioring_data *ld;
struct thread_options *to = &td->o;
+ if (to->io_submit_mode == IO_MODE_OFFLOAD) {
+ log_err("fio: io_submit_mode=offload is not compatible (or "
+ "useful) with io_uring\n");
+ return 1;
+ }
+
/* sqthread submission requires registered files */
if (o->sqpoll_thread)
o->registerfiles = 1;