]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/EPM: clear allocators when close
authorYingxin Cheng <yingxin.cheng@intel.com>
Thu, 17 Mar 2022 08:14:21 +0000 (16:14 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Fri, 18 Mar 2022 06:13:46 +0000 (14:13 +0800)
commitfef2b422abcaf5ef1854001f5afb6e2ffb609b71
treed7dad254b0a46aeeaec39f5a98565275700e5396
parentb635eb03b0eb14919f0eda7b31f1ac291c325203
crimson/os/seastore/EPM: clear allocators when close

SeaStore::mkfs() and mount() will both invoke
TransactionManager::add_segment_manager(). Without clearing allocators,
EPM will add the same allocator multiple times.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/extent_placement_manager.h
src/crimson/os/seastore/seastore.cc