Blame SOURCES/nfs-utils-2.3.3-nfsman-softreval.patch

981ed7
commit b5381c96298d75ba66625a007e2390e2b501850d
981ed7
Author: Trond Myklebust <trond.myklebust@hammerspace.com>
981ed7
Date:   Wed Jan 29 10:45:39 2020 -0500
981ed7
981ed7
    manpage: Add a description of the 'softreval' / 'nosoftreval' mount option
981ed7
    
981ed7
    Add a description of the 'softreval' / 'nosoftreval' mount options on
981ed7
    the 'nfs' generic manpage.
981ed7
    
981ed7
    Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
981ed7
    Signed-off-by: Steve Dickson <steved@redhat.com>
981ed7
981ed7
diff --git a/utils/mount/nfs.man b/utils/mount/nfs.man
981ed7
index 84462cd7..6f79c63a 100644
981ed7
--- a/utils/mount/nfs.man
981ed7
+++ b/utils/mount/nfs.man
981ed7
@@ -121,6 +121,36 @@ option may mitigate some of the risks of using the
981ed7
 .B soft
981ed7
 option.
981ed7
 .TP 1.5i
981ed7
+.BR softreval " / " nosoftreval
981ed7
+In cases where the NFS server is down, it may be useful to
981ed7
+allow the NFS client to continue to serve up paths and
981ed7
+attributes from cache after
981ed7
+.B retrans
981ed7
+attempts to revalidate that cache have timed out.
981ed7
+This may, for instance, be helpful when trying to unmount a
981ed7
+filesystem tree from a server that is permanently down.
981ed7
+.IP
981ed7
+It is possible to combine
981ed7
+.BR softreval
981ed7
+with the
981ed7
+.B soft
981ed7
+mount option, in which case operations that cannot be served up
981ed7
+from cache will time out and return an error after
981ed7
+.B retrans
981ed7
+attempts. The combination with the default
981ed7
+.B hard
981ed7
+mount option implies those uncached operations will continue to
981ed7
+retry until a response is received from the server.
981ed7
+.IP
981ed7
+Note: the default mount option is
981ed7
+.BR nosoftreval
981ed7
+which disallows fallback to cache when revalidation fails, and
981ed7
+instead follows the behavior dictated by the
981ed7
+.B hard
981ed7
+or
981ed7
+.B soft
981ed7
+mount option.
981ed7
+.TP 1.5i
981ed7
 .BR intr " / " nointr
981ed7
 This option is provided for backward compatibility.
981ed7
 It is ignored after kernel 2.6.25.