aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
diff options
context:
space:
mode:
authorMing Lei <ming.lei@redhat.com>2018-01-11 14:01:56 +0800
committerMike Snitzer <snitzer@redhat.com>2018-01-17 09:16:17 -0500
commit050af08ffb1b62af69196d61c22a0755f9a3cdbd (patch)
treeecb7779a5e70a907d74fd1134cd8d5dc7ab617cf /drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c
parent4b259fc4a8a12dcd0ffd670877a7a1ca2ab0f3e3 (diff)
dm mpath: return DM_MAPIO_REQUEUE on blk-mq rq allocation failure
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>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_cs.c')
0 files changed, 0 insertions, 0 deletions