From: Keith Mannthey Date: Fri, 15 Mar 2013 00:41:02 +0000 (-0700) Subject: LU-2902 test: Debug for roc_hit v1 X-Git-Tag: 2.3.63~38 X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=commitdiff_plain;h=576541ff22d4f4f4433db139ed53aadb0b54a00a 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 --- 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}') }