aboutsummaryrefslogtreecommitdiffstats
path: root/fs/jbd2/commit.c
diff options
context:
space:
mode:
authorAndrew Elble <[email protected]>2017-11-03 18:06:31 +0000
committerJ. Bruce Fields <[email protected]>2017-11-07 21:44:02 +0000
commit95da1b3a5aded124dd1bda1e3cdb876184813140 (patch)
tree6764bb8c88390cdfc1cdee2733b3be6767e3e9e2 /fs/jbd2/commit.c
parentsvcrdma: Enqueue after setting XPT_CLOSE in completion handlers (diff)
downloadkernel-95da1b3a5aded124dd1bda1e3cdb876184813140.tar.gz
kernel-95da1b3a5aded124dd1bda1e3cdb876184813140.zip
nfsd: deal with revoked delegations appropriately
If a delegation has been revoked by the server, operations using that delegation should error out with NFS4ERR_DELEG_REVOKED in the >4.1 case, and NFS4ERR_BAD_STATEID otherwise. The server needs NFSv4.1 clients to explicitly free revoked delegations. If the server returns NFS4ERR_DELEG_REVOKED, the client will do that; otherwise it may just forget about the delegation and be unable to recover when it later sees SEQ4_STATUS_RECALLABLE_STATE_REVOKED set on a SEQUENCE reply. That can cause the Linux 4.1 client to loop in its stage manager. Signed-off-by: Andrew Elble <[email protected]> Reviewed-by: Trond Myklebust <[email protected]> Cc: [email protected] Signed-off-by: J. Bruce Fields <[email protected]>
Diffstat (limited to 'fs/jbd2/commit.c')
0 files changed, 0 insertions, 0 deletions