[LU-15388] Wrong dotdot FID parameter for osd_add_dot_dotdot() Created: 21/Dec/21  Updated: 14/Nov/22  Resolved: 14/Nov/22

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

Type: Bug Priority: Major
Reporter: Li Xi Assignee: Li Xi
Resolution: Fixed Votes: 0
Labels: None

Issue Links:
Related
is related to LU-14168 e2fsck should avoid moving files into... Open
is related to LU-15383 DNE directories not connected to REMO... Open
is related to LU-4876 LFSCK remove entry from /REMOTE_PAREN... Open
is related to LU-15579 When nfs exports lustre, chmod the st... Resolved
Severity: 2
Rank (Obsolete): 9223372036854775807

 Description   

Wrong FID has been passed to osd_add_dot_dotdot() and osd_add_dot_dotdot_internal(). Thus the FID of current directory is saved to ".." entry, not the parent directory.



 Comments   
Comment by Gerrit Updater [ 21/Dec/21 ]

"Li Xi <lixi@ddn.com>" uploaded a new patch: https://review.whamcloud.com/45904
Subject: LU-15388 osd-ldiskfs: wrong fid for dotdot entry
Project: fs/lustre-release
Branch: master
Current Patch Set: 1
Commit: da5791acb2d0c24366cca0954fd3e4640474bf28

Comment by Andreas Dilger [ 22/Feb/22 ]

It looks like this also needs a test case and (probably) a fix in LFSCK to repair the FIDs on the agent inodes.

Comment by Gerrit Updater [ 14/Nov/22 ]

"Oleg Drokin <green@whamcloud.com>" merged in patch https://review.whamcloud.com/c/fs/lustre-release/+/45904/
Subject: LU-15388 osd-ldiskfs: wrong dot/dotdot FID for local agent
Project: fs/lustre-release
Branch: master
Current Patch Set:
Commit: 0688719a51d9c659399439535c5c3f8c66a7b577

Comment by Peter Jones [ 14/Nov/22 ]

Landed for 2.16

Generated at Sat Feb 10 03:17:53 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.