Actions
Bug #61879
closedmds: linkmerge assert check is incorrect in rename codepath
Status:
Resolved
Priority:
Normal
Assignee:
Category:
Correctness/Safety
Target version:
% Done:
100%
Source:
Tags:
backport_processed
Backport:
reef,quincy,pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Component(FS):
MDS
Labels (FS):
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Let's say there is a hardlink created as below.
touch file1 ln file1 hl_file1
In this case file1 holds the primary inode and hl_file holds the remote inode (small struct, holds info about primary).
Now, if file1 is deleted first, a stray reintegration (the deleted primary straydn is merged with secondary inode) could happen
which links the primary inode to the hl_file1 which is called linkmerge. So in the linkmerge case, the srcdnl is primary straydn
and the destdnl is the remote.
Updated by Kotresh Hiremath Ravishankar 11 months ago
- Category set to Correctness/Safety
- Component(FS) MDS added
Updated by Kotresh Hiremath Ravishankar 11 months ago
- Pull request ID set to 51934
Updated by Kotresh Hiremath Ravishankar 11 months ago
- Status changed from New to Fix Under Review
- Assignee set to Kotresh Hiremath Ravishankar
Updated by Venky Shankar 10 months ago
- Status changed from Fix Under Review to Pending Backport
- Target version set to v19.0.0
- Backport set to reef,quincy,pacific
Updated by Backport Bot 10 months ago
- Copied to Backport #62240: reef: mds: linkmerge assert check is incorrect in rename codepath added
Updated by Backport Bot 10 months ago
- Copied to Backport #62241: quincy: mds: linkmerge assert check is incorrect in rename codepath added
Updated by Backport Bot 10 months ago
- Copied to Backport #62242: pacific: mds: linkmerge assert check is incorrect in rename codepath added
Updated by Konstantin Shalygin 6 months ago
- Status changed from Pending Backport to Resolved
- % Done changed from 0 to 100
Actions