diff options
author | Pavel Shilovsky <piastryyy@gmail.com> | 2011-01-24 14:16:35 -0500 |
---|---|---|
committer | Steve French <sfrench@us.ibm.com> | 2011-01-25 19:31:38 +0000 |
commit | d39454ffe4a3c85428483b8a8a8e5e797b6363d5 (patch) | |
tree | 60d9762510ed6e1da338d5777827e18917e799bf /fs/cifs/README | |
parent | 72432ffcf555decbbae47f1be338e1d2f210aa69 (diff) | |
download | lwn-d39454ffe4a3c85428483b8a8a8e5e797b6363d5.tar.gz lwn-d39454ffe4a3c85428483b8a8a8e5e797b6363d5.zip |
CIFS: Add strictcache mount option
Use for switching on strict cache mode. In this mode the
client reads from the cache all the time it has Oplock Level II,
otherwise - read from the server. As for write - the client stores
a data in the cache in Exclusive Oplock case, otherwise - write
directly to the server.
Signed-off-by: Pavel Shilovsky <piastryyy@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'fs/cifs/README')
-rw-r--r-- | fs/cifs/README | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fs/cifs/README b/fs/cifs/README index 46af99ab3614..fe1683590828 100644 --- a/fs/cifs/README +++ b/fs/cifs/README @@ -452,6 +452,11 @@ A partial list of the supported mount options follows: if oplock (caching token) is granted and held. Note that direct allows write operations larger than page size to be sent to the server. + strictcache Use for switching on strict cache mode. In this mode the + client read from the cache all the time it has Oplock Level II, + otherwise - read from the server. All written data are stored + in the cache, but if the client doesn't have Exclusive Oplock, + it writes the data to the server. acl Allow setfacl and getfacl to manage posix ACLs if server supports them. (default) noacl Do not allow setfacl and getfacl calls on this mount |