summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.h
diff options
context:
space:
mode:
authorSage Weil2009-10-16 23:44:35 +0200
committerSage Weil2009-10-16 23:44:43 +0200
commit8fa9765576875200a7412a5300b5f0537211f038 (patch)
tree1d6417a0d6731e905dc0cffb09506f1796e58f71 /fs/ceph/super.h
parentceph: move dirty caps code around (diff)
downloadkernel-qcow2-linux-8fa9765576875200a7412a5300b5f0537211f038.tar.gz
kernel-qcow2-linux-8fa9765576875200a7412a5300b5f0537211f038.tar.xz
kernel-qcow2-linux-8fa9765576875200a7412a5300b5f0537211f038.zip
ceph: enable readahead
Initialized bdi->ra_pages to enable readahead. Use 512KB default. Signed-off-by: Sage Weil <sage@newdream.net>
Diffstat (limited to 'fs/ceph/super.h')
-rw-r--r--fs/ceph/super.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/ceph/super.h b/fs/ceph/super.h
index 0bbf58ab607e..75556e97e865 100644
--- a/fs/ceph/super.h
+++ b/fs/ceph/super.h
@@ -69,7 +69,7 @@ struct ceph_mount_args {
* defaults
*/
#define CEPH_MOUNT_TIMEOUT_DEFAULT 60
-#define CEPH_MOUNT_RSIZE_DEFAULT (128*1024) /* readahead */
+#define CEPH_MOUNT_RSIZE_DEFAULT (512*1024) /* readahead */
#define CEPH_MSG_MAX_FRONT_LEN (16*1024*1024)
#define CEPH_MSG_MAX_DATA_LEN (16*1024*1024)