Chuck Lever c6f2a8146d 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>
2025-04-10 14:39:40 +02:00
..
2024-07-15 11:14:59 -07:00
2024-09-16 09:14:02 +02:00
2024-10-17 00:28:06 -07:00
2025-01-23 17:22:54 +01:00
2024-12-14 20:04:14 +01:00
2025-02-08 09:56:51 +01:00
2024-05-28 11:52:53 +02:00
2025-01-23 17:22:55 +01:00
2024-08-21 22:32:58 +02:00
2024-04-23 13:27:43 +02:00
2025-03-22 12:54:15 -07:00
2024-10-02 12:02:15 -07:00
2024-08-29 06:20:44 +12:00
2023-05-17 09:16:59 +02:00
2024-09-16 08:35:09 +02:00
2024-12-05 14:02:47 +01:00
2023-08-21 13:46:25 -07:00
2023-10-19 11:02:47 +02:00
2024-08-28 13:05:39 +02:00
2024-09-24 15:29:42 -07:00
2025-01-17 13:40:50 +01:00
2024-09-27 08:18:43 -07:00
2024-09-27 18:29:19 +02:00
2024-09-27 08:18:43 -07:00
2023-05-19 04:30:22 +02:00
2024-05-02 16:28:20 +02:00