From 8a2e90595fce9ccf76c0b51e4c333e122c7d0561 Mon Sep 17 00:00:00 2001 From: chunmei-liu Date: Tue, 27 Oct 2020 16:43:53 -0700 Subject: [PATCH] crimson/seastore: add ExtentMap node type in cache.cc Signed-off-by: chunmei-liu --- src/crimson/os/seastore/cache.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/crimson/os/seastore/cache.cc b/src/crimson/os/seastore/cache.cc index ce09bc7a333ef..1b2a22391ce82 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: -- 2.39.5