summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2011-03-10 13:33:26 -0800
committerSage Weil <sage@newdream.net>2011-03-21 12:24:23 -0700
commit80456f8672f7e69d05c01627da03587dc1ea1603 (patch)
tree8351eb6c340a54357fc38df32335a87afefd875f /fs/ceph/super.h
parentad1fee96cbaf873520064252c5dc3212c9844861 (diff)
downloadop-kernel-dev-80456f8672f7e69d05c01627da03587dc1ea1603.zip
op-kernel-dev-80456f8672f7e69d05c01627da03587dc1ea1603.tar.gz
ceph: move readahead default to fs/ceph from libceph
Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r--fs/ceph/super.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index 5405c90..619fe71 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -36,6 +36,7 @@
#define ceph_test_mount_opt(fsc, opt) \
(!!((fsc)->mount_options->flags & CEPH_MOUNT_OPT_##opt))
+#define CEPH_RSIZE_DEFAULT (512*1024) /* readahead */
#define CEPH_MAX_READDIR_DEFAULT 1024
#define CEPH_MAX_READDIR_BYTES_DEFAULT (512*1024)
#define CEPH_SNAPDIRNAME_DEFAULT ".snap"
OpenPOWER on IntegriCloud