NFSv4: Clean up some shutdown loops
authorBenjamin Coddington <bcodding@redhat.com>
Thu, 15 Jun 2023 18:07:32 +0000 (14:07 -0400)
committerTrond Myklebust <trond.myklebust@hammerspace.com>
Mon, 19 Jun 2023 19:09:25 +0000 (15:09 -0400)
commit6ad477a69ad81bcdd515559fba2887ae71c9c0cc
tree5909d68ee80732527aea515776214f522d04a5bc
parent7d3e26a054c88477b26adda3542d66271a943968
NFSv4: Clean up some shutdown loops

If a SEQUENCE call receives -EIO for a shutdown client, it will retry the
RPC call.  Instead of doing that for a shutdown client, just bail out.

Likewise, if the state manager decides to perform recovery for a shutdown
client, it will continuously retry.  As above, just bail out.

Signed-off-by: Benjamin Coddington <bcodding@redhat.com>
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
fs/nfs/nfs4proc.c
fs/nfs/nfs4state.c