Whamcloud - gitweb
LU-1866 lfsck: LFSCK for namespace consistency (2)
authorFan Yong <yong.fan@whamcloud.com>
Tue, 15 Jan 2013 09:53:46 +0000 (17:53 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 6 Feb 2013 21:07:59 +0000 (16:07 -0500)
commitc34e6323a3804477dca7441901e1bf75de4b8c3a
tree7a677fd8f2cde4b599efc9d3a603aabb7b4dac6a
parentc5a411dac119b63943d60a0d6875ce15275c67f8
LU-1866 lfsck: LFSCK for namespace consistency (2)

It is the second part of LFSCK 1.5 for namespace consistency
check and repair. It mainly implements the LFSCK namespace
component functionality lfsck_operations::lfsck_exec_dir:
for linkEA verification and repair.

The basic functionality is to find out missed linkEA entries
and add them to the object. It is also part of handling IGIF
objects upgrading.

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

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I9df2a1fddfa4b15838ecbdfb6279c240d01d0f95
Reviewed-on: http://review.whamcloud.com/4913
Tested-by: Hudson
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Maloo <whamcloud.maloo@gmail.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/mdd/mdd_lfsck.h
lustre/osd-ldiskfs/osd_handler.c
lustre/tests/sanity-lfsck.sh
lustre/tests/test-framework.sh