]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
SimpleRADOSStriper: fix incorrect variable usage in allocation growth calculation
authorPatrick Donnelly <pdonnell@ibm.com>
Sat, 30 May 2026 16:16:19 +0000 (12:16 -0400)
committerPatrick Donnelly <pdonnell@ibm.com>
Sun, 31 May 2026 22:00:54 +0000 (18:00 -0400)
commita24fccd1242a13e433666d7cab0351262b09dbea
tree17f151d0ffe35ad6ce37fb55f07885a376e3c23b
parent0ee19106cfd5159d18c3ec75d73b71724a658ea8
SimpleRADOSStriper: fix incorrect variable usage in allocation growth 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 <pdonnell@ibm.com>
src/SimpleRADOSStriper.cc