aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
diff options
context:
space:
mode:
authorYihao Wu <[email protected]>2019-05-13 06:58:22 +0000
committerAnna Schumaker <[email protected]>2019-05-30 19:51:07 +0000
commitba851a39c9703f09684a541885ed176f8fb7c868 (patch)
treed3b3da1cb56a5fac1005fadccd3b391e7ab2ee76 /drivers/gpu/drm/amd/amdgpu/amdgpu_device.c
parentNFSv4.1: Again fix a race where CB_NOTIFY_LOCK fails to wake a waiter (diff)
downloadkernel-ba851a39c9703f09684a541885ed176f8fb7c868.tar.gz
kernel-ba851a39c9703f09684a541885ed176f8fb7c868.zip
NFSv4.1: Fix bug only first CB_NOTIFY_LOCK is handled
When a waiter is waked by CB_NOTIFY_LOCK, it will retry nfs4_proc_setlk(). The waiter may fail to nfs4_proc_setlk() and sleep again. However, the waiter is already removed from clp->cl_lock_waitq when handling CB_NOTIFY_LOCK in nfs4_wake_lock_waiter(). So any subsequent CB_NOTIFY_LOCK won't wake this waiter anymore. We should put the waiter back to clp->cl_lock_waitq before retrying. Cc: [email protected] #4.9+ Signed-off-by: Yihao Wu <[email protected]> Reviewed-by: Jeff Layton <[email protected]> Signed-off-by: Anna Schumaker <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_device.c')
0 files changed, 0 insertions, 0 deletions