From 1dbe2a37074d1a7824f02424cd5d2f0ae8af8f5e Mon Sep 17 00:00:00 2001 From: songweibin Date: Thu, 31 Aug 2017 18:45:21 +0800 Subject: [PATCH] common: drop unused variables "bluestore_csum_*_block" in opts Signed-off-by: songweibin --- src/common/legacy_config_opts.h | 2 -- src/common/options.cc | 13 ------------- 2 files changed, 15 deletions(-) diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index f680d68a92fbc..e2ab42ff64e7a 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1035,8 +1035,6 @@ OPTION(bluestore_block_wal_size, OPT_U64) // rocksdb wal OPTION(bluestore_block_wal_create, OPT_BOOL) OPTION(bluestore_block_preallocate_file, OPT_BOOL) //whether preallocate space if block/db_path/wal_path is file rather that block device. OPTION(bluestore_csum_type, OPT_STR) // none|xxhash32|xxhash64|crc32c|crc32c_16|crc32c_8 -OPTION(bluestore_csum_min_block, OPT_U32) -OPTION(bluestore_csum_max_block, OPT_U32) OPTION(bluestore_min_alloc_size, OPT_U32) OPTION(bluestore_min_alloc_size_hdd, OPT_U32) OPTION(bluestore_min_alloc_size_ssd, OPT_U32) diff --git a/src/common/options.cc b/src/common/options.cc index 13633d5708383..6dd71be8f64a5 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -3223,19 +3223,6 @@ std::vector