commit | d250bf4e776ff09d51c97f83c7a19f65a9e1c5a5 | [log] [tgz] |
---|---|---|
author | Christoph Hellwig <hch@lst.de> | Wed May 30 18:51:00 2018 +0200 |
committer | Jens Axboe <axboe@kernel.dk> | Wed May 30 11:31:34 2018 -0600 |
tree | 8b0d1aff3030f70300bd2be35b279ae24a131f8e | |
parent | 5e3c3a7ecefefaebc7c9a626fe4522cb85bbdaad [diff] |
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>