Whamcloud - gitweb
EX-4408 lipe: collect some statistic data with lpcc_purge
authorLei Feng <flei@whamcloud.com>
Fri, 24 Dec 2021 06:10:47 +0000 (01:10 -0500)
committerAndreas Dilger <adilger@whamcloud.com>
Wed, 9 Mar 2022 17:42:28 +0000 (17:42 +0000)
commit24a26fb3b203adcc7f26381b2cd3f66bae8668e9
tree174b7f55787b2391d3461ce43964c64a3d769b78
parentc8210e24ded0922dc08b0667c3a4ca9f22f817f4
EX-4408 lipe: collect some statistic data with lpcc_purge

Collect the number of cached files, min/max/avg file size,
min/max/avg age of files in LPCC. Scan cache device forcefully
even if it is not full enough to collect the statistics data
in time.

Change-Id: Id716d4689c83ecc5754e41734e44e7c051d36a8e
Signed-off-by: Lei Feng <flei@whamcloud.com>
Test-Parameters: trivial testlist=sanity-pcc
Reviewed-on: https://review.whamcloud.com/45937
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
lipe/lpcc
lipe/lpcc.conf
lipe/man/lpcc.conf.5
lipe/src/lpcc_purge.c