Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Revert "b=15692 statahead should hold parent dir's i_mutex..."
[fs/lustre-release.git]
/
lustre
/
llite
/
lproc_llite.c
diff --git
a/lustre/llite/lproc_llite.c
b/lustre/llite/lproc_llite.c
index
de1eefb
..
de3907a
100644
(file)
--- 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,
struct ll_sb_info *sbi = ll_s2sbi(sb);
return snprintf(page, count,
+ "statahead wrong: %u\n"
"statahead total: %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,
}
static int ll_rd_lazystatfs(char *page, char **start, off_t off,