Repository navigation
tentacle: mds: for an irreparable hard link scrub is not able to identify the damage - #68853
Conversation
For a remote link, try to open the dentry (this part of code is copied from the mds path_traversal) which internally pushes the dir_frag in the damage list if applicable. Fixes: https://tracker.ceph.com/issues/69345 Signed-off-by: Md Mahamudur Rahaman Sajib <[email protected]> (cherry picked from commit a83787b) Conflicts: src/mds/ScrubStack.cc - Conflicts due to ScrubStack::scrub_dir_inode argument change
…crub Also update ignorelist with the expected cluster warning. Fixes: https://tracker.ceph.com/issues/69345 Signed-off-by: Md Mahamudur Rahaman Sajib <[email protected]> (cherry picked from commit 13eb6c6)
Fixes: https://tracker.ceph.com/issues/69345 Signed-off-by: Md Mahamudur Rahaman Sajib <[email protected]> (cherry picked from commit ed00c81)
rishabh-d-dave
left a comment
There was a problem hiding this comment.
QA run had no related failure - https://tracker.ceph.com/projects/cephfs/wiki/Tentacle#wip-jcollin-testing-20260514001520-tentacle
@batrick Please merge.
There was a problem hiding this comment.
Ceph Release Engineering Audit Report
Commit Parity Visualizer
| BACKPORT PR #68853 | SOURCE PR |
SOURCE STATUS |
|---|---|---|
| 93bb8a6 mds: identify damaged hard links during scrub | PR #61173 | a83787b mds: identify damaged hard links during scrub |
| 061a6b8 qa: add a test to verify that a damage hard link id detected during scrub | 13eb6c6 qa: add a test to verify that a damage hard link id detected during scrub | |
| 4ea4f27 doc: added a note for damaged hard links in scrub documentation | ed00c81 doc: added a note for damaged hard links in scrub documentation |
Automated Backport Parity Review - Cherry-Pick Conflicts / Deviations
A conflict or deviation was detected during the simulation of this backport. The code in this PR does not match a clean cherry-pick of the upstream commits.
This does not necessarily indicate an issue but a maintainer should review.
**Click to expand conflict summaries.**
Deviation in Backport 93bb8a6 (cherry-pick of a83787b)
Affected File(s)
src/mds/ScrubStack.cc
Range Diff
Click to expand
--- Original (a83787b5)
+++ Backport (93bb8a6b)
@@ -6,3 +6,8 @@
Fixes: https://tracker.ceph.com/issues/69345
Signed-off-by: Md Mahamudur Rahaman Sajib <[email protected]>
+(cherry picked from commit a83787b5a85bb30a087cbe9843cfe35018f6c94d)
+
+Conflicts:
+ src/mds/ScrubStack.cc
+ - Conflicts due to ScrubStack::scrub_dir_inode argument change
================================================================================
RANGE DIFF
================================================================================
1: a83787b5a85 ! 1: 93bb8a6ba01 mds: identify damaged hard links during scrub
@@ Commit message
Fixes: https://tracker.ceph.com/issues/69345
Signed-off-by: Md Mahamudur Rahaman Sajib <[email protected]>
+ (cherry picked from commit a83787b5a85bb30a087cbe9843cfe35018f6c94d)
+
+ Conflicts:
+ src/mds/ScrubStack.cc
+ - Conflicts due to ScrubStack::scrub_dir_inode argument change
## src/mds/ScrubStack.cc ##
@@ src/mds/ScrubStack.cc: void ScrubStack::scrub_dir_inode_final(CInode *in)
@@ src/mds/ScrubStack.cc: void ScrubStack::scrub_dir_inode_final(CInode *in)
+ }
+}
+
- void ScrubStack::scrub_dirfrag(CDir *dir, bool *done)
+ void ScrubStack::scrub_dirfrag(CDir *dir, bool *added_children, bool *done)
{
ceph_assert(dir != NULL);
-@@ src/mds/ScrubStack.cc: void ScrubStack::scrub_dirfrag(CDir *dir, bool *done)
- if (dnl->is_primary()) {
- _enqueue(dnl->get_inode(), header, false);
- } else if (dnl->is_remote() || dnl->is_referent_remote()) {
+@@ src/mds/ScrubStack.cc: void ScrubStack::scrub_dirfrag(CDir *dir, bool *added_children, bool *done)
+ *added_children = true;
+ _enqueue(dnl->get_inode(), header, true);
+ } else if (dnl->is_remote()) {
- // TODO: check remote linkage
+ identify_remote_link_damage(dn);
}How to proceed:
- Authors (Genuine Conflicts): If this is a genuine conflict requiring manual resolution, ensure your resolution is correct. You must explain the conflict resolution in the commit message (e.g., leave the standard Git
Conflicts:block intact) and include an explanation for changes. - Authors (Need Help?): Reach out to the Component Lead for technical guidance on complex code conflicts.
- Component Leads (Review): Please review the Range Diff(s) above to verify the author's manual conflict resolution is correct for this release branch. If the deviation is intentional, documented, and approved then the component lead or @ceph/ceph-release-manager can bypass this check by commenting
/audit override.
Be familiar with the rules and guidelines for writing backports.
🛟 Need Help?
If you need technical help resolving these issues, please consult with the Component Lead. If you need administrative overrides, please see the #ceph-upstream-releases channel on Slack and request a review from the @ceph/ceph-release-manager.
📋 Component Lead / Release Manager
To override the audit failure, apply releng-audit-override label or comment /audit override.
When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.
|
✅ Audit Override Applied by @batrick. |
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.