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
LU-2902 test: Debug for roc_hit v1
[fs/lustre-release.git]
/
lustre
/
tests
/
sanity.sh
diff --git
a/lustre/tests/sanity.sh
b/lustre/tests/sanity.sh
index
bd7753a
..
6c4ce0a
100644
(file)
--- a/
lustre/tests/sanity.sh
+++ b/
lustre/tests/sanity.sh
@@
-8444,7
+8444,8
@@
run_test 150 "truncate/append tests"
function roc_hit() {
local list=$(comma_list $(osts_nodes))
function roc_hit() {
local list=$(comma_list $(osts_nodes))
-
+ #debug temp debug for LU-2902: lets see what values we get back
+ echo $(get_osd_param $list '' stats) 1>&2
echo $(get_osd_param $list '' stats |
awk '/'cache_hit'/ {sum+=$2} END {print sum}')
}
echo $(get_osd_param $list '' stats |
awk '/'cache_hit'/ {sum+=$2} END {print sum}')
}