X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Fnull.c;h=bbb4e8ab9a89521516694e14dc9dd7ea00e7f584;hp=823d40def272c820a2d635b994483af94a61b014;hb=7101d9c24abec4be58a086d85d6d92ec6e6492e9;hpb=4241ea8fb0606f9bd5b7ed1278d3b7825883acf6 diff --git a/engines/null.c b/engines/null.c index 823d40de..bbb4e8ab 100644 --- a/engines/null.c +++ b/engines/null.c @@ -56,6 +56,8 @@ static int fio_null_queue(struct thread_data fio_unused *td, struct io_u *io_u) { struct null_data *nd = td->io_ops->data; + fio_ro_check(td, io_u); + if (td->io_ops->flags & FIO_SYNCIO) return FIO_Q_COMPLETED; if (nd->events)