aboutsummaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorGravatar Chuck Lever <chuck.lever@oracle.com> 2023-12-16 11:57:43 -0500
committerGravatar Chuck Lever <chuck.lever@oracle.com> 2023-12-18 11:22:16 -0500
commit862bee84d77fa01cc8929656ae77781abf917863 (patch)
treed7d05caae5c9b58be90ccb1e5ba7877203bf8b78 /net
parentnfsd: hold nfsd_mutex across entire netlink operation (diff)
downloadlinux-862bee84d77fa01cc8929656ae77781abf917863.tar.gz
linux-862bee84d77fa01cc8929656ae77781abf917863.tar.bz2
linux-862bee84d77fa01cc8929656ae77781abf917863.zip
For some reason, the wait_on_bit() in nfsd4_deleg_getattr_conflict() is waiting forever, preventing a clean server shutdown. The requesting client might also hang waiting for a reply to the conflicting GETATTR. Invoking wait_on_bit() in an nfsd thread context is a hazard. The correct fix is to replace this wait_on_bit() call site with a mechanism that defers the conflicting GETATTR until the CB_GETATTR completes or is known to have failed. That will require some surgery and extended testing and it's late in the v6.7-rc cycle, so I'm reverting now in favor of trying again in a subsequent kernel release. This is my fault: I should have recognized the ramifications of calling wait_on_bit() in here before accepting this patch. Thanks to Dai Ngo <dai.ngo@oracle.com> for diagnosing the issue. Reported-by: Wolfgang Walter <linux-nfs@stwm.de> Closes: https://lore.kernel.org/linux-nfs/e3d43ecdad554fbdcaa7181833834f78@stwm.de/ Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions