Whamcloud - gitweb
LU-957 scrub: OI scrub against ldiskfs
authorFan Yong <yong.fan@whamcloud.com>
Fri, 1 Jun 2012 01:56:52 +0000 (09:56 +0800)
committerOleg Drokin <green@whamcloud.com>
Tue, 5 Jun 2012 11:48:12 +0000 (07:48 -0400)
commit788d39358e2f90b24d6ac3f98b28a957a8681693
tree76ee45653e6804c5df1205ce6839ff5893f0fa55
parentcb1a6851d0815c82fbc48550c49bac4a88cee056
LU-957 scrub: OI scrub against ldiskfs

The OI scrub is totally implemented inside osd-ldiskfs,
and driven by the inode iterator. For each object with
normal fid, its fid in the LMA and related OI entry in
the OI file will be compared, if they are inconsistent,
then the OI entry will be updated.

Signed-off-by: Fan Yong <yong.fan@whamcloud.com>
Change-Id: I04d25b3433336fb63c312f795a8631328beb3aa7
Reviewed-on: http://review.whamcloud.com/2552
Tested-by: Hudson
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Alex Zhuravlev <bzzz@whamcloud.com>
Reviewed-by: Oleg Drokin <green@whamcloud.com>
12 files changed:
lustre/osd-ldiskfs/Makefile.in
lustre/osd-ldiskfs/autoMakefile.am
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_iam.c
lustre/osd-ldiskfs/osd_iam.h
lustre/osd-ldiskfs/osd_iam_lfix.c
lustre/osd-ldiskfs/osd_iam_lvar.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_oi.c
lustre/osd-ldiskfs/osd_oi.h
lustre/osd-ldiskfs/osd_scrub.c [new file with mode: 0644]
lustre/osd-ldiskfs/osd_scrub.h [new file with mode: 0644]