From: Kefu Chai Date: Tue, 19 Sep 2017 11:16:24 +0000 (+0800) Subject: osdc/Journaler: use new style options X-Git-Tag: v13.0.1~828^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=5c8e65a2a467c05a194fa02c2e9ea746d0fd00a8;p=ceph.git osdc/Journaler: use new style options also use uint64_t for these options, as they are casted to uint64_t when reading from conf. Signed-off-by: Kefu Chai --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 098a00c1363..24c3f99ce3e 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -424,9 +424,6 @@ OPTION(filer_max_purge_ops, OPT_U32) // Max number of truncate at once in a single Filer::truncate call OPTION(filer_max_truncate_ops, OPT_U32) -OPTION(journaler_write_head_interval, OPT_INT) -OPTION(journaler_prefetch_periods, OPT_INT) // * journal object size -OPTION(journaler_prezero_periods, OPT_INT) // * journal object size OPTION(mds_data, OPT_STR) OPTION(mds_max_file_size, OPT_U64) // Used when creating new CephFS. Change with 'ceph mds set max_file_size ' afterwards // max xattr kv pairs size for each dir/file diff --git a/src/common/options.cc b/src/common/options.cc index 115c9758401..7e3e171d3c4 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -1543,12 +1543,18 @@ std::vector