X-Git-Url: https://git.kernel.dk/?p=fio.git;a=blobdiff_plain;f=engines%2Fposixaio.c;h=a56ab3a691e9251c9684c91104774981e811684e;hp=2fc56cd690772e05c1881f73eff2449f14cab981;hb=145dad6d3e1ae4bf44dd49eea9d0c025500b97d0;hpb=95bcd815e5ce55d6cdd8eb83bda5ee411f37bdc9 diff --git a/engines/posixaio.c b/engines/posixaio.c index 2fc56cd6..a56ab3a6 100644 --- a/engines/posixaio.c +++ b/engines/posixaio.c @@ -154,9 +154,10 @@ static int fio_posixaio_queue(struct thread_data fio_unused *td, if (ret) { io_u->error = errno; td_verror(td, io_u->error); + return FIO_Q_COMPLETED; } - - return io_u->error; + + return FIO_Q_QUEUED; } static void fio_posixaio_cleanup(struct thread_data *td)