diff options
author | Ming Lei <ming.lei@redhat.com> | 2018-07-22 14:10:15 +0800 |
---|---|---|
committer | Jens Axboe <axboe@kernel.dk> | 2018-07-22 17:31:18 -0600 |
commit | 8824f62246bef288173a6624a363352f0d4d3b09 (patch) | |
tree | a1915be97fb62de050a796f449a027661b7d06df /drivers/block/Makefile | |
parent | 22f17952c7873a427e6e4280d723c0f686d75fb9 (diff) |
blk-mq: fail the request in case issue failure
Inside blk_mq_try_issue_list_directly(), if the request is issued as
failed, we shouldn't try to do it again, otherwise the warning in
blk_mq_start_request() will be triggered. This change is aligned to
behaviour of other ways of request issue & dispatch.
Fixes: 6ce3dd6eec1 ("blk-mq: issue directly if hw queue isn't busy in case of 'none'")
Cc: Kashyap Desai <kashyap.desai@broadcom.com>
Cc: Laurence Oberman <loberman@redhat.com>
Cc: Omar Sandoval <osandov@fb.com>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Bart Van Assche <bart.vanassche@wdc.com>
Cc: Hannes Reinecke <hare@suse.de>
Cc: Kashyap Desai <kashyap.desai@broadcom.com>
Cc: kernel test robot <rong.a.chen@intel.com>
Cc: LKP <lkp@01.org>
Reported-by: kernel test robot <rong.a.chen@intel.com>
Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'drivers/block/Makefile')
0 files changed, 0 insertions, 0 deletions