]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson: make the number of alien threads configurable. 39205/head
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 1 Feb 2021 13:59:49 +0000 (14:59 +0100)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Mon, 1 Feb 2021 14:22:05 +0000 (15:22 +0100)
commit387834bae9bd9fac26fccadde85328f9db730be0
treef264b476d2f7d31c3dae84993a0c46aa91f8716f
parent72cc819b3aa47cdb684577be1f33021aa9fd2faf
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 <rzarzyns@redhat.com>
src/common/options.cc
src/crimson/os/alienstore/alien_store.cc