From mboxrd@z Thu Jan 1 00:00:00 1970 From: Suresh Jayaraman Subject: [PATCH] cifs: document 'fsc' mount option Date: Tue, 27 Jul 2010 19:20:00 +0530 Message-ID: <4C4EE408.7070109@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: linux-cifs-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Jeff Layton , Steve French Return-path: Sender: linux-cifs-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org List-ID: Document the newly added local caching feature using FS-Cache. This patch could be queued and considered once the local caching patches gets merged upstream. Signed-off-by: Suresh Jayaraman --- doc/mount.cifs.8.xml | 17 +++++++++++++++++ 1 files changed, 17 insertions(+), 0 deletions(-) diff --git a/doc/mount.cifs.8.xml b/doc/mount.cifs.8.xml index 4937550..2200746 100644 --- a/doc/mount.cifs.8.xml +++ b/doc/mount.cifs.8.xml @@ -534,6 +534,23 @@ permissions in memory that can't be stored on the server. This information can d maximum wsize currently allowed by CIFS is 57344 (fourteen 4096 byte pages) + + fsc + + Enable local disk caching using FS-Cache + for cifs. This option could be useful to improve performance + on a slow link, heavily loaded server and/or network + where reading from the disk is faster than reading from the + server (over the network). This could also impact the + scalability positively as the number of calls to the server + are reduced. But, be warned that local caching is not suitable + for all workloads, for e.g., read-once type workloads. So + you need to consider carefully the situation/workload before + using this option. + NOTE: You also need to have cachefilesd daemon installed and + running to make the cache operational. + + --verbose Print additional debugging information for the mount. Note that this parameter must be specified before the -o. For example:mount -t cifs //server/share /mnt --verbose -o user=username