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 <keith.mannthey@intel.com>
Change-Id: I3efe9aa87e8c51909667f9fbc3b9c2d6779d8d0d
Reviewed-on: http://review.whamcloud.com/5648
Tested-by: Hudson
Reviewed-by: Nathaniel Clark <nathaniel.l.clark@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
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}')
}