Whamcloud - gitweb
LU-3335 scrub: convert filter_fid_old to LMA 43/7143/3
authorFan Yong <fan.yong@intel.com>
Sat, 6 Jul 2013 10:14:57 +0000 (18:14 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Thu, 1 Aug 2013 01:56:51 +0000 (01:56 +0000)
commit5bd666d45ab6d0d852012c5fa53e05ec0a24501f
treef36f27e90c7684691957fb828b86bca60fe0737e
parent6784a15c6ee32019237151a63755103c68ff51dd
LU-3335 scrub: convert filter_fid_old to LMA

The OI scrub will generate FID-in-LMA for old OST-object, which will
unify OSD behaviors. To make LMA to fit into the 256-byte OST inode,
it will shrink the filter_fid_old as filter_fid, and the parent FID
will be kept.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ife669f88b4657928abee774b089115d78b53c380
Reviewed-on: http://review.whamcloud.com/7143
Reviewed-by: Alex Zhuravlev <alexey.zhuravlev@intel.com>
Tested-by: Hudson
Tested-by: Maloo <whamcloud.maloo@gmail.com>
Reviewed-by: Mike Pershin <mike.pershin@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
lustre/osd-ldiskfs/osd_compat.c
lustre/osd-ldiskfs/osd_handler.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_scrub.c
lustre/osd-ldiskfs/osd_scrub.h
lustre/tests/conf-sanity.sh
lustre/tests/sanity-lfsck.sh
lustre/tests/sanity-scrub.sh
lustre/utils/lustre_lfsck.c