]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
os/bluestore: Support adding a region that spans two zones in ZonedAllocator
authorAbutalib Aghayev <agayev@cs.cmu.edu>
Fri, 12 Jun 2020 14:40:41 +0000 (10:40 -0400)
committerAbutalib Aghayev <agayev@cs.cmu.edu>
Fri, 12 Jun 2020 14:49:26 +0000 (10:49 -0400)
commit0d96ff19afb4161d9b113ef49dea76bce6797401
tree3bf1b1befe0f74d670f7291de32998a61e5f2057
parente503942ffc779977bcde6ba9ab135ceef76fb0cb
os/bluestore: Support adding a region that spans two zones in ZonedAllocator

Added a fix to ZonedAllocator that stops the assertion from triggering when a
free region that spans two zones and ends at arbitrary bounds is added.  This
fix is temporary; a new FreelistManager implementation that is aware of the zone
states will be added for a proper fix.

Signed-off-by: Abutalib Aghayev <agayev@cs.cmu.edu>
src/os/bluestore/ZonedAllocator.cc