Whamcloud - gitweb
LU-10499 pcc: add stats for attach|detach|auto_attach 18/54418/7
authorQian Yingjin <qian@ddn.com>
Fri, 27 Aug 2021 03:46:13 +0000 (11:46 +0800)
committerOleg Drokin <green@whamcloud.com>
Sat, 13 Jul 2024 20:52:40 +0000 (20:52 +0000)
commit7b2443ce2b2fe754d8fbdfff1d3458a3fd9270b2
tree55f6be819a632b36b8da180695eccce1e64d653b
parent31128f8f4e01a2351772d3de4daf78f12a5f44ab
LU-10499 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.

EX-bug-id: EX-3715
Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Ia0c1cd6b414998e72859aaf34c125b5a4e4e743c
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/54418
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: James Simmons <jsimmons@infradead.org>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/llite/llite_internal.h
lustre/llite/lproc_llite.c
lustre/llite/pcc.c
lustre/tests/sanity-pcc.sh