diff options
| author | Dai Ngo <[email protected]> | 2025-01-30 19:01:27 +0000 |
|---|---|---|
| committer | Chuck Lever <[email protected]> | 2025-02-10 18:31:16 +0000 |
| commit | 036ac2778f7b28885814c6fbc07e156ad1624d03 (patch) | |
| tree | 92cf910c99cdd588fd1fbbccaac4147a5a45ff8c /scripts/generate_rust_target.rs | |
| parent | nfsd: fix __fh_verify for localio (diff) | |
| download | kernel-036ac2778f7b28885814c6fbc07e156ad1624d03.tar.gz kernel-036ac2778f7b28885814c6fbc07e156ad1624d03.zip | |
NFSD: fix hang in nfsd4_shutdown_callback
If nfs4_client is in courtesy state then there is no point to send
the callback. This causes nfsd4_shutdown_callback to hang since
cl_cb_inflight is not 0. This hang lasts about 15 minutes until TCP
notifies NFSD that the connection was dropped.
This patch modifies nfsd4_run_cb_work to skip the RPC call if
nfs4_client is in courtesy state.
Signed-off-by: Dai Ngo <[email protected]>
Fixes: 66af25799940 ("NFSD: add courteous server support for thread with only delegation")
Cc: [email protected]
Reviewed-by: Jeff Layton <[email protected]>
Signed-off-by: Chuck Lever <[email protected]>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions
