projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Be safe and re-prep requeue io_u's
[fio.git]
/
engines
/
posixaio.c
diff --git
a/engines/posixaio.c
b/engines/posixaio.c
index 71601fdd31c8df937cc08498c04d308875135d5e..a56ab3a691e9251c9684c91104774981e811684e 100644
(file)
--- a/
engines/posixaio.c
+++ b/
engines/posixaio.c
@@
-151,10
+151,13
@@
static int fio_posixaio_queue(struct thread_data fio_unused *td,
else
ret = aio_fsync(O_SYNC, aiocb);
- if (ret)
+ if (ret)
{
io_u->error = errno;
-
- return io_u->error;
+ td_verror(td, io_u->error);
+ return FIO_Q_COMPLETED;
+ }
+
+ return FIO_Q_QUEUED;
}
static void fio_posixaio_cleanup(struct thread_data *td)