diff options
-rw-r--r-- | fs/ceph/super.c | 1 | ||||
-rw-r--r-- | fs/ceph/super.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/fs/ceph/super.c b/fs/ceph/super.c index 7f7d4759a44..ab950fce417 100644 --- a/fs/ceph/super.c +++ b/fs/ceph/super.c | |||
@@ -327,6 +327,7 @@ static int parse_mount_args(struct ceph_client *client, | |||
327 | args->mount_timeout = CEPH_MOUNT_TIMEOUT_DEFAULT; /* seconds */ | 327 | args->mount_timeout = CEPH_MOUNT_TIMEOUT_DEFAULT; /* seconds */ |
328 | args->caps_wanted_delay_min = CEPH_CAPS_WANTED_DELAY_MIN_DEFAULT; | 328 | args->caps_wanted_delay_min = CEPH_CAPS_WANTED_DELAY_MIN_DEFAULT; |
329 | args->caps_wanted_delay_max = CEPH_CAPS_WANTED_DELAY_MAX_DEFAULT; | 329 | args->caps_wanted_delay_max = CEPH_CAPS_WANTED_DELAY_MAX_DEFAULT; |
330 | args->rsize = CEPH_MOUNT_RSIZE_DEFAULT; | ||
330 | args->snapdir_name = kstrdup(CEPH_SNAPDIRNAME_DEFAULT, GFP_KERNEL); | 331 | args->snapdir_name = kstrdup(CEPH_SNAPDIRNAME_DEFAULT, GFP_KERNEL); |
331 | args->cap_release_safety = CEPH_CAPS_PER_RELEASE * 4; | 332 | args->cap_release_safety = CEPH_CAPS_PER_RELEASE * 4; |
332 | args->max_readdir = 1024; | 333 | args->max_readdir = 1024; |
diff --git a/fs/ceph/super.h b/fs/ceph/super.h index 0bbf58ab607..75556e97e86 100644 --- a/fs/ceph/super.h +++ b/fs/ceph/super.h | |||
@@ -69,7 +69,7 @@ struct ceph_mount_args { | |||
69 | * defaults | 69 | * defaults |
70 | */ | 70 | */ |
71 | #define CEPH_MOUNT_TIMEOUT_DEFAULT 60 | 71 | #define CEPH_MOUNT_TIMEOUT_DEFAULT 60 |
72 | #define CEPH_MOUNT_RSIZE_DEFAULT (128*1024) /* readahead */ | 72 | #define CEPH_MOUNT_RSIZE_DEFAULT (512*1024) /* readahead */ |
73 | 73 | ||
74 | #define CEPH_MSG_MAX_FRONT_LEN (16*1024*1024) | 74 | #define CEPH_MSG_MAX_FRONT_LEN (16*1024*1024) |
75 | #define CEPH_MSG_MAX_DATA_LEN (16*1024*1024) | 75 | #define CEPH_MSG_MAX_DATA_LEN (16*1024*1024) |