aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2023-06-21 21:22:08 +0800
committerJens Axboe <[email protected]>2023-06-21 07:48:34 -0600
commit2293cae703cda162684ae966db6b1b4a11b5e88f (patch)
treed37e301832e0d3233580d72dbc98f618bd389ff7 /scripts/gdb
parent72ef02b8dfa009029fa713e8a731a92d27d14e35 (diff)
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 'scripts/gdb')
0 files changed, 0 insertions, 0 deletions