Whamcloud - gitweb
LU-8649 recovery: print some useful messages in recovery 11/30811/2
authorEmoly Liu <emoly.liu@intel.com>
Mon, 25 Dec 2017 03:34:36 +0000 (11:34 +0800)
committerJohn L. Hammond <john.hammond@intel.com>
Mon, 19 Mar 2018 19:00:08 +0000 (19:00 +0000)
commit5c5bcfdb6ea715039d32d72965c7415f5de3d2fc
tree21365eb71b8eabdcc9100298ec6c1f04def403a6
parent19fb581aa291f5d192a2e192e5079ae300b5e7aa
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

Lustre-change: https://review.whamcloud.com/30656
Lustre-commit: 614e0def46be607cc53bbec9624d5b039068ba7c

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