]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
common: add an option for specifying cpu cores on which alienstore will run
authorXuehan Xu <xxhdx1985126@gmail.com>
Tue, 2 Mar 2021 05:04:55 +0000 (13:04 +0800)
committerxuxuehan xuxuehan <xuxuehan@cephqa01.cpp.zll.qianxin-inc.cn>
Tue, 16 Mar 2021 02:32:06 +0000 (10:32 +0800)
Signed-off-by: Xuehan Xu <xxhdx1985126@gmail.com>
src/common/options.cc

index f3c3f077686c8226484707384e26ca31a2b0247d..1361a642a856a8b230b4a4c69af4da57e6a72930 100644 (file)
@@ -5610,6 +5610,9 @@ std::vector<Option> get_global_options() {
     .set_flag(Option::FLAG_STARTUP)
     .set_description("The number of threads for serving alienized ObjectStore"),
 
+    Option("crimson_alien_thread_cpu_cores", Option::TYPE_STR, Option::LEVEL_ADVANCED)
+    .set_description("Cpu cores on which alienstore threads will run"),
+
     // ----------------------------
     // blk specific options
     Option("bdev_type", Option::TYPE_STR, Option::LEVEL_ADVANCED)