Files
linux/drivers/md
Ming Lei 2e102fe86e dm mpath: return DM_MAPIO_REQUEUE on blk-mq rq allocation failure
[ Upstream commit 050af08ffb ]

blk-mq will rerun queue via RESTART or dispatch wake after one request
is completed, so not necessary to wait random time for requeuing, we
should trust blk-mq to do it.

More importantly, we need to return BLK_STS_RESOURCE to blk-mq so that
dequeuing from the I/O scheduler can be stopped, this results in
improved I/O merging.

Signed-off-by: Ming Lei <ming.lei@redhat.com>
Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2018-04-26 11:02:07 +02:00
..
2016-11-01 09:43:26 -06:00
2017-06-09 09:27:32 -06:00
2007-10-20 02:01:26 +01:00
2017-06-09 09:27:32 -06:00
2017-09-27 20:07:40 -07:00
2018-02-25 11:07:57 +01:00
2018-02-25 11:07:57 +01:00