OPTION(mds_cache_mid, 0, OPT_FLOAT, .7),
OPTION(mds_mem_max, 0, OPT_INT, 1048576), // KB
OPTION(mds_dir_commit_ratio, 0, OPT_FLOAT, .5),
+ OPTION(mds_dir_max_commit_size, 0, OPT_INT, 90), // MB
OPTION(mds_decay_halflife, 0, OPT_FLOAT, 5),
OPTION(mds_beacon_interval, 0, OPT_FLOAT, 4),
OPTION(mds_beacon_grace, 0, OPT_FLOAT, 15),
float mds_cache_mid;
int mds_mem_max;
float mds_dir_commit_ratio;
+ int mds_dir_max_commit_size;
float mds_decay_halflife;
num_inodes_with_caps = 0;
num_caps = 0;
+ max_dir_commit_size = g_conf.mds_dir_max_commit_size ?
+ (g_conf.mds_dir_max_commit_size << 20) :
+ (0.9 *(g_conf.osd_max_write_size << 20));
+
discover_last_tid = 0;
last_cap_id = 0;
int num_inodes_with_caps;
int num_caps;
+ unsigned max_dir_commit_size;
+
ceph_file_layout default_file_layout;
ceph_file_layout default_log_layout;