Whamcloud - gitweb
LU-8066 obd: make health_check sysfs compliant 31/25631/7
authorJames Simmons <uja.ornl@yahoo.com>
Fri, 15 Mar 2019 18:10:42 +0000 (14:10 -0400)
committerOleg Drokin <green@whamcloud.com>
Mon, 1 Apr 2019 07:23:34 +0000 (07:23 +0000)
commit5d368bd0b203aee8011426fd147fad3e42ac9f7f
tree24257613b3418ea7d521d03a4ea3035779c2bd1e
parent0a773f04b28860c3748f9f1460818b8461c96ad1
LU-8066 obd: make health_check sysfs compliant

The patch http://review.whamcloud.com/16721 was
ported to the upstream client but was rejected
since it violating the sysfs one item rule. Change
the reporting of LBUG plus unhealthy to just
reporting LBUG. Move the reporting of which device
is unhealthy to a new debugfs file that mirrors
the sysfs file.

Change-Id: Ie1640399e97902272000313bb7ccdcbd2be6daf6
Signed-off-by: James Simmons <uja.ornl@yahoo.com>
Reviewed-on: https://review.whamcloud.com/25631
Tested-by: Jenkins
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Emoly Liu <emoly@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/obdclass/obd_sysfs.c
lustre/utils/lustre_cfg.c