Whamcloud - gitweb
LU-6175 ha: add health_check routine to the MDS, MGS and OSD 58/13558/2
authorMikhail Pershin <mike.pershin@intel.com>
Tue, 27 Jan 2015 23:25:04 +0000 (02:25 +0300)
committerOleg Drokin <oleg.drokin@intel.com>
Sun, 8 Feb 2015 02:44:00 +0000 (02:44 +0000)
commitf3e49e66608a20ac1b006b5e4202ad8ad88c1979
tree6aae0d9ae18e2b7f801f7b28870b66e0267da648
parent20520e9a2667f63a2630b2f1636e3be5e76d8987
LU-6175 ha: add health_check routine to the MDS, MGS and OSD

Patch adds obd_health_check() methods in MDS and MGS to check
ptlrpc services health like OST does. Patch adds also health_check()
routine directly to OSD to check it is mounted and is not read-only.

Signed-off-by: Mikhail Pershin <mike.pershin@intel.com>
Change-Id: Ib4af652b08e7e3616ebb3b99ce3e4ad03bdd5ab5
Reviewed-on: http://review.whamcloud.com/13558
Tested-by: Jenkins
Reviewed-by: Jinshan Xiong <jinshan.xiong@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Niu Yawei <yawei.niu@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/mdt/mdt_mds.c
lustre/mgs/mgs_handler.c
lustre/mgs/mgs_internal.h
lustre/osd-ldiskfs/osd_handler.c
lustre/ost/ost_handler.c