aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2018-08-02 17:49:37 +0000
committerJens Axboe <[email protected]>2018-08-02 20:47:20 +0000
commit2d5ba0e2de24ec87636244a01d4e78d095cc1b20 (patch)
tree8970694dec156944a15ade4c7862fe1ad641d719 /fs/btrfs/dev-replace.c
parentblock: reset bi_iter.bi_done after splitting bio (diff)
downloadkernel-2d5ba0e2de24ec87636244a01d4e78d095cc1b20.tar.gz
kernel-2d5ba0e2de24ec87636244a01d4e78d095cc1b20.zip
blk-mq: fix blk_mq_tagset_busy_iter
Commit d250bf4e776ff09d5("blk-mq: only iterate over inflight requests in blk_mq_tagset_busy_iter") uses 'blk_mq_rq_state(rq) == MQ_RQ_IN_FLIGHT' to replace 'blk_mq_request_started(req)', this way is wrong, and causes lots of test system hang during booting. Fix the issue by using blk_mq_request_started(req) inside bt_tags_iter(). Fixes: d250bf4e776ff09d5 ("blk-mq: only iterate over inflight requests in blk_mq_tagset_busy_iter") Cc: Josef Bacik <[email protected]> Cc: Christoph Hellwig <[email protected]> Cc: Guenter Roeck <[email protected]> Cc: Mark Brown <[email protected]> Cc: Matt Hart <[email protected]> Cc: Johannes Thumshirn <[email protected]> Cc: John Garry <[email protected]> Cc: Hannes Reinecke <[email protected]>, Cc: "Martin K. Petersen" <[email protected]>, Cc: James Bottomley <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-by: Bart Van Assche <[email protected]> Tested-by: Guenter Roeck <[email protected]> Reported-by: Mark Brown <[email protected]> Reported-by: Guenter Roeck <[email protected]> Signed-off-by: Ming Lei <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions