aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/md/dm-rq.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2018-01-11 14:01:55 +0800
committerMike Snitzer <snitzer@redhat.com>2018-01-17 09:16:18 -0500
commit459b54019cfeb7330ed4863ad40f78489e0ff23d (patch)
treeb700bef3cc4f480d11eca83888081a044c302b5a /drivers/md/dm-rq.c
parentdm mpath: return DM_MAPIO_REQUEUE on blk-mq rq allocation failure (diff)
downloadlinux-dev-459b54019cfeb7330ed4863ad40f78489e0ff23d.tar.xz
linux-dev-459b54019cfeb7330ed4863ad40f78489e0ff23d.zip
dm mpath: return DM_MAPIO_DELAY_REQUEUE if QUEUE_IO or PG_INIT_REQUIRED
Avoid using DM_MAPIO_REQUEUE unless absolutely necessary because it results in dm-rq.c:dm_mq_queue_rq() returning BLK_STS_RESOURCE to blk-mq -- doing so should only ever be done if the underlying queue is out of resources. So switch to returning DM_MAPIO_DELAY_REQUEUE from multipath_clone_and_map() if either MPATHF_QUEUE_IO or MPATHF_PG_INIT_REQUIRED are set. Signed-off-by: Ming Lei <ming.lei@redhat.com> Signed-off-by: Mike Snitzer <snitzer@redhat.com>
Diffstat (limited to 'drivers/md/dm-rq.c')
0 files changed, 0 insertions, 0 deletions