commit | 7101d9c24abec4be58a086d85d6d92ec6e6492e9 | [log] [tgz] |
---|---|---|
author | Jens Axboe <jens.axboe@oracle.com> | Wed Sep 12 13:12:39 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Sep 12 13:12:39 2007 +0200 |
tree | fedf7d666af5c1877c183e055730e9fc44171b25 | |
parent | 4241ea8fb0606f9bd5b7ed1278d3b7825883acf6 [diff] [blame] |
Full readonly check Both in core and in engines. To the extent possible, this should catch even fio errors. Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
diff --git a/engines/libaio.c b/engines/libaio.c index f8990c1..8f67711 100644 --- a/engines/libaio.c +++ b/engines/libaio.c
@@ -86,6 +86,8 @@ { struct libaio_data *ld = td->io_ops->data; + fio_ro_check(td, io_u); + if (ld->iocbs_nr == (int) td->o.iodepth) return FIO_Q_BUSY;