summaryrefslogtreecommitdiffstats
path: root/src/common/options.cc
diff options
context:
space:
mode:
authorAdam C. Emerson <aemerson@redhat.com>2020-11-21 21:45:12 +0100
committerAdam C. Emerson <aemerson@redhat.com>2021-03-29 18:25:58 +0200
commitda6223d281e33e43fa74c50f4d0eedb5ac25ace4 (patch)
treebecdfddf5fc5fb89faf384c7f3cef9a0fe65fcef /src/common/options.cc
parentrgw: Factor out tool to deal with different log backing (diff)
downloadceph-da6223d281e33e43fa74c50f4d0eedb5ac25ace4.tar.xz
ceph-da6223d281e33e43fa74c50f4d0eedb5ac25ace4.zip
rgw: Use refactored log backing tools
Signed-off-by: Adam C. Emerson <aemerson@redhat.com>
Diffstat (limited to 'src/common/options.cc')
-rw-r--r--src/common/options.cc16
1 files changed, 7 insertions, 9 deletions
diff --git a/src/common/options.cc b/src/common/options.cc
index 56186d4385d..13d70e37db7 100644
--- a/src/common/options.cc
+++ b/src/common/options.cc
@@ -7409,17 +7409,15 @@ std::vector<Option> get_rgw_options() {
.add_see_also("rgw_dmclock_metadata_res")
.add_see_also("rgw_dmclock_metadata_wgt"),
- Option("rgw_data_log_backing", Option::TYPE_STR, Option::LEVEL_ADVANCED)
- .set_default("auto")
- .set_enum_allowed( { "auto", "fifo", "omap" } )
- .set_description("Backing store for the RGW data sync log")
+ Option("rgw_default_data_log_backing", Option::TYPE_STR, Option::LEVEL_ADVANCED)
+ .set_default("fifo")
+ .set_enum_allowed( { "fifo", "omap" } )
+ .set_description("Default backing store for the RGW data sync log")
.set_long_description(
"Whether to use the older OMAP backing store or the high performance "
- "FIFO based backing store. Auto uses whatever already exists "
- "but will default to FIFO if there isn't an existing log. Either of "
- "the explicit options will cause startup to fail if the other log is "
- "still around."),
-
+ "FIFO based backing store by default. This only covers the creation of "
+ "the log on startup if none exists."),
+
Option("rgw_luarocks_location", Option::TYPE_STR, Option::LEVEL_ADVANCED)
.set_flag(Option::FLAG_STARTUP)
#ifdef WITH_RADOSGW_LUA_PACKAGES