Whamcloud - gitweb
LU-6399 pcc: add tunable parameter for PCC attach thread
authorQian Yingjin <qian@ddn.com>
Wed, 16 Nov 2022 09:26:33 +0000 (04:26 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Sat, 19 Nov 2022 17:32:34 +0000 (17:32 +0000)
commit9c2d58d5ab6c414c243406796f0baa9e93ec9c7e
treef99c9fd61602b70ab47ebf9f780f46839290995a
parenteae3dbffd9624959eef8a1c153f0ff2fddc2f63d
LU-6399 pcc: add tunable parameter for PCC attach thread

Currently the max number of kernel threads doing asynchronous
attach is a hard code value (1024 by default).
In this patch, we make it a tunable parameter:
llite.*.pcc_max_attach_thread_num

Change-Id: Ic59c15af935dd8dff586fa6be3939d4322c136d5
Signed-off-by: Qian Yingjin <qian@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49168
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/llite/lproc_llite.c
lustre/llite/pcc.h