]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore: change the category of COLL_BLOCK
authorZhang Song <zhangsong325@gmail.com>
Tue, 10 Jan 2023 09:01:57 +0000 (17:01 +0800)
committerZhang Song <zhangsong325@gmail.com>
Wed, 15 Mar 2023 01:21:08 +0000 (09:21 +0800)
Signed-off-by: Zhang Song <zhangsong325@gmail.com>
src/crimson/os/seastore/seastore_types.h

index 756865cf6e33ca6246001527327cb2136af48cbb..7d7fd395c8c1c41e120c2107fe0c262d3f4fe649 100644 (file)
@@ -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;