From: Fan Yong Date: Sat, 12 Jan 2013 00:41:01 +0000 (+0800) Subject: LU-1866 osd: ancillary work for initial OI scrub X-Git-Tag: 2.3.61~55 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=f4ea7b630b8adc9856ee67c6d16549f36e14efd1;hp=f4ea7b630b8adc9856ee67c6d16549f36e14efd1;p=fs%2Flustre-release.git LU-1866 osd: ancillary work for initial OI scrub 1) Abstract some general interfaces that can be shared by common OSD operations, by normal OI scrub, and by initial OI scrub. 2) Mark the object as "LDISKFS_STATE_LUSTRE_NO_OI" if it is not unnecessary to add OI mapping for the object, such as backend local root, OI directories/files, and others created before OI files created. 3) Do not check fld in OI scurb, which may be not ready yet. 4) Reorganize OI scrub code to be more readable. Signed-off-by: Fan Yong Change-Id: Ife8168df2454437ad18550b73d26f7372c21776f Reviewed-on: http://review.whamcloud.com/4902 Reviewed-by: Alex Zhuravlev Tested-by: Hudson Reviewed-by: Andreas Dilger Tested-by: Maloo ---