commit | 16f1477ebeeef4170f1f16eb66ad565daecdc7a8 | [log] [tgz] |
---|---|---|
author | Jens Axboe <axboe@kernel.dk> | Thu Oct 19 11:37:00 2017 -0600 |
committer | Jens Axboe <axboe@kernel.dk> | Thu Oct 19 11:37:00 2017 -0600 |
tree | 657edf154f598bf303ec680a245d460779f50f9b | |
parent | 9974ae56e3da12c27d5ff55c54962c98397017f5 [diff] |
blk-wbt: add wbt_any_inflight() Some callsites care about the specific number of writes inflight, others only care if any writes are inflight or not. In preparation for increasing the number of wait buckets, add wbt_any_inflight() to avoid iterating and checking more buckets than we need. Signed-off-by: Jens Axboe <axboe@kernel.dk>