Whamcloud - gitweb
EX-3715 pcc: add stats for attach|detach|auto_attach
authorQian Yingjin <qian@ddn.com>
Fri, 27 Aug 2021 03:46:13 +0000 (11:46 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 1 Sep 2021 15:30:12 +0000 (15:30 +0000)
commita8674b29dc661d44b51433c7b308abd2b6053b45
treef44424db30bb0862b731899b5d90fcd058d9bfc5
parentf782cc27b78030852d7109c471c619395fce9a7c
EX-3715 pcc: add stats for attach|detach|auto_attach

In this patch, we add stats for PCC attach, detach and
auto_attach.
With this feature, we verify that PCC can auto-attach the file
into PCC cache without having to re-fetch the data of the whole
file.
Add sanity-pcc test_44.

Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Ia0c1cd6b414998e72859aaf34c125b5a4e4e743c
Reviewed-on: https://review.whamcloud.com/44764
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Yang Sheng <ys@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lustre/llite/llite_internal.h
lustre/llite/lproc_llite.c
lustre/llite/pcc.c
lustre/tests/sanity-pcc.sh