commit | f299b7c7a9dee64425e5965bd4f56dc024c1befc | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Tue Aug 08 17:51:45 2017 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Aug 09 13:09:28 2017 -0600 |
tree | d81520896fad3b9d3e87c19d538ec00c052d1b7c | |
parent | 0609e0efc5e15195ecf8c6d2f2e890d98760e337 [diff] |
blk-mq: provide internal in-flight variant We don't have to inc/dec some counter, since we can just iterate the tags. That makes inc/dec a noop, but means we have to iterate busy tags to get an in-flight count. Reviewed-by: Bart Van Assche <bart.vanassche@wdc.com> Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>