Whamcloud - gitweb
EX-6468 pcc: add threshold to determine direct I/O during attach
authorQian Yingjin <qian@ddn.com>
Wed, 30 Nov 2022 14:29:47 +0000 (09:29 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Tue, 13 Dec 2022 18:51:07 +0000 (18:51 +0000)
commit21364e040ca2c4d9ad3025a51ff2cc5afca2132f
tree59d105c8aeb32f3342a7a6da8c923d0159a7140d
parent0842298b02477ce6ad0c1535487833dac4e32c34
EX-6468 pcc: add threshold to determine direct I/O during attach

This patch adds the threshold tunable parameter to determine doing
direct I/O or buffered I/O for data copying during attach:
llite.*.pcc_dio_attach_threshold
The default value is same as direct I/O size: 32MiB.

And the usage of the parameter "pcc_dio_attach_size_mb" is
deprecated, and use "pcc_dio_attach_iosize_mb" instead.

Change-Id: I393d6a06523303e749192ba9978449c3d75886ae
Signed-off-by: Qian Yingjin <qian@ddn.com>
Reviewed-on: https://review.whamcloud.com/c/ex/lustre-release/+/49286
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Feng Lei <flei@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/llite/lproc_llite.c
lustre/llite/pcc.c
lustre/llite/pcc.h
lustre/tests/sanity-pcc.sh