Skip to content

common: Log when we leak and disallow inlining - #69278

Merged
badone merged 1 commit into
ceph:mainfrom
badone:wip-badone-tracker-76473-dont-inline-and-log-mem0ry-leak
Jun 30, 2026
Merged

badone merged 1 commit into
ceph:mainfrom
badone:wip-badone-tracker-76473-dont-inline-and-log-mem0ry-leak

Conversation

@badone

@badone badone commented Jun 4, 2026 •

Copy link
Copy Markdown
Contributor

Fixes: https://tracker.ceph.com/issues/76473

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.

@github-actions github-actions Bot added the common label Jun 4, 2026
@badone
badone requested a review from a team June 4, 2026 01:43
Comment thread src/common/ceph_context.cc Resolved
Comment thread src/common/ceph_context.cc Resolved
eaa2013 added a generic suppression that exposed the fact that the newer
compiler was inlining CephContext::do_command(). In order to avoid such
scenario in the future, and to keeo the behaviour constant between
daemons we'll disallow inlining.

Fixes: https://tracker.ceph.com/issues/76473

Signed-off-by: Brad Hubbard <[email protected]>
@badone
badone force-pushed the wip-badone-tracker-76473-dont-inline-and-log-mem0ry-leak branch from 8699644 to d6f1bcc Compare June 8, 2026 22:08
@badone

badone commented Jun 10, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@ljflores ljflores added the core label Jun 23, 2026
@ljflores

Copy link
Copy Markdown
Member

This was not getting picked up due to the lack of "core" label. I have added it.

@NitzanMordhai

Copy link
Copy Markdown
Contributor

@badone
badone merged commit 54de613 into ceph:main Jun 30, 2026
6 checks passed
@badone
badone deleted the wip-badone-tracker-76473-dont-inline-and-log-mem0ry-leak branch June 30, 2026 01:26
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.

7 participants