Whamcloud - gitweb
LU-9437 lfsck: handle LMV EA for migrating directory 18/31518/2
authorFan Yong <fan.yong@intel.com>
Tue, 20 Feb 2018 19:25:55 +0000 (03:25 +0800)
committerJohn L. Hammond <john.hammond@intel.com>
Thu, 5 Apr 2018 20:05:22 +0000 (20:05 +0000)
commit251cce39e896dc668c1338ea15fa145a6b262362
tree122391cb78d608ab7f3ea15abf8c0ab3b20e4369
parent7820c292fc3cd3b5600c2c1e3838a55ea648fd84
LU-9437 lfsck: handle LMV EA for migrating directory

For the in-migration directory, its LMV EA contains not only the
LMV header, but also the FIDs for both source and target. So the
LMV EA size is larger. The lfsck_read_stripe_lmv() logic need to
handle such case properly.

Lustre-change: https://review.whamcloud.com/31266
Lustre-commit: 05cfe91c2714a77f5ad3de4a7e58e20b6df17b83

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ic43853fb5ca058042fafa0f6c81fa99d4b8d8897
Reviewed-by: Andreas Dilger <andreas.dilger@intel.com>
Reviewed-by: Lai Siyao <lai.siyao@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Signed-off-by: Minh Diep <minh.diep@intel.com>
Reviewed-on: https://review.whamcloud.com/31518
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
lustre/lfsck/lfsck_striped_dir.c