LFSCK 3: MDT-MDT consistency verification (LU-4788)

[LU-5519] LFSCK 3: verify striped directory Created: 20/Aug/14  Updated: 03/Feb/15  Resolved: 31/Oct/14

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

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

Issue Links:
Related
is related to LU-5353 GPF in __mdd_orphan_cleanup() Closed
Rank (Obsolete): 15376

 Description   

The namespace LFSCK needs to verify whether the stripe master's LMV EA and stripe slave's LMV EA match or not. If not, the namespace LFSCK needs to find the right one and repair the others. And then the namespace LFSCK on the stripe slave needs to check every name entry whether the name hash matches the shard or not. If not, the LFSCK will mark the striped directory hash type as LMV_HASH_TYPE_UNKNOWN, then the applications still have change of reading the directory page. And in the future after async commit fully supported by DNE2, we the LFSCK will move the name entry from the wrong MDT to the right one. The later processing will be done under LU-5550.



 Comments   
Comment by nasf (Inactive) [ 31/Aug/14 ]

Here is the assembled patch:
http://review.whamcloud.com/#/c/11714/

Comment by nasf (Inactive) [ 10/Sep/14 ]

Here are the patches:
http://review.whamcloud.com/11845
http://review.whamcloud.com/11846
http://review.whamcloud.com/11847
http://review.whamcloud.com/11848

Comment by nasf (Inactive) [ 31/Oct/14 ]

The 4 patches have been landed to master.

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