Whamcloud - gitweb
LU-4788 lfsck: enable verification for remote object 17/11317/25
authorFan Yong <fan.yong@intel.com>
Fri, 1 Aug 2014 01:00:31 +0000 (09:00 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 24 Sep 2014 03:14:49 +0000 (03:14 +0000)
commitdbe544883a59d7eecaace16400c575b416c51002
tree152d16fb83000599f6f572d6324aa013bf29f67b
parente7554aac8fce48e1c84c67571f209db01f4f81fa
LU-4788 lfsck: enable verification for remote object

Based on the LFSCK 1.5 framework, enable the namespace LFSCK
scanning for remote object.

During the first-stage scanning, if the object contains remote
linkEA entry or multiple linkEA entries or claims as multiple
linked, then it will be recorded in the namespace LFSCK tracing
file for double scanning.

Some cleanup for the namespace LFSCK tracing file (lfsck_namespace)
and other code cleanup.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ibc87ae9a5c6b7f67a9215140cf2cb89640bce0a9
Reviewed-on: http://review.whamcloud.com/11317
Tested-by: Jenkins
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
14 files changed:
lustre/include/lustre/lustre_lfsck_user.h
lustre/include/obd_support.h
lustre/lfsck/lfsck_bookmark.c
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
lustre/mdd/mdd_dir.c
lustre/ptlrpc/wiretest.c
lustre/tests/sanity-lfsck.sh
lustre/utils/lustre_lfsck.c
lustre/utils/wirecheck.c
lustre/utils/wiretest.c