aboutsummaryrefslogtreecommitdiff
path: root/fs/ceph/Kconfig
diff options
context:
space:
mode:
authorGravatar Milosz Tanski <milosz@adfin.com> 2013-08-21 17:29:54 -0400
committerGravatar Milosz Tanski <milosz@adfin.com> 2013-09-06 16:50:11 +0000
commit99ccbd229cf7453206bc858e795ec1f0345ff258 (patch)
tree343ab082d154d7c970d90bf44c9887fdb0251cdb /fs/ceph/Kconfig
parentMerge tag 'fscache-fixes-for-ceph' into wip-fscache (diff)
downloadlinux-99ccbd229cf7453206bc858e795ec1f0345ff258.tar.gz
linux-99ccbd229cf7453206bc858e795ec1f0345ff258.tar.bz2
linux-99ccbd229cf7453206bc858e795ec1f0345ff258.zip
ceph: use fscache as a local presisent cache
Adding support for fscache to the Ceph filesystem. This would bring it to on par with some of the other network filesystems in Linux (like NFS, AFS, etc...) In order to mount the filesystem with fscache the 'fsc' mount option must be passed. Signed-off-by: Milosz Tanski <milosz@adfin.com> Signed-off-by: Sage Weil <sage@inktank.com>
Diffstat (limited to 'fs/ceph/Kconfig')
-rw-r--r--fs/ceph/Kconfig9
1 files changed, 9 insertions, 0 deletions
diff --git a/fs/ceph/Kconfig b/fs/ceph/Kconfig
index 49bc78243db9..ac9a2ef5bb9b 100644
--- a/fs/ceph/Kconfig
+++ b/fs/ceph/Kconfig
@@ -16,3 +16,12 @@ config CEPH_FS
If unsure, say N.
+if CEPH_FS
+config CEPH_FSCACHE
+ bool "Enable Ceph client caching support"
+ depends on CEPH_FS=m && FSCACHE || CEPH_FS=y && FSCACHE=y
+ help
+ Choose Y here to enable persistent, read-only local
+ caching support for Ceph clients using FS-Cache
+
+endif