From 576541ff22d4f4f4433db139ed53aadb0b54a00a Mon Sep 17 00:00:00 2001 From: Keith Mannthey Date: Thu, 14 Mar 2013 17:41:02 -0700 Subject: [PATCH 1/1] LU-2902 test: Debug for roc_hit v1 This will output all the stats and help sort out what is happening on the systems. I would like to know what the proc values are the roc_hit is blank. More debug may be needed but I want to start here. This patch should be dropped when LU-2902 is closed. I have used this patch with auster without issue it just added noise to the test results. Signed-off-by: Keith Mannthey Change-Id: I3efe9aa87e8c51909667f9fbc3b9c2d6779d8d0d Reviewed-on: http://review.whamcloud.com/5648 Tested-by: Hudson Reviewed-by: Nathaniel Clark Tested-by: Maloo Reviewed-by: Bob Glossman Reviewed-by: Andreas Dilger --- lustre/tests/sanity.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lustre/tests/sanity.sh b/lustre/tests/sanity.sh index bd7753a..6c4ce0a 100644 --- 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)) - + #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}') } -- 1.8.3.1