summaryrefslogtreecommitdiff
path: root/block/blk-mq-debugfs.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2017-08-08 17:53:33 -0600
committerJens Axboe <axboe@kernel.dk>2017-08-09 13:09:33 -0600
commitb8d62b3a9c25d64d8de4a272314dac0c957982f2 (patch)
tree8da4ed2c4ad00ed7469ebe90bdc741830ffa0426 /block/blk-mq-debugfs.c
parentf299b7c7a9dee64425e5965bd4f56dc024c1befc (diff)
blk-mq: enable checking two part inflight counts at the same time
Modify blk_mq_in_flight() to count both a partition and root at the same time. Then we only have to call it once, instead of potentially looping the tags twice. Reviewed-by: Omar Sandoval <osandov@fb.com> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-mq-debugfs.c')
0 files changed, 0 insertions, 0 deletions