Whamcloud - gitweb
EX-3825 pcc: Check if PCC copy is unlinked for state output
authorQian Yingjin <qian@ddn.com>
Wed, 29 Sep 2021 03:35:30 +0000 (11:35 +0800)
committerAndreas Dilger <adilger@whamcloud.com>
Sun, 10 Oct 2021 22:03:30 +0000 (22:03 +0000)
commit063bb7b33ebe8df95b2449f01e314cbaa7e0ce91
tree354db650fe8cadf1525305894191a1263e5ef919
parentdeccd791c2c7dfbcdf28e5f80314b57ce6e2cd2a
EX-3825 pcc: Check if PCC copy is unlinked for state output

In this patch, it adds support for the command "lfs pcc state" to
check whether the PCC copy is in the local client cache or
unlinked improperly.

Test-Parameters: testlist=sanity-pcc env=ONLY=48
Signed-off-by: Qian Yingjin <qian@ddn.com>
Change-Id: Ic50c901df78adfaf5b56990120f832e5d74a117c
Reviewed-on: https://review.whamcloud.com/45082
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
lustre/include/uapi/linux/lustre/lustre_user.h
lustre/llite/pcc.c
lustre/tests/sanity-pcc.sh
lustre/utils/lfs.c