Whamcloud - gitweb
LU-9437 lfsck: handle LMV EA for migrating directory 66/31266/5
authorFan Yong <fan.yong@intel.com>
Tue, 20 Feb 2018 19:25:55 +0000 (03:25 +0800)
committerOleg Drokin <oleg.drokin@intel.com>
Sat, 3 Mar 2018 04:27:55 +0000 (04:27 +0000)
commit05cfe91c2714a77f5ad3de4a7e58e20b6df17b83
treee4b36c8093b0388f579e0353e550e4501ec08845
parent54fc9a642d90f102bacd0d79e4b81fd534eb26b5
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.

Signed-off-by: Fan Yong <fan.yong@intel.com>
Change-Id: Ic43853fb5ca058042fafa0f6c81fa99d4b8d8897
Reviewed-on: https://review.whamcloud.com/31266
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
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>
lustre/lfsck/lfsck_striped_dir.c