aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorSagi Grimberg <[email protected]>2020-10-22 02:15:23 +0000
committerChristoph Hellwig <[email protected]>2020-11-03 09:26:02 +0000
commitfdf58e02adecbef4c7cbb2073d8ea225e6fd5f26 (patch)
treeeb032fc5a131694d1f17c870cb9be4eebbcf9d6e /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentnvme-tcp: avoid race between time out and tear down (diff)
downloadkernel-fdf58e02adecbef4c7cbb2073d8ea225e6fd5f26.tar.gz
kernel-fdf58e02adecbef4c7cbb2073d8ea225e6fd5f26.zip
nvme-rdma: avoid repeated request completion
The request may be executed asynchronously, and rq->state may be changed to IDLE. To avoid repeated request completion, only MQ_RQ_COMPLETE of rq->state is checked in nvme_rdma_complete_timed_out. It is not safe, so need adding check IDLE for rq->state. Signed-off-by: Sagi Grimberg <[email protected]> Signed-off-by: Chao Leng <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions