aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorMing Lei <[email protected]>2020-10-30 02:42:53 +0000
committerJens Axboe <[email protected]>2020-10-30 14:33:49 +0000
commit65ff5cd04551daf2c11c7928e48fc3483391c900 (patch)
tree93d6db0e0473214a2837b0099771ca6bed8725c1 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentlib/scatterlist: use consistent sg_copy_buffer() return type (diff)
downloadkernel-65ff5cd04551daf2c11c7928e48fc3483391c900.tar.gz
kernel-65ff5cd04551daf2c11c7928e48fc3483391c900.zip
blk-mq: mark flush request as IDLE in flush_end_io()
Mark flush request as IDLE in its .end_io(), aligning it with how normal requests behave. The flush request stays in in-flight tags if we're not using an IO scheduler, so we need to change its state into IDLE. Otherwise, we will hang in blk_mq_tagset_wait_completed_request() during error recovery because flush the request state is kept as COMPLETED. Reported-by: Yi Zhang <[email protected]> Signed-off-by: Ming Lei <[email protected]> Tested-by: Yi Zhang <[email protected]> Cc: Chao Leng <[email protected]> Cc: Sagi Grimberg <[email protected]> Signed-off-by: Jens Axboe <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions