From 0557263c4fb3692b5411cba8fe5fa3adde224ffc Mon Sep 17 00:00:00 2001 From: Zhang Song Date: Tue, 10 Jan 2023 17:01:57 +0800 Subject: [PATCH] crimson/os/seastore: change the category of COLL_BLOCK Signed-off-by: Zhang Song (cherry picked from commit 9283b72e476f306a8926aa2f7ae191ca8705fcd4) --- src/crimson/os/seastore/seastore_types.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/crimson/os/seastore/seastore_types.h b/src/crimson/os/seastore/seastore_types.h index 756865cf6e3..7d7fd395c8c 100644 --- a/src/crimson/os/seastore/seastore_types.h +++ b/src/crimson/os/seastore/seastore_types.h @@ -1189,8 +1189,7 @@ enum class data_category_t : uint8_t { std::ostream &operator<<(std::ostream &out, data_category_t c); constexpr data_category_t get_extent_category(extent_types_t type) { - if (type == extent_types_t::OBJECT_DATA_BLOCK || - type == extent_types_t::COLL_BLOCK) { + if (type == extent_types_t::OBJECT_DATA_BLOCK) { return data_category_t::DATA; } else { return data_category_t::METADATA; -- 2.39.5