diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2011-05-04 13:27:45 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2011-05-04 13:27:45 +0000 |
commit | e2f2b370894125e3c7c7fecbaf0f419d59c30184 (patch) | |
tree | 4b861261899defb3fa31ca5958853bd86a0388d8 /sys/nfsclient/nfsargs.h | |
parent | 785b257239573064de706f134bcdaf9965d8b1fc (diff) | |
download | src-e2f2b370894125e3c7c7fecbaf0f419d59c30184.tar.gz src-e2f2b370894125e3c7c7fecbaf0f419d59c30184.zip |
Implemented a mount option "nocto" that disables cache coherency
checking at open time. It may improve performance for read-only
NFS mounts. Use deliberately.
MFC after: 1 week
Reviewed by: rmacklem, jhb (earlier version)
Notes
Notes:
svn path=/head/; revision=221436
Diffstat (limited to 'sys/nfsclient/nfsargs.h')
-rw-r--r-- | sys/nfsclient/nfsargs.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/nfsclient/nfsargs.h b/sys/nfsclient/nfsargs.h index a46677a92f43..f71a5550ed5c 100644 --- a/sys/nfsclient/nfsargs.h +++ b/sys/nfsclient/nfsargs.h @@ -97,5 +97,6 @@ struct nfs_args { #define NFSMNT_PRIVACY 0x04000000 /* Use privacy with RPCSEC_GSS */ #define NFSMNT_ALLGSSNAME 0x08000000 /* Use principal for all accesses */ #define NFSMNT_STRICT3530 0x10000000 /* Adhere strictly to RFC3530 */ +#define NFSMNT_NOCTO 0x20000000 /* Don't flush attrcache on open */ #endif |