Fix problem with iodepth_batch_complete=0 and accounting
authorJens Axboe <axboe@kernel.dk>
Fri, 16 Mar 2012 12:55:50 +0000 (13:55 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 16 Mar 2012 12:55:50 +0000 (13:55 +0100)
commit8a74b56d7aef44ea75d7abf910ad75378b438fe3
treeade2fa4acf5fe85ed1dbcb6e50f5082a93aa7d38
parentc03b373d2281ff4e0ad191d7afb66b459887394c
Fix problem with iodepth_batch_complete=0 and accounting

If the queue is full, we always need to reap at least one event.
Otherwise we end up failing get_io_u() and restarting the file.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
backend.c
io_u.c