diff options
author | Ming Lei <ming.lei@redhat.com> | 2017-10-27 12:43:30 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2017-11-01 08:20:34 -0600 |
commit | 1f460b63d4b37f504d8d0affc2cd492eb005ea97 (patch) | |
tree | 829611af2a709a83ac018bf6c1d083e2fde02659 /block/ioctl.c | |
parent | 358a3a6bccb74da9d63a26b2dd5f09f1e9970e0b (diff) |
blk-mq: don't restart queue when .get_budget returns BLK_STS_RESOURCE
SCSI restarts its queue in scsi_end_request() automatically, so we don't
need to handle this case in blk-mq.
Especailly any request won't be dequeued in this case, we needn't to
worry about IO hang caused by restart vs. dispatch.
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'block/ioctl.c')
0 files changed, 0 insertions, 0 deletions