mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-12-18 07:24:51 +01:00
68 lines
2.6 KiB
Text
68 lines
2.6 KiB
Text
|
From: Suresh Jayaraman <sjayaraman@suse.de>
|
||
|
Subject: [RFC][PATCH 01/10] cifs: add kernel config option for CIFS Client caching support
|
||
|
Date: Tue, 22 Jun 2010 20:52:38 +0530
|
||
|
Lines: 30
|
||
|
Message-ID: <1277220158-3405-1-git-send-email-sjayaraman@suse.de>
|
||
|
References: <yes>
|
||
|
Cc: linux-cifs@vger.kernel.org, linux-fsdevel@vger.kernel.org,
|
||
|
linux-kernel@vger.kernel.org, David Howells <dhowells@redhat.com>
|
||
|
To: Steve French <smfrench@gmail.com>
|
||
|
X-From: linux-kernel-owner@vger.kernel.org Tue Jun 22 17:43:27 2010
|
||
|
Return-path: <linux-kernel-owner@vger.kernel.org>
|
||
|
Envelope-to: glk-linux-kernel-3@lo.gmane.org
|
||
|
Received: from vger.kernel.org ([209.132.180.67])
|
||
|
by lo.gmane.org with esmtp (Exim 4.69)
|
||
|
(envelope-from <linux-kernel-owner@vger.kernel.org>)
|
||
|
id 1OR5dG-0007m9-Ij
|
||
|
for glk-linux-kernel-3@lo.gmane.org; Tue, 22 Jun 2010 17:43:26 +0200
|
||
|
Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand
|
||
|
id S1751536Ab0FVPnS (ORCPT <rfc822;glk-linux-kernel-3@m.gmane.org>);
|
||
|
Tue, 22 Jun 2010 11:43:18 -0400
|
||
|
Received: from victor.provo.novell.com ([137.65.250.26]:51303 "EHLO
|
||
|
victor.provo.novell.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org
|
||
|
with ESMTP id S1750800Ab0FVPnR (ORCPT
|
||
|
<rfc822;groupwise-SJayaraman@novell.com:0:0>);
|
||
|
Tue, 22 Jun 2010 11:43:17 -0400
|
||
|
Received: from localhost (prv-ext-foundry1int.gns.novell.com [137.65.251.240])
|
||
|
by victor.provo.novell.com with ESMTP; Tue, 22 Jun 2010 09:22:40 -0600
|
||
|
X-Mailer: git-send-email 1.6.4.2
|
||
|
In-Reply-To: <yes>
|
||
|
Sender: linux-kernel-owner@vger.kernel.org
|
||
|
Precedence: bulk
|
||
|
List-ID: <linux-kernel.vger.kernel.org>
|
||
|
X-Mailing-List: linux-kernel@vger.kernel.org
|
||
|
Archived-At: <http://permalink.gmane.org/gmane.linux.kernel/1001757>
|
||
|
|
||
|
Add a kernel config option to enable local caching for CIFS.
|
||
|
|
||
|
Signed-off-by: Suresh Jayaraman <sjayaraman@suse.de>
|
||
|
---
|
||
|
fs/cifs/Kconfig | 9 +++++++++
|
||
|
1 files changed, 9 insertions(+), 0 deletions(-)
|
||
|
|
||
|
diff --git a/fs/cifs/Kconfig b/fs/cifs/Kconfig
|
||
|
index 80f3525..5739fd7 100644
|
||
|
--- a/fs/cifs/Kconfig
|
||
|
+++ b/fs/cifs/Kconfig
|
||
|
@@ -131,6 +131,15 @@ config CIFS_DFS_UPCALL
|
||
|
IP addresses) which is needed for implicit mounts of DFS junction
|
||
|
points. If unsure, say N.
|
||
|
|
||
|
+config CIFS_FSCACHE
|
||
|
+ bool "Provide CIFS client caching support (EXPERIMENTAL)"
|
||
|
+ depends on EXPERIMENTAL
|
||
|
+ depends on CIFS=m && FSCACHE || CIFS=y && FSCACHE=y
|
||
|
+ help
|
||
|
+ Makes CIFS FS-Cache capable. Say Y here if you want your CIFS data
|
||
|
+ to be cached locally on disk through the general filesystem cache
|
||
|
+ manager. If unsure, say N.
|
||
|
+
|
||
|
config CIFS_EXPERIMENTAL
|
||
|
bool "CIFS Experimental Features (EXPERIMENTAL)"
|
||
|
depends on CIFS && EXPERIMENTAL
|
||
|
--
|
||
|
1.6.4.2
|
||
|
|
||
|
|
||
|
|