X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Fllite%2Flproc_llite.c;h=de3907a8888815c340279ab5e67eac11c9af36c3;hb=2f14e1230b500f17de4f0c02e2865f49c2f41bcb;hp=de1eefb7e917865ff6ff20274b7b9c79306f2267;hpb=934ed595e3e1e24086e26435ad59dc1058d2926d;p=fs%2Flustre-release.git diff --git a/lustre/llite/lproc_llite.c b/lustre/llite/lproc_llite.c index de1eefb..de3907a 100644 --- a/lustre/llite/lproc_llite.c +++ b/lustre/llite/lproc_llite.c @@ -563,10 +563,18 @@ static int ll_rd_statahead_stats(char *page, char **start, off_t off, struct ll_sb_info *sbi = ll_s2sbi(sb); return snprintf(page, count, + "statahead wrong: %u\n" "statahead total: %u\n" - "statahead wrong: %u\n", - atomic_read(&sbi->ll_sa_total), - atomic_read(&sbi->ll_sa_wrong)); + "ls blocked: %llu\n" + "ls cached: %llu\n" + "hit count: %llu\n" + "miss count: %llu\n", + sbi->ll_sa_wrong, + sbi->ll_sa_total, + sbi->ll_sa_blocked, + sbi->ll_sa_cached, + sbi->ll_sa_hit, + sbi->ll_sa_miss); } static int ll_rd_lazystatfs(char *page, char **start, off_t off,