Skip to content

mds: add retry request to MDSRank wait queue rather via finisher - #68446

Merged
vshankar merged 4 commits into
ceph:mainfrom
vshankar:wip-76031
May 12, 2026
Merged

vshankar merged 4 commits into
ceph:mainfrom
vshankar:wip-76031

Conversation

@vshankar

Copy link
Copy Markdown
Contributor

Fixes: http://tracker.ceph.com/issues/76031

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.

@vshankar
vshankar requested a review from a team April 17, 2026 13:24
@vshankar vshankar added the cephfs Ceph File System label Apr 17, 2026

@kotreshhr kotreshhr 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.

lgtm

@vshankar

Copy link
Copy Markdown
Contributor Author

vshankar added 4 commits May 2, 2026 19:11
C_MDS_RetryRequest inherits from MDSInternalContext which does not
acquire mds_lock by itself. Adding to MDSRank wait queue will process
this via the progress thread which completes the context with mds_lock
acquired.

Fixes: http://tracker.ceph.com/issues/76031
Signed-off-by: Venky Shankar <[email protected]>
After reverting commit df404e0, the context completion in
MDSRank handling for `dump stray` command isn't required.

Also fixup the incorrect usage of std::unique_ptr with context
completion class (Context). Contexts delete themselves upon
completion.

Introduced-by: 801951e
Signed-off-by: Venky Shankar <[email protected]>
@vshankar

vshankar commented May 4, 2026

Copy link
Copy Markdown
Contributor Author

@kotreshhr - fs suite run is here: https://pulpito.ceph.com/vshankar-2026-05-04_04:12:57-fs-wip-vshankar-testing-20260423.111416-distro-default-trial/

I had to revert #65858 for testing purpose only. The actual issue is being fixed by #68686 which is a bug introduced by commit 9e83e1c.

@kotreshhr

Copy link
Copy Markdown
Contributor

@kotreshhr - fs suite run is here: https://pulpito.ceph.com/vshankar-2026-05-04_04:12:57-fs-wip-vshankar-testing-20260423.111416-distro-default-trial/

I had to revert #65858 for testing purpose only. The actual issue is being fixed by #68686 which is a bug introduced by commit 9e83e1c.

@vshankar I am little confused, I don't see neither the revert of #65858 or the inclusion of #68686 at https://github.com/ceph/ceph-ci/commits/testing/wip-vshankar-testing-20260423.111416 ? Is the run above uses a different branch?

@vshankar

vshankar commented May 4, 2026

Copy link
Copy Markdown
Contributor Author

@kotreshhr - fs suite run is here: https://pulpito.ceph.com/vshankar-2026-05-04_04:12:57-fs-wip-vshankar-testing-20260423.111416-distro-default-trial/
I had to revert #65858 for testing purpose only. The actual issue is being fixed by #68686 which is a bug introduced by commit 9e83e1c.

@vshankar I am little confused, I don't see neither the revert of #65858 or the inclusion of #68686 at https://github.com/ceph/ceph-ci/commits/testing/wip-vshankar-testing-20260423.111416 ? Is the run above uses a different branch?

@kotreshhr - fs suite run is here: https://pulpito.ceph.com/vshankar-2026-05-04_04:12:57-fs-wip-vshankar-testing-20260423.111416-distro-default-trial/
I had to revert #65858 for testing purpose only. The actual issue is being fixed by #68686 which is a bug introduced by commit 9e83e1c.

@vshankar I am little confused, I don't see neither the revert of #65858 or the inclusion of #68686 at https://github.com/ceph/ceph-ci/commits/testing/wip-vshankar-testing-20260423.111416 ? Is the run above uses a different branch?

Well, that's right. I had a custom branch here: https://github.com/ceph/ceph-ci/commits/wip-vshankar-testing-20260423.111416/ for which the build was done here: https://shaman.ceph.com/builds/ceph/wip-vshankar-testing-20260423.111416/

I wil be rerunning the test with Rishabh's fixes, but I wanted you to have a look before picking this for downstream branches.

Comment thread src/mds/MDSRank.cc Resolved
@kotreshhr
kotreshhr self-requested a review May 4, 2026 11:50
@kotreshhr

kotreshhr commented May 4, 2026 •

Copy link
Copy Markdown
Contributor

@vshankar LGTM. Please put up a detailed commit message explaining the problem and solution.

@vshankar
vshankar force-pushed the wip-76031 branch 2 times, most recently from 0c32de0 to a77af14 Compare May 4, 2026 12:34
@vshankar

vshankar commented May 4, 2026

Copy link
Copy Markdown
Contributor Author

@vshankar LGTM. Please put up a detailed commit message explaining the problem and solution.

Done. Please check.

@vshankar

vshankar commented May 4, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test windows

@vshankar

Copy link
Copy Markdown
Contributor Author

@batrick

batrick commented May 12, 2026

Copy link
Copy Markdown
Member

jenkins test windows

@vshankar
vshankar merged commit 919373b into ceph:main May 12, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants