Whamcloud - gitweb
LU-1866 lfsck: LFSCK for namespace consistency (3)
authorFan Yong <yong.fan@whamcloud.com>
Tue, 15 Jan 2013 09:57:33 +0000 (17:57 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 7 Feb 2013 16:51:59 +0000 (11:51 -0500)
commitbad2b3e71c887d58d7834f5e4187c29e36c4b1ab
tree2eda65887cd5473df4b1e36a1733b1f6e3a922d9
parentcb3ee73eb6120ec15fb2535f7ead943b539629ed
LU-1866 lfsck: LFSCK for namespace consistency (3)

It is the third part of LFSCK 1.5 for namespace consistency
check and repair. It mainly implements the LFSCK namespace
component functionality lfsck_operations::lfsck_double_scan:
process multiple-linked objects.

1) Find out and repair crashed linkEA entry.

2) Find out and remove invalid linkEA entry

Test-Parameters: envdefinitions=ENABLE_QUOTA=yes testlist=sanity-lfsck

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ia38fa343ed4da10635c1af4d90b9039c5e01688c
Reviewed-on: http://review.whamcloud.com/4914
Tested-by: Hudson
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/include/obd_support.h
lustre/mdd/mdd_dir.c
lustre/mdd/mdd_lfsck.c
lustre/tests/sanity-lfsck.sh