summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2025-01-14 17:09:24 -0500
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-04-10 14:44:48 +0200
commit094462af693f5b3e46ee77a09ff6a42db18215b7 (patch)
treeae03c1b395e9913da23bfa9b1da9eb876b73e763 /tools
parenta9d4c12fb07f6eb8b64c5c8589df517870c818db (diff)
downloadlinux-094462af693f5b3e46ee77a09ff6a42db18215b7.tar.gz
linux-094462af693f5b3e46ee77a09ff6a42db18215b7.tar.bz2
linux-094462af693f5b3e46ee77a09ff6a42db18215b7.zip
NFSD: Skip sending CB_RECALL_ANY when the backchannel isn't up
commit 8a388c1fabeb6606e16467b23242416c0dbeffad upstream. NFSD sends CB_RECALL_ANY to clients when the server is low on memory or that client has a large number of delegations outstanding. We've seen cases where NFSD attempts to send CB_RECALL_ANY requests to disconnected clients, and gets confused. These calls never go anywhere if a backchannel transport to the target client isn't available. Before the server can send any backchannel operation, the client has to connect first and then do a BIND_CONN_TO_SESSION. This patch doesn't address the root cause of the confusion, but there's no need to queue up these optional operations if they can't go anywhere. Fixes: 44df6f439a17 ("NFSD: add delegation reaper to react to low memory condition") Reviewed-by: Jeff Layton <jlayton@kernel.org> Cc: stable@vger.kernel.org Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions