Whamcloud - gitweb
LU-7268 scrub: NOT assign LMA for EA inode 43/17043/3
authorFan Yong <fan.yong@intel.com>
Thu, 17 Sep 2015 16:40:03 +0000 (00:40 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Wed, 9 Dec 2015 02:25:52 +0000 (02:25 +0000)
commitaf46e574eeebe23c5a6146a134fa00ee91931de3
tree427f4ee75fd829846deba37f603212cd78dc0b67
parenteaf3353fce3384e21b1310c2feb847a7c01eb131
LU-7268 scrub: NOT assign LMA for EA inode

Originally, when OI scrub scans the device, if the target inode has
no FID-in-LMA EA, then it will generate an IGIF mode FID and store
it in the LMA EA. Such behavior is not suitable if the target inode
is used for large EA. The OI scrub should skip the EA inode that is
marked as "LDISKFS_EA_INODE_FL".

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: I52b05b864ef8a2797a2f3dda0f80f95227809c34
Reviewed-on: http://review.whamcloud.com/17043
Tested-by: Jenkins
Reviewed-by: Kalpak Shah <kalpak.shah@seagate.com>
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
lustre/osd-ldiskfs/osd_compat.c
lustre/osd-ldiskfs/osd_internal.h
lustre/osd-ldiskfs/osd_oi.c
lustre/osd-ldiskfs/osd_scrub.c