Whamcloud - gitweb
git://git.whamcloud.com
/
fs
/
lustre-release.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LU-7486 obdclass: health_check to report unhealthy upon LBUG
[fs/lustre-release.git]
/
lustre
/
obdclass
/
linux
/
linux-module.c
diff --git
a/lustre/obdclass/linux/linux-module.c
b/lustre/obdclass/linux/linux-module.c
index
fbe459f
..
37cbd24
100644
(file)
--- a/
lustre/obdclass/linux/linux-module.c
+++ b/
lustre/obdclass/linux/linux-module.c
@@
-245,8
+245,10
@@
static int obd_proc_health_seq_show(struct seq_file *m, void *data)
bool healthy = true;
int i;
- if (libcfs_catastrophe)
+ if (libcfs_catastrophe)
{
seq_printf(m, "LBUG\n");
+ healthy = false;
+ }
read_lock(&obd_dev_lock);
for (i = 0; i < class_devno_max(); i++) {