From: chunmei-liu Date: Tue, 27 Oct 2020 23:43:53 +0000 (-0700) Subject: crimson/seastore: add ExtentMap node type in cache.cc X-Git-Tag: v16.1.0~703^2~2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8a2e90595fce9ccf76c0b51e4c333e122c7d0561;p=ceph.git crimson/seastore: add ExtentMap node type in cache.cc Signed-off-by: chunmei-liu --- diff --git a/src/crimson/os/seastore/cache.cc b/src/crimson/os/seastore/cache.cc index ce09bc7a333..1b2a22391ce 100644 --- a/src/crimson/os/seastore/cache.cc +++ b/src/crimson/os/seastore/cache.cc @@ -131,6 +131,10 @@ CachedExtentRef Cache::alloc_new_extent_by_type( return alloc_new_extent(t, length); case extent_types_t::ONODE_BLOCK: return alloc_new_extent(t, length); + case extent_types_t::EXTMAP_INNER: + return alloc_new_extent(t, length); + case extent_types_t::EXTMAP_LEAF: + return alloc_new_extent(t, length); case extent_types_t::TEST_BLOCK: return alloc_new_extent(t, length); case extent_types_t::TEST_BLOCK_PHYSICAL: