From patchwork Tue Jul 27 16:48:10 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Suresh Jayaraman X-Patchwork-Id: 114557 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o6RGmIxv014190 for ; Tue, 27 Jul 2010 16:48:18 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751887Ab0G0QsR (ORCPT ); Tue, 27 Jul 2010 12:48:17 -0400 Received: from cantor2.suse.de ([195.135.220.15]:57056 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751799Ab0G0QsR (ORCPT ); Tue, 27 Jul 2010 12:48:17 -0400 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) by mx2.suse.de (Postfix) with ESMTP id EECB686A2E; Tue, 27 Jul 2010 18:48:15 +0200 (CEST) Message-ID: <4C4F0DCA.2010604@suse.de> Date: Tue, 27 Jul 2010 22:18:10 +0530 From: Suresh Jayaraman User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.5) Gecko/20091130 SUSE/3.0.0-1.1.1 Thunderbird/3.0 MIME-Version: 1.0 To: Jeff Layton , Steve French Cc: linux-cifs@vger.kernel.org Subject: [PATCH] mount.cifs: document 'fsc' mount option Sender: linux-cifs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-cifs@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Tue, 27 Jul 2010 16:48:18 +0000 (UTC) diff --git a/doc/mount.cifs.8.xml b/doc/mount.cifs.8.xml index 4937550..af20c10 100644 --- a/doc/mount.cifs.8.xml +++ b/doc/mount.cifs.8.xml @@ -534,6 +534,26 @@ 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. Currently, local disk caching is enabled + for CIFS files opened as read-only. + NOTE: This feature is available only in the recent kernels + that have been built with the kernel config option + CONFIG_CIFS_FSCACHE. 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