Whamcloud - gitweb
LU-15873 obd: skip checking read-only fs health 95/48095/5
authorBobi Jam <bobijam@whamcloud.com>
Tue, 3 Nov 2020 09:04:01 +0000 (17:04 +0800)
committerOleg Drokin <green@whamcloud.com>
Thu, 1 Sep 2022 05:54:52 +0000 (05:54 +0000)
commitd54114d0c54f7d037ad1009f6db7081124c4c9b8
tree20ff2fd3b4a8e4d1b8672c98fc54e4938019580b
parentd851381ea6947244842ae6f138cd0bfd399b7ef4
LU-15873 obd: skip checking read-only fs health

Health check upon read-only file system would fail and STONITH
ensues.

Add obd_device::obd_read_only to record read-only flag of the
obd_device. And skip checking the health of read-only devices.

Signed-off-by: Bobi Jam <bobijam@whamcloud.com>
Change-Id: Ica83b9c871f7bee62cef6504deb0dcc32dd20afb
Reviewed-by: Wang Shilong <wshilong@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Reviewed-by: Li Xi <lixi@ddn.com>
Reviewed-on: https://review.whamcloud.com/48095
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Arshad Hussain <arshad.hussain@aeoncomputing.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
lustre/include/obd.h
lustre/include/obd_class.h
lustre/obdclass/obd_sysfs.c
lustre/ofd/ofd_dev.c