diff options
| author | Jens Axboe <axboe@kernel.dk> | 2018-11-08 09:03:51 -0700 |
|---|---|---|
| committer | Jens Axboe <axboe@kernel.dk> | 2018-11-08 10:24:23 -0700 |
| commit | ae8799125d565c798e49dcab4bf182dbfc483524 (patch) | |
| tree | 9cf36f53aad46a716d8b7476da384823d82e9e38 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 7baa85727d0406ffd2b2303cd803a145aa35c505 (diff) | |
| download | linux-ae8799125d565c798e49dcab4bf182dbfc483524.tar.gz linux-ae8799125d565c798e49dcab4bf182dbfc483524.zip | |
blk-mq: provide a helper to check if a queue is busy
Returns true if the queue currently has requests pending,
false if not.
DM can use this to replace the atomic_inc/dec they do per device
to see if a device is busy.
Reviewed-by: Mike Snitzer <snitzer@redhat.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
