Whamcloud - gitweb
LU-8649 recovery: print some useful messages in recovery 56/30656/3
authorEmoly Liu <emoly.liu@intel.com>
Mon, 25 Dec 2017 03:34:36 +0000 (11:34 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Tue, 9 Jan 2018 05:35:08 +0000 (05:35 +0000)
commit614e0def46be607cc53bbec9624d5b039068ba7c
tree3d2a6df61331c26666788c5985276765f08ec737
parentd90d9cd45e977d1672272786cb74d4941b6604a2
LU-8649 recovery: print some useful messages in recovery

To make it more clear to the admins that recovery won't start
until the first client connects, this patch prints the following
useful messages in recovery, in case the admins are waiting for
recovery to complete:
- a console message every 10 minutes or so, and
- adding status WAITING_FOR_CLIENTS to /proc recovery_status file

Change-Id: I03d37b4c00a799a1fd651b8d60cdbceed807cea1
Signed-off-by: Emoly Liu <emoly.liu@intel.com>
Reviewed-on: https://review.whamcloud.com/30656
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Yang Sheng <yang.sheng@intel.com>
Reviewed-by: Bob Glossman <bob.glossman@intel.com>
lustre/ldlm/ldlm_lib.c
lustre/obdclass/lprocfs_status_server.c
lustre/ptlrpc/service.c