From 387834bae9bd9fac26fccadde85328f9db730be0 Mon Sep 17 00:00:00 2001 From: Radoslaw Zarzynski Date: Mon, 1 Feb 2021 14:59:49 +0100 Subject: [PATCH] crimson: make the number of alien threads configurable. It's particularly important for reads to have large-enough thread pool in `AlienStore` as they are synchronous; that is, e.g. `BlueStore` blocks on IO when handling reads. This commit introduces a configurable allowing operators to increase the number from `1` which we were limited to before the change. Naming similarity with `osd_op_num_threads_per_shard` is intentional. Signed-off-by: Radoslaw Zarzynski --- src/common/options.cc | 5 +++++ src/crimson/os/alienstore/alien_store.cc | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/common/options.cc b/src/common/options.cc index 2cfe188a8f64f..e8cbcf2ab8e63 100644 --- a/src/common/options.cc +++ b/src/common/options.cc @@ -5519,6 +5519,11 @@ std::vector