ioengines: account any queued IO on the engine side
authorJens Axboe <axboe@fb.com>
Thu, 25 Feb 2016 20:24:47 +0000 (12:24 -0800)
committerJens Axboe <axboe@fb.com>
Thu, 25 Feb 2016 20:24:47 +0000 (12:24 -0800)
commite6727cbdd34a6ec30b437311724a6aa60e6b06fd
treefa19910dd19aa41ac6324d59f34d5fa250813eea
parent42ff945ce285e9864cdafe32e27e8ef421ea5aab
ioengines: account any queued IO on the engine side

Currently we don't account if it's not a read/write/trim, but that
can screw up with SYNC, for instance. Account any IO that the
IO engine has returned a queued status for.

Signed-off-by: Jens Axboe <axboe@fb.com>
ioengines.c