diff options
| author | Jens Axboe <[email protected]> | 2017-01-19 07:58:59 -0700 |
|---|---|---|
| committer | Jens Axboe <[email protected]> | 2017-01-19 08:01:55 -0700 |
| commit | 7e79dadce222e06e0c30a77280f3426014bee185 (patch) | |
| tree | 5bc0b38c2eec503758700cc29d85cfdac8866405 /scripts/gdb/linux/tasks.py | |
| parent | 8cecb07d70e761eb0112f921d939b9ab2ea2171f (diff) | |
blk-mq: stop hardware queue in blk_mq_delay_queue()
The run handler we register for the delayed work requires that the
queue be stopped, yet we leave that up to the caller. Let's move
it into blk_mq_delay_queue() itself, so that the API is sane.
This fixes a stall with SCSI, where it calls blk_mq_delay_queue()
without having stopped the queue. Hence the queue is never run.
Reported-by: Hannes Reinecke <[email protected]>
Fixes: 70f4db639c5b ("blk-mq: add blk_mq_delay_queue")
Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions