Skip to contentSkip to conversation

nfs(5): adding new mount option 'fasc'

PATCH Superseded Chengen Du 1 participant 1 message Jul 10, 2023

Subsystems (2)

v2 of 3 Superseded Latest is v3 →

lore
Share & tools
lore

Chengen Du

author
#0 lore raw

PATCH v2 1/1 nfs(5): adding new mount option 'fasc'

Add an option that triggers the clearing of the file access cache as soon as the cache timestamp becomes older than the user's login time.

---
 utils/mount/nfs.man | 14 ++++++++++++++
 1 file changed, 14 insertions(+)
utils/mount/nfs.man +14 -0
index 0b976731..c9848838 100644
@@ -568,6 +568,7 @@ The
 .B sloppy
 option is an alternative to specifying
 .BR mount.nfs " -s " option.
+
 .TP 1.5i
 .BI xprtsec= policy
 Specifies the use of transport layer security to protect NFS network
@@ -623,6 +624,19 @@ unstable WRITE to the NFS server.  If
 .B wait
 is specified, then the NFS client sends off the write immediately as an
 unstable WRITE to the NFS server and then waits for the reply.
+.TP 1.5i
+.BI fasc
+Triggers the clearing of the file access cache as soon as the cache 
+timestamp becomes older than the user's login time. It is supported 
+in kernels 6.4 and later.
+.IP
+NFS servers often refresh their users' group membership at their 
+own cadence, which means the NFS client's file access cache can 
+become stale if the user's group membership changes on the server 
+after they've logged in on the client. To align with the principles 
+of the POSIX design, which only refreshes the user's supplementary 
+group information upon login, the mechanism uses the user's login 
+time to determine whether the file access cache needs to be refreshed.
 .SS "Options for NFS versions 2 and 3 only"
 Use these options, along with the options in the above subsection,
 for NFS versions 2 and 3 only.
Signature · 1 line
2.39.2