Whamcloud - gitweb
LU-8017 obd: report correct health state of a node 37/19537/3
authorJames Simmons <uja.ornl@yahoo.com>
Fri, 29 Apr 2016 16:47:38 +0000 (12:47 -0400)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 8 May 2016 17:40:26 +0000 (17:40 +0000)
commitc28933602a6971739cb5ec3a1e920409ff19b01e
treede816f05aab372e8784c22d87398b8c7d87898d5
parent75f01f8bdff757a89c80aa4f0cc61608b9ff56e5
LU-8017 obd: report correct health state of a node

The patch 16933 that changed the handling of seq_printf
to work with newer kernels introduced a bug in the proc
file that reports the health of a node. The original
code returned immediately after a healthy state was
reported but the bug prevented the immediate return
so a false unhealthy state was always reported instead.

Change-Id: I414d43d59f0df413ea955acf74c91d2402543228
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: http://review.whamcloud.com/19537
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Frank Zago <fzago@cray.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/obdclass/linux/linux-module.c
lustre/tests/test-framework.sh