Whamcloud - gitweb
LU-10419 lfsck: skip dead target 75/31475/2
authorFan Yong <fan.yong@intel.com>
Thu, 1 Mar 2018 06:30:36 +0000 (14:30 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 8 Mar 2018 17:35:58 +0000 (17:35 +0000)
commit012834c5e7c7be50ff117cee4ac473d7fee4294d
tree46667591e592665f84d934100896c0a80c1b161c
parent095643bbd1bb7c70061eaddf7b6413c429322b31
LU-10419 lfsck: skip dead target

Do not send LFSCK RPC to dead targets to avoid being blocked.
The patch adds warning message when try to send LFSCK RPC on
the non-full connection, it is helpful to understand why the
LFSCK may be blocked.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I0599eb961f1aabd58d0de53fd51f25ca1ec8ff34
Reviewed-on: https://review.whamcloud.com/31475
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/lfsck/lfsck_engine.c
lustre/lfsck/lfsck_internal.h
lustre/lfsck/lfsck_layout.c
lustre/lfsck/lfsck_lib.c
lustre/lfsck/lfsck_namespace.c