Whamcloud - gitweb
LU-17216 ofd: make enable_health_write tunable 82/52782/14
authorTimothy Day <timday@amazon.com>
Sat, 21 Oct 2023 19:11:42 +0000 (19:11 +0000)
committerOleg Drokin <green@whamcloud.com>
Wed, 29 Nov 2023 21:28:46 +0000 (21:28 +0000)
commite383791b1ca45ea14f38c98b9ff55faf7590ef30
tree1d33f542784d14c7e07c81ecb7b432775b82be79
parent3fcddf6dcdd92df6557c59913a61944f21d58615
LU-17216 ofd: make enable_health_write tunable

enable_health_write should be tunable rather than a
compilation option. This allows us to test it more
easily and gives admins the option to try it out
without having to recompile their Lustre servers.
It will still be disabled by default.

Add sanity/70 test to run a simple check to ensure
enable_health_write and health_check don't explode.
It's not a thorough check. But it at least checks
that the interfaces appear to work.

Signed-off-by: Timothy Day <timday@amazon.com>
Change-Id: I7b1832f8acf578b891386e28c5af760070a6862c
Reviewed-on: https://review.whamcloud.com/c/fs/lustre-release/+/52782
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
autoMakefile.am
debian/rules
lustre/autoconf/lustre-core.m4
lustre/include/obd_support.h
lustre/obdclass/obd_sysfs.c
lustre/ofd/ofd_obd.c
lustre/tests/sanity.sh