diff options
author | Kotresh HR <khiremat@redhat.com> | 2020-02-03 18:10:17 +0530 |
---|---|---|
committer | Kotresh HR <khiremat@redhat.com> | 2020-02-07 12:00:19 +0530 |
commit | 8fad76650bd85463708f59d2518f5b764ae4c702 (patch) | |
tree | e72357381dffcdeb2d08fa59bca805eec21664c2 /xlators/features/bit-rot/src/stub/bit-rot-stub-mem-types.h | |
parent | 2dbbdc92be205d12901ce2770570bbcb17040838 (diff) |
bitrot: Make number of signer threads configurable
The number of signing process threads (glfs_brpobj)
is set to 4 by default. The recommendation is to set
it to number of cores available. This patch makes it
configurable as follows
gluster vol bitrot <volname> signer-threads <count>
fixes: bz#1797869
Change-Id: Ia883b3e5e34e0bc8d095243508d320c9c9c58adc
Signed-off-by: Kotresh HR <khiremat@redhat.com>
Diffstat (limited to 'xlators/features/bit-rot/src/stub/bit-rot-stub-mem-types.h')
-rw-r--r-- | xlators/features/bit-rot/src/stub/bit-rot-stub-mem-types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xlators/features/bit-rot/src/stub/bit-rot-stub-mem-types.h b/xlators/features/bit-rot/src/stub/bit-rot-stub-mem-types.h index 40bcda110e6..9d93caf069f 100644 --- a/xlators/features/bit-rot/src/stub/bit-rot-stub-mem-types.h +++ b/xlators/features/bit-rot/src/stub/bit-rot-stub-mem-types.h @@ -29,6 +29,7 @@ enum br_mem_types { gf_br_stub_mt_sigstub_t, gf_br_mt_br_child_event_t, gf_br_stub_mt_misc, + gf_br_mt_br_worker_t, gf_br_stub_mt_end, }; |