Skip to content

tentacle: mds: for an irreparable hard link scrub is not able to identify the damage - #68853

Merged
batrick merged 3 commits into
ceph:tentaclefrom
joscollin:sajibreadd_wip-69345-tentacle
Jul 22, 2026
Merged

batrick merged 3 commits into
ceph:tentaclefrom
joscollin:sajibreadd_wip-69345-tentacle

Conversation

@joscollin

@joscollin joscollin commented May 12, 2026 •

Copy link
Copy Markdown
Member

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

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)
@joscollin

Copy link
Copy Markdown
Member Author

@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@batrick batrick added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 11, 2026
@batrick batrick added the releng-audit-queue Release engineering: queued for backport verification audit. label Jul 13, 2026
@github-actions github-actions Bot removed releng-audit-queue Release engineering: queued for backport verification audit. releng-audit-fail Release engineering: failed backport verification audit. labels Jul 13, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 13, 2026

@rishabh-d-dave rishabh-d-dave left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@batrick batrick removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 22, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

⚠️ WARNING: Cherry-pick conflicts or deviations were found that require component lead review.

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)

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.


⚠️ Note: Automated audit checks will be suspended on future pushes to prevent comment spam while you work.

When you are ready for a new audit, please remove the releng-audit-fail label or comment /audit retest.

View workflow run

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Jul 22, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Jul 22, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @batrick.

View workflow run

@batrick
batrick merged commit 346d711 into ceph:tentacle Jul 22, 2026
16 of 21 checks passed
@joscollin
joscollin deleted the sajibreadd_wip-69345-tentacle branch July 23, 2026 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants