diff options
author | 2025-02-09 07:31:25 -0500 | |
---|---|---|
committer | 2025-03-10 09:11:02 -0400 | |
commit | f049911b5b98feceb949430f33fb5d2c9c55833c (patch) | |
tree | 680213aca05470f663262fd087ab4744efc48d6e /scripts/lib/kdoc/kdoc_output.py | |
parent | nfsd: always release slot when requeueing callback (diff) | |
download | linux-rng-f049911b5b98feceb949430f33fb5d2c9c55833c.tar.xz linux-rng-f049911b5b98feceb949430f33fb5d2c9c55833c.zip |
nfsd: only check RPC_SIGNALLED() when restarting rpc_task
nfsd4_cb_sequence_done() currently checks RPC_SIGNALLED() when
processing the compound and releasing the slot. If RPC_SIGNALLED()
returns true, then that means that the client is going to be torn down.
Don't check RPC_SIGNALLED() after processing a successful reply. Check
it only before restarting the rpc_task. If it returns true, then requeue
the callback instead of restarting the task.
Also, handle rpc_restart_call() and rpc_restart_call_prepare() failures
correctly, by requeueing the callback.
Signed-off-by: Jeff Layton <jlayton@kernel.org>
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_output.py')
0 files changed, 0 insertions, 0 deletions