]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r316717
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 26 Apr 2017 22:53:29 +0000 (22:53 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 26 Apr 2017 22:53:29 +0000 (22:53 +0000)
commitebdb06845b6e42adcfb5d896802161549f0f24f4
treec749717e00c5c7d04f337ffcd261757d505714e0
parent2a5c8d770683d312bc673a0a4e688e99ba4e2920
MFC: r316717
During a server crash recovery, fix the NFSv4.1 client for a NFSERR_BADSESSION
during recovery.

If the NFSv4.1 client gets a NFSv4.1 NFSERR_BADSESSION reply to an Open/Lock
operation while recovering from the server crash/reboot, allow the opens
to be retained for a subsequent recovery attempt. Since NFSv4.1 servers
should only reply NFSERR_BADSESSION after a crash/reboot that has lost
state, this case should almost never happen.
However, for the AmazonEFS file service, this has been observed when
the client does a fresh TCP connection for RPCs.

git-svn-id: svn://svn.freebsd.org/base/stable/10@317474 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfsclient/nfs_clstate.c