summaryrefslogtreecommitdiffstats
path: root/fs/ceph/super.c
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.c
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.c')
-rw-r--r--fs/ceph/super.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c
index 7f7d4759a443..ab950fce4172 100644
--- a/fs/ceph/super.c
+++ b/fs/ceph/super.c
@@ -327,6 +327,7 @@ static int parse_mount_args(struct ceph_client *client,
args->mount_timeout = CEPH_MOUNT_TIMEOUT_DEFAULT; /* seconds */
args->caps_wanted_delay_min = CEPH_CAPS_WANTED_DELAY_MIN_DEFAULT;
args->caps_wanted_delay_max = CEPH_CAPS_WANTED_DELAY_MAX_DEFAULT;
+ args->rsize = CEPH_MOUNT_RSIZE_DEFAULT;
args->snapdir_name = kstrdup(CEPH_SNAPDIRNAME_DEFAULT, GFP_KERNEL);
args->cap_release_safety = CEPH_CAPS_PER_RELEASE * 4;
args->max_readdir = 1024;