summaryrefslogtreecommitdiffstats
path: root/block/blk-throttle.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-05-30 18:51:00 +0200
committerJens Axboe <axboe@kernel.dk>2018-05-30 11:31:34 -0600
commitd250bf4e776ff09d51c97f83c7a19f65a9e1c5a5 (patch)
tree8b0d1aff3030f70300bd2be35b279ae24a131f8e /block/blk-throttle.c
parent5e3c3a7ecefefaebc7c9a626fe4522cb85bbdaad (diff)
downloadlinux-0-day-d250bf4e776ff09d51c97f83c7a19f65a9e1c5a5.tar.gz
blk-mq: only iterate over inflight requests in blk_mq_tagset_busy_iter
We already check for started commands in all callbacks, but we should also protect against already completed commands. Do this by taking the checks to common code. Acked-by: Josef Bacik <josef@toxicpanda.com> Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/blk-throttle.c')
0 files changed, 0 insertions, 0 deletions