Skip to content

tentacle: revert #72012 "osd: Set projected_size to current_size on cache invalidate." - #72650

Merged
batrick merged 1 commit into
ceph:tentaclefrom
aainscow:wip-revert-72012-tentacle
Oct 14, 2026
Merged

batrick merged 1 commit into
ceph:tentaclefrom
aainscow:wip-revert-72012-tentacle

Conversation

@aainscow

Copy link
Copy Markdown
Contributor

Reverts #72012 (tentacle backport of #70377, backport tracker https://tracker.ceph.com/issues/78467).

That change introduced a regression. ECExtentCache::Object::invalidate() now sets projected_size to current_size, so replaying a queued rollback re-adds the rolled-back data as a growth hole in do_not_read. Writes queued behind the rollback then skip reading that data and zero-fill the parts of pages they do not overwrite: https://tracker.ceph.com/issues/81611

Reverting reopens https://tracker.ceph.com/issues/78465 (ceph_assert(reads_sent) in do_read_op), which needs a different fix.

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.

🤖 Generated with Claude Code

@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

Automated Redmine Linkage Audit

The following tracking irregularities were found:

  • Missing Original PR(s): Could not identify any main PRs associated with this backport. Ensure the backport commits properly reference the original PRs.
  • Orphaned Backport PR: Could not find any Redmine tracker linked directly to this backport PR #72650.

Automated Backport Parity Review - Invalid Commit Format

The following commits have an invalid format. Backport commits must either include a standard (cherry picked from commit ...) line or start with the target branch name (e.g., tentacle:).

  • dbcdcafa Revert "Merge PR #72012 into tentacle"

Be familiar with the rules and guidelines for writing backports.


Automated Backport Parity Review

Discrepancies detected between the backport PR and the original source PR(s). Please see the Commit Parity Visualizer below.


Commit Parity Visualizer

BACKPORT PR #72650 SOURCE PR SOURCE STATUS
dbcdcaf Revert "Merge PR #72012 into tentacle" <<<< EXTRA IN BACKPORT >>>>

🛟 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 Oct 13, 2026
This reverts commit f4ffa55, reversing
changes made to 37e259b.

With that change, ECExtentCache::Object::invalidate() sets projected_size
to current_size, so replaying a queued rollback re-adds the rolled-back
data as a growth hole in do_not_read. Writes queued behind the rollback
then skip reading that data and zero-fill the parts of pages they do not
overwrite.

See: https://tracker.ceph.com/issues/81611
Assisted-by: Claude Code
Signed-off-by: Alex Ainscow <[email protected]>
@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath22-testing-20261014.084453-tentacle.

@aainscow

Copy link
Copy Markdown
Contributor Author

@batrick This reverts the tentacle backport rather than backporting a main commit, so the audit can't match it to a main PR. Could you apply /audit override?

@aainscow

Copy link
Copy Markdown
Contributor Author

@bill-scales Same request to you, in case you get to it first: could you apply /audit override? This reverts the tentacle backport rather than backporting a main commit, so the audit can't match it to a main PR.

@batrick batrick modified the milestones: tentacle, v20.2.5 Oct 14, 2026
@github-actions github-actions Bot removed the releng-audit-fail Release engineering: failed backport verification audit. label Oct 14, 2026
@github-actions

Copy link
Copy Markdown

✅ Audit Override Applied by @batrick.

View workflow run

@batrick
batrick merged commit 569212b into ceph:tentacle Oct 14, 2026
19 checks passed
@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been removed from wip-bharath22-testing-20261014.084453-tentacle.

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