]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC: r324506
authorrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 4 Nov 2017 21:30:27 +0000 (21:30 +0000)
committerrmacklem <rmacklem@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Sat, 4 Nov 2017 21:30:27 +0000 (21:30 +0000)
commit831c916cc34f3a2547a21a255989c52dcb321778
tree5f3050b99aa9edca1177f823efba37f096dd9f42
parentdde8e35f6df67b8e3dad4c7ac66a5598896efed6
MFC: r324506
Fix forced dismount when a pNFS mount is hung on a DS.

When a "pnfs" NFSv4.1 mount is hung because of an unresponsive DS,
a forced dismount wouldn't work, because the RPC socket for the DS
was not being closed. This patch fixes this.
This will only affect "pnfs" mounts where the pNFS server's DS
is unresponsive (crashed or network partitioned or...).
Found during testing of the pNFS server.

git-svn-id: svn://svn.freebsd.org/base/stable/10@325407 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/fs/nfs/nfs_commonkrpc.c
sys/fs/nfs/nfsclstate.h