diff options
author | Jens Axboe <axboe@fb.com> | 2017-01-26 22:42:34 +0100 |
---|---|---|
committer | Jens Axboe <axboe@fb.com> | 2017-01-27 16:20:34 +0100 |
commit | 50e1dab86aa2c10cbca2f754aae9542169403141 (patch) | |
tree | 2e17cd0d604bf63d82e4f8838b57ec579690ca52 /block/mq-deadline.c | |
parent | blk-mq: release driver tag on a requeue event (diff) | |
download | linux-50e1dab86aa2c10cbca2f754aae9542169403141.tar.xz linux-50e1dab86aa2c10cbca2f754aae9542169403141.zip |
blk-mq-sched: fix starvation for multiple hardware queues and shared tags
If we have both multiple hardware queues and shared tag map between
devices, we need to ensure that we propagate the hardware queue
restart bit higher up. This is because we can get into a situation
where we don't have any IO pending on a hardware queue, yet we fail
getting a tag to start new IO. If that happens, it's not enough to
mark the hardware queue as needing a restart, we need to bubble
that up to the higher level queue as well.
Signed-off-by: Jens Axboe <axboe@fb.com>
Reviewed-by: Omar Sandoval <osandov@fb.com>
Tested-by: Hannes Reinecke <hare@suse.com>
Diffstat (limited to 'block/mq-deadline.c')
0 files changed, 0 insertions, 0 deletions