Respect iodepth_batch_complete=0 in main loop
authorDan Ehrenberg <dehrenberg@google.com>
Sat, 23 Jul 2011 11:36:44 +0000 (13:36 +0200)
committerJens Axboe <jaxboe@fusionio.com>
Sat, 23 Jul 2011 11:36:44 +0000 (13:36 +0200)
commit1f84f1d9f85fe17c83eba504e4fb9b09a082e517
treec73a537fea31937a64ec6b416bd9b4864c7efdb8
parent25c8b9d76ce2995c1144149df3b047d457c5613a
Respect iodepth_batch_complete=0 in main loop

If the iodepth_batch_complete is 0, then even if the queue is full,
we still don't make min_events be 1 in the main loop. Instead, poll
in a non-blocking way until a result is found.

Signed-off-by: Dan Ehrenberg <dehrenberg@google.com>
Signed-off-by: Jens Axboe <jaxboe@fusionio.com>
fio.c