Skip to content

Commit 3694b91

Browse files
Suresh JayaramanSteve French
authored andcommitted
cifs: update README to include details about 'fsc' option
Signed-off-by: Suresh Jayaraman <[email protected]> Signed-off-by: Steve French <[email protected]>
1 parent 5af568c commit 3694b91

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

fs/cifs/README

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,16 @@ A partial list of the supported mount options follows:
301301
gid Set the default gid for inodes (similar to above).
302302
file_mode If CIFS Unix extensions are not supported by the server
303303
this overrides the default mode for file inodes.
304+
fsc Enable local disk caching using FS-Cache (off by default). This
305+
option could be useful to improve performance on a slow link,
306+
heavily loaded server and/or network where reading from the
307+
disk is faster than reading from the server (over the network).
308+
This could also impact scalability positively as the
309+
number of calls to the server are reduced. However, local
310+
caching is not suitable for all workloads for e.g. read-once
311+
type workloads. So, you need to consider carefully your
312+
workload/scenario before using this option. Currently, local
313+
disk caching is functional for CIFS files opened as read-only.
304314
dir_mode If CIFS Unix extensions are not supported by the server
305315
this overrides the default mode for directory inodes.
306316
port attempt to contact the server on this tcp port, before

0 commit comments

Comments
 (0)