diff options
author | Ming Lei <[email protected]> | 2020-05-29 15:53:14 +0200 |
---|---|---|
committer | Jens Axboe <[email protected]> | 2020-05-29 10:23:25 -0600 |
commit | 602380d28e28b454683efac41dc4b2862d055d91 (patch) | |
tree | 105845e989e30adfe630116e790f73ee68bf5641 /scripts/gdb/linux/modules.py | |
parent | 600c3b0cea784aaba77df3ed4a6b4f2ebfa935ce (diff) |
blk-mq: add blk_mq_all_tag_iter
Add a new blk_mq_all_tag_iter function to iterate over all allocated
scheduler tags and driver tags. This is more flexible than the existing
blk_mq_all_tag_busy_iter function as it allows the callers to do whatever
they want on allocated request instead of being limited to started
requests.
It will be used to implement draining allocated requests on specified
hctx in this patchset.
[hch: switch from the two booleans to a more readable flags field and
consolidate the tags iter functions]
Signed-off-by: Ming Lei <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Reviewed-by: Hannes Reinecke <[email protected]>
Reviewed-by: Daniel Wagner <[email protected]>
Reviewed-by: Bart van Assche <[email protected]>
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions