aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2023-06-21 13:22:08 +0000
committerJens Axboe <[email protected]>2023-06-21 13:48:34 +0000
commit2293cae703cda162684ae966db6b1b4a11b5e88f (patch)
treed37e301832e0d3233580d72dbc98f618bd389ff7 /fs/btrfs/dev-replace.c
parentbsg: make bsg_class a static const structure (diff)
downloadkernel-2293cae703cda162684ae966db6b1b4a11b5e88f.tar.gz
kernel-2293cae703cda162684ae966db6b1b4a11b5e88f.zip
blk-mq: don't insert passthrough request into sw queue
In case of real io scheduler, q->elevator is set, so blk_mq_run_hw_queue() may just check if scheduler queue has request to dispatch, see __blk_mq_sched_dispatch_requests(). Then IO hang may be caused because all passthorugh requests may stay in sw queue. And any passthrough request should have been inserted to hctx->dispatch always. Reported-by: Guangwu Zhang <[email protected]> Fixes: d97217e7f024 ("blk-mq: don't queue plugged passthrough requests into scheduler") Signed-off-by: Ming Lei <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions