LFSCK II: MDT-OST consistency check/repair (LU-1267)

[LU-3593] Fix inconsistent layout EA Created: 16/Jul/13  Updated: 22/Feb/14  Resolved: 22/Feb/14

Status: Resolved
Project: Lustre
Component/s: None
Affects Version/s: None
Fix Version/s: Lustre 2.6.0

Type: Technical task Priority: Critical
Reporter: Richard Henwood (Inactive) Assignee: nasf (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Rank (Obsolete): 9110

 Description   

The layout EA storing on the MDT-object records not only the file layout but also some information which indicates the layout EA owner, such as lov_mds_md.lmm_oi. They are generated from MDT-object FID, with them we can know which file the layout EA belongs to. In the LFSCK phase II, we need to verify whether such information in the layout EA is correct or not by re-caculating from the MDT-object FID. If inconsistency is found, trust the MDT-object FID rather than the FID information in the layout EA, which has not been maintained over backup/restore and is mostly used for informational purposes until now.



 Comments   
Comment by nasf (Inactive) [ 27/Aug/13 ]

This is the patch:

http://review.whamcloud.com/#/c/7456/

Comment by nasf (Inactive) [ 22/Feb/14 ]

The patch has been landed to master.

Generated at Sat Feb 10 01:35:15 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.