projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Full readonly check
[fio.git]
/
engines
/
posixaio.c
diff --git
a/engines/posixaio.c
b/engines/posixaio.c
index 4aa7420c020dffbfff36a77d74c3d15b7fb6dc3b..9ff05c4914151387dae188d4c8798c7c3d0985c0 100644
(file)
--- a/
engines/posixaio.c
+++ b/
engines/posixaio.c
@@
-11,7
+11,6
@@
#include <assert.h>
#include "../fio.h"
-#include "../os.h"
#ifdef FIO_HAVE_POSIXAIO
@@
-149,6
+148,8
@@
static int fio_posixaio_queue(struct thread_data fio_unused *td,
struct aiocb *aiocb = &io_u->aiocb;
int ret;
+ fio_ro_check(td, io_u);
+
if (io_u->ddir == DDIR_READ)
ret = aio_read(aiocb);
else if (io_u->ddir == DDIR_WRITE)