Skip to content

mds: revert referent inode work#62351

Open
vshankar wants to merge 50 commits intoceph:mainfrom
vshankar:wip-revert-referent-inodes
Open

mds: revert referent inode work#62351
vshankar wants to merge 50 commits intoceph:mainfrom
vshankar:wip-revert-referent-inodes

Conversation

@vshankar
Copy link
Copy Markdown
Contributor

The motive was to remove the global snap realm and referent inodes was the prerequisite for that. Unfortunately, removing the global snap realm is turning out to be much complicated than it was initially thought of. Therefore, to reduce the risk of things breaking in tentacle given that branching tentacle is round-the-corner and that global snap realm is not going to go away in Tentacle, it makes sense to revert this work (although I do this with a heavy heart).

However, we have a much better understanding of the snap realm machinery now - kudos to the awesome work put in by @kotreshhr on this. This is not a wasted effort and is certainly going to help when this is worked on again (post tentacle branching and this time with a clear way forward).

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

@vshankar vshankar added the cephfs Ceph File System label Mar 18, 2025
@vshankar vshankar requested review from a team, batrick and kotreshhr March 18, 2025 09:19
@vshankar vshankar requested review from a team as code owners March 18, 2025 09:19
@vshankar vshankar requested review from aaSharma14 and nmunet and removed request for a team March 18, 2025 09:19
Copy link
Copy Markdown
Member

@batrick batrick left a comment

Choose a reason for hiding this comment

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

Make it so!

@github-project-automation github-project-automation bot moved this from New to Reviewer approved in Ceph-Dashboard Mar 18, 2025
@gregsfortytwo
Copy link
Copy Markdown
Member

I don't think we should revert this until/unless we have another solution for https://tracker.ceph.com/issues/67102.
(In fact I've asked @kotreshhr to make sure we are testing the referent inodes in our regular suites a bit more often.)

We can talk about Tentacle options if we think it needs more bake time, I guess?

@batrick
Copy link
Copy Markdown
Member

batrick commented Mar 18, 2025

I don't think we should revert this until/unless we have another solution for https://tracker.ceph.com/issues/67102. (In fact I've asked @kotreshhr to make sure we are testing the referent inodes in our regular suites a bit more often.)

We are not even sure yet that the referent inode patchset will fix that problem as we do not have a test for it. (Getting rid of the global snaprealm should probably do it but there should be tests which replicate the problem and verify that the new behavior is correct.)

We can talk about Tentacle options if we think it needs more bake time, I guess?

The consensus we (Venky, Kotresh, and I) reached was that additional time spent reviewing is appropriate. We also need time to evaluate whether other possibly better options exist now that Kotresh is significantly more confident in the related code.

The scale of the change deserves a full release of bake time in main. Delaying the revert until after tentacle is branched only complicates the revert significantly. Doing it now avoids this.

@github-actions
Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@vshankar vshankar force-pushed the wip-revert-referent-inodes branch from d97ab7c to 5b73801 Compare May 19, 2025 06:40
@vshankar
Copy link
Copy Markdown
Contributor Author

@kotreshhr rebased and pushed. PTAL. I will merge this once approved and port the changes to tentacle.

@kotreshhr
Copy link
Copy Markdown
Contributor

kotreshhr commented May 19, 2025

@kotreshhr rebased and pushed. PTAL. I will merge this once approved and port the changes to tentacle.

@vshankar Aren't we reverting this only in tentacle and keeping it in main ?

@vshankar
Copy link
Copy Markdown
Contributor Author

@kotreshhr rebased and pushed. PTAL. I will merge this once approved and port the changes to tentacle.

@vshankar Aren't we reverting this only in tentacle and keeping it in main ?

@batrick requested a design doc before the changes can be accepted.

@vshankar
Copy link
Copy Markdown
Contributor Author

vshankar commented May 19, 2025

@kotreshhr rebased and pushed. PTAL. I will merge this once approved and port the changes to tentacle.

@vshankar Aren't we reverting this only in tentacle and keeping it in main ?

@batrick requested a design doc before the changes can be accepted.

I misspoke a bit. Maybe we wanted to keep this change in main and revert it only in tentacle.

My take on the referent inode work is that if PR #62682 takes care (in the interim) for the old_inodes issue (which, btw, we do not have a reproducer), then the referent inode changes can be reworked before merging with things like design documents, adequate tests, etc..

I do not have a strong opinion on this though which means we can always keep this change in main and the things I mentioned incrementally.

EDIT:s/string/strong

vshankar added 28 commits March 20, 2026 12:55
This reverts commit 42d88f4.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit f94c832.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 0779064.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit bcf2e7d.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 0ed8c2a.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit c39977f.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 1816536.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit d7d294e.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 79c3d12.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 8abee7d.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit efa6a8c.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit fb3bf78.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 645493b.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
…join"

This reverts commit a069e7a.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 2ec2c1d.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 11eddc8.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit dafc07c.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 1e5fca1.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 1bb435d.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit a6088f0.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 8c62496.

Signed-off-by: Venky Shankar <vshankar@redhat.com>

Conflicts:
    src/mds/journal.cc

Fix conflict with replaying alternate name.
This reverts commit 1cce52f.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 72613db.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 1b4d4f8.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 8de3609.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 7822a58.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit 3c034df.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
This reverts commit b9947ba.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
@vshankar vshankar force-pushed the wip-revert-referent-inodes branch from 07dbfcf to 1c1443e Compare March 20, 2026 07:25
@vshankar
Copy link
Copy Markdown
Contributor Author

jenkins test dashboard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants