Try a little harder to honor number_ios more accurately
authorJens Axboe <axboe@fb.com>
Tue, 11 Mar 2014 16:21:18 +0000 (10:21 -0600)
committerJens Axboe <axboe@fb.com>
Tue, 11 Mar 2014 16:21:18 +0000 (10:21 -0600)
Previously, fio checked this on completion, which means we could
almost spill over by the iodepth setting. Check this before
issue instead, taking the in flight IOs into account as well.

Reported-by: Robert Elliott <Elliott@hp.com>
Signed-off-by: Jens Axboe <axboe@fb.com>

No differences found