]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
os/bluestore/ZonedAllocator: handle alloc/release spanning zones
authorSage Weil <sage@newdream.net>
Thu, 23 Sep 2021 15:23:11 +0000 (10:23 -0500)
committerSage Weil <sage@newdream.net>
Fri, 29 Oct 2021 13:56:42 +0000 (09:56 -0400)
commit09c2753175466f22aa236fe2afe84179c9899e02
treed2501ec39d113a3ae00345bf86f94233c1b26be7
parent6917b2f8db8a9e51f9eb075a427cb9c82512edaf
os/bluestore/ZonedAllocator: handle alloc/release spanning zones

The same txn may allocate the end of one zone and the start of the next.
These get combined in an interval_set in bluestore and submitted as one
extent to the freelist.  Ensure that we spread the allocate (or release)
over the appropriate zones.

Signed-off-by: Sage Weil <sage@newdream.net>
src/os/bluestore/ZonedFreelistManager.cc