From: Matt Benjamin Date: Mon, 27 Apr 2020 23:07:47 +0000 (-0400) Subject: rgw: nfs: disable gc, lc, quota, and sync threads by default X-Git-Tag: v16.1.0~2298^2~4 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=ccff9f122b94e25f1c6947cbc08a51577ccc6431;p=ceph.git rgw: nfs: disable gc, lc, quota, and sync threads by default These can be overridden by new options, should a site decide to run a librgw with no radosgw instances. Signed-off-by: Matt Benjamin --- diff --git a/src/common/legacy_config_opts.h b/src/common/legacy_config_opts.h index 847991b3cff0..a34e2b630400 100644 --- a/src/common/legacy_config_opts.h +++ b/src/common/legacy_config_opts.h @@ -1275,6 +1275,11 @@ OPTION(rgw_enable_quota_threads, OPT_BOOL) OPTION(rgw_enable_gc_threads, OPT_BOOL) OPTION(rgw_enable_lc_threads, OPT_BOOL) +/* overrides for librgw/nfs */ +OPTION(rgw_nfs_run_gc_threads, OPT_BOOL) +OPTION(rgw_nfs_run_lc_threads, OPT_BOOL) +OPTION(rgw_nfs_run_quota_threads, OPT_BOOL) +OPTION(rgw_nfs_run_sync_thread, OPT_BOOL) OPTION(rgw_data, OPT_STR) OPTION(rgw_enable_apis, OPT_STR) diff --git a/src/common/options.cc b/src/common/options.cc index 016a5c32638d..118e2edfb6f9 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5936,6 +5936,22 @@ std::vector