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

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