Change IO engine queuing
authorJens Axboe <jens.axboe@oracle.com>
Sun, 18 Feb 2007 04:41:31 +0000 (05:41 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Sun, 18 Feb 2007 04:41:31 +0000 (05:41 +0100)
commit36167d82e5f49dee91c6d2cd426068edee90e36f
tree3ef1b97fb535afa877c94d16a93707b8c2dabe56
parent48097d5c61aa1718e6dd4b3b647ea2eb6f00fcfb
Change IO engine queuing

Instead of always pretending to be async, let the IO engines
return FIO_Q_COMPLETED or FIO_Q_QUEUED to signal async or
sync completions regardless of their nature. This cleans up
the queuing model quite a bit.

Also fixed a verification error spotted while doing this
transformation.

The main intent of this is to allow queuing more than 1 piece
of IO at the time, that will come in a later changeset.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
15 files changed:
engines/libaio.c
engines/mmap.c
engines/net.c
engines/null.c
engines/posixaio.c
engines/sg.c
engines/skeleton_external.c
engines/splice.c
engines/sync.c
engines/syslet-rw.c
fio.c
fio.h
io_u.c
ioengines.c
verify.c