svn commit: r317417 - stable/11/sys/fs/nfs
Rick Macklem
rmacklem at FreeBSD.org
Tue Apr 25 19:02:36 UTC 2017
Author: rmacklem
Date: Tue Apr 25 19:02:34 2017
New Revision: 317417
URL: https://svnweb.freebsd.org/changeset/base/317417
Log:
MFC: r316666
Fix the NFSv4.1 client for NFSERR_BADSESSION recovery via ReclaimComplete.
For the ReclaimComplete operation, the RPC layer should not loop on
NFSERR_BADSESSION. If it does, the recovery thread (nfscl) can get stuck
looping and will not do a recovery.
This patch fixes it so it does not loop. This bug only affects NFSv4.1 and
only when a server reboots.
Modified:
stable/11/sys/fs/nfs/nfs_commonsubs.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/fs/nfs/nfs_commonsubs.c
==============================================================================
--- stable/11/sys/fs/nfs/nfs_commonsubs.c Tue Apr 25 18:08:56 2017 (r317416)
+++ stable/11/sys/fs/nfs/nfs_commonsubs.c Tue Apr 25 19:02:34 2017 (r317417)
@@ -148,7 +148,7 @@ struct nfsv4_opflag nfsv4_opflag[NFSV41_
{ 0, 0, 0, 0, LK_EXCLUSIVE, 1, 1 }, /* Test StateID */
{ 0, 0, 0, 0, LK_EXCLUSIVE, 1, 1 }, /* Want Delegation */
{ 0, 0, 0, 0, LK_EXCLUSIVE, 0, 0 }, /* Destroy ClientID */
- { 0, 0, 0, 0, LK_EXCLUSIVE, 1, 1 }, /* Reclaim Complete */
+ { 0, 0, 0, 0, LK_EXCLUSIVE, 1, 0 }, /* Reclaim Complete */
};
#endif /* !APPLEKEXT */
More information about the svn-src-stable-11
mailing list