Skip to content

SimpleRADOSStriper: fix incorrect variable usage in allocation growth… - #69194

Merged
batrick merged 1 commit into
ceph:mainfrom
batrick:i77009
Sep 18, 2026
Merged

batrick merged 1 commit into
ceph:mainfrom
batrick:i77009

Conversation

@batrick

@batrick batrick commented May 31, 2026 •

Copy link
Copy Markdown
Member

… calculation

In set_metadata(), the calculation for new_allocated was incorrectly applying the base-2 rounding mask to the old size variable instead of the requested new_size. This commit fixes the logic to use the correct target size when determining the new boundaries.

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 libcephsqlite ceph SQLite3 VFS label May 31, 2026
@batrick
batrick marked this pull request as ready for review May 31, 2026 21:45
@batrick

This comment was marked as outdated.

@batrick

This comment was marked as outdated.

@tchaikov tchaikov 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

@batrick

batrick commented Jun 9, 2026

Copy link
Copy Markdown
Member Author

This PR has been added to main integration testing by pdonnell started 2026-06-09-12:34.

@batrick

batrick commented Jul 12, 2026

Copy link
Copy Markdown
Member Author

This PR has been added to main integration testing by pdonnell started 2026-07-12-17:08.

@batrick

batrick commented Jul 12, 2026

Copy link
Copy Markdown
Member Author

This PR has been added to main integration testing by pdonnell started 2026-07-12-17:09.

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had any activity for 60 days. It will be closed if no further activity occurs for another 30 days.
If you are a maintainer or core committer, please follow-up on this pull request to identify what steps should be taken by the author to move this proposed change forward.
If you are the author of this pull request, thank you for your proposed contribution. If you believe this change is still appropriate, please ensure that any feedback has been addressed and ask for a code review.

@github-actions github-actions Bot added the stale label Sep 10, 2026
… calculation

In set_metadata(), the calculation for new_allocated was incorrectly
applying the base-2 rounding mask to the old size variable instead of
the requested new_size. This commit fixes the logic to use the correct
target size when determining the new boundaries.

Fixes: https://tracker.ceph.com/issues/77009
Signed-off-by: Patrick Donnelly <[email protected]>
@batrick

batrick commented Sep 11, 2026

Copy link
Copy Markdown
Member Author

This PR has been added to main integration testing by pdonnell started 2026-09-11-14:00.

@batrick

batrick commented Sep 15, 2026

Copy link
Copy Markdown
Member Author

jenkins test make check arm64

@batrick

batrick commented Sep 15, 2026

Copy link
Copy Markdown
Member Author

jenkins test docs

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.

2 participants