summaryrefslogtreecommitdiff
path: root/fs/ceph/Kconfig
diff options
context:
space:
mode:
authorMilosz Tanski <milosz@adfin.com>2013-08-21 21:29:54 (GMT)
committerMilosz Tanski <milosz@adfin.com>2013-09-06 16:50:11 (GMT)
commit99ccbd229cf7453206bc858e795ec1f0345ff258 (patch)
tree343ab082d154d7c970d90bf44c9887fdb0251cdb /fs/ceph/Kconfig
parentcd0a2df681ec2af45f50c555c2a39dc92a4dff71 (diff)
downloadlinux-99ccbd229cf7453206bc858e795ec1f0345ff258.tar.xz
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 49bc782..ac9a2ef 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