1 From: Suresh Jayaraman <sjayaraman@suse.de>
2 Subject: [RFC][PATCH 01/10] cifs: add kernel config option for CIFS Client caching support
3 Date: Tue, 22 Jun 2010 20:52:38 +0530
5 Message-ID: <1277220158-3405-1-git-send-email-sjayaraman@suse.de>
7 Cc: linux-cifs@vger.kernel.org, linux-fsdevel@vger.kernel.org,
8 linux-kernel@vger.kernel.org, David Howells <dhowells@redhat.com>
9 To: Steve French <smfrench@gmail.com>
10 X-From: linux-kernel-owner@vger.kernel.org Tue Jun 22 17:43:27 2010
11 Return-path: <linux-kernel-owner@vger.kernel.org>
12 Envelope-to: glk-linux-kernel-3@lo.gmane.org
13 Received: from vger.kernel.org ([209.132.180.67])
14 by lo.gmane.org with esmtp (Exim 4.69)
15 (envelope-from <linux-kernel-owner@vger.kernel.org>)
17 for glk-linux-kernel-3@lo.gmane.org; Tue, 22 Jun 2010 17:43:26 +0200
18 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
19 id S1751536Ab0FVPnS (ORCPT <rfc822;glk-linux-kernel-3@m.gmane.org>);
20 Tue, 22 Jun 2010 11:43:18 -0400
21 Received: from victor.provo.novell.com ([137.65.250.26]:51303 "EHLO
22 victor.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
23 with ESMTP id S1750800Ab0FVPnR (ORCPT
24 <rfc822;groupwise-SJayaraman@novell.com:0:0>);
25 Tue, 22 Jun 2010 11:43:17 -0400
26 Received: from localhost (prv-ext-foundry1int.gns.novell.com [137.65.251.240])
27 by victor.provo.novell.com with ESMTP; Tue, 22 Jun 2010 09:22:40 -0600
28 X-Mailer: git-send-email 1.6.4.2
30 Sender: linux-kernel-owner@vger.kernel.org
32 List-ID: <linux-kernel.vger.kernel.org>
33 X-Mailing-List: linux-kernel@vger.kernel.org
34 Archived-At: <http://permalink.gmane.org/gmane.linux.kernel/1001757>
36 Add a kernel config option to enable local caching for CIFS.
38 Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
40 fs/cifs/Kconfig | 9 +++++++++
41 1 files changed, 9 insertions(+), 0 deletions(-)
43 diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
44 index 80f3525..5739fd7 100644
47 @@ -131,6 +131,15 @@ config CIFS_DFS_UPCALL
48 IP addresses) which is needed for implicit mounts of DFS junction
49 points. If unsure, say N.
52 + bool "Provide CIFS client caching support (EXPERIMENTAL)"
53 + depends on EXPERIMENTAL
54 + depends on CIFS=m && FSCACHE || CIFS=y && FSCACHE=y
56 + Makes CIFS FS-Cache capable. Say Y here if you want your CIFS data
57 + to be cached locally on disk through the general filesystem cache
58 + manager. If unsure, say N.
60 config CIFS_EXPERIMENTAL
61 bool "CIFS Experimental Features (EXPERIMENTAL)"
62 depends on CIFS && EXPERIMENTAL