commit | 1f460b63d4b37f504d8d0affc2cd492eb005ea97 | [log] [tgz] |
---|---|---|
author | Ming Lei <ming.lei@redhat.com> | Fri Oct 27 12:43:30 2017 +0800 |
committer | Jens Axboe <axboe@kernel.dk> | Wed Nov 01 08:20:34 2017 -0600 |
tree | 829611af2a709a83ac018bf6c1d083e2fde02659 | |
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>