aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorFred Isaman <[email protected]>2016-09-30 18:37:41 +0000
committerTrond Myklebust <[email protected]>2016-12-09 02:49:57 +0000
commit65990d1afbd2d6fc23c6ecbd6f1899aa760a024f (patch)
tree3a18ac67020a08d0e7aec06158902b10f0644c4f /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentpNFS: Layoutreturn must free the layout after the layout-private data (diff)
downloadkernel-65990d1afbd2d6fc23c6ecbd6f1899aa760a024f.tar.gz
kernel-65990d1afbd2d6fc23c6ecbd6f1899aa760a024f.zip
pNFS/flexfiles: Fix a deadlock on LAYOUTGET
We encountered a deadlock where the SEQUENCE that accompanied the LAYOUTGET triggered a session drain, while ff_layout_alloc_lseg triggered a GETDEVICEINFO. The GETDEVICEINFO hung waiting for the session drain, while the LAYOUTGET held the slot waiting for alloc_lseg to finish. Avoid this by moving the call to nfs4_find_get_deviceid out of ff_layout_alloc_lseg and into nfs4_ff_layout_prepare_ds. Signed-off-by: Fred Isaman <[email protected]> [[email protected]: pNFS/flexfiles: fix races in ff_layout_mirror_valid] Signed-off-by: Weston Andros Adamson <[email protected]> Signed-off-by: Trond Myklebust <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions