]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Revert "crimson/os/seastore/seastore_types: define rewriting transactions"
authorMatan Breizman <mbreizma@redhat.com>
Mon, 9 Feb 2026 08:49:57 +0000 (08:49 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Mon, 9 Feb 2026 08:49:57 +0000 (08:49 +0000)
This reverts commit 1696011379dfa5f1558b3119d4936ef4943ecedf.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/os/seastore/seastore_types.h

index da2b265236f150ecb586e56091e6395a58e15c13..91197c040d7b2dab427b52f3224e3d6be6473cb4 100644 (file)
@@ -2262,12 +2262,6 @@ constexpr bool is_background_transaction(transaction_type_t type) {
           type < transaction_type_t::MAX);
 }
 
-constexpr bool is_rewrite_transaction(transaction_type_t type) {
-  return type == transaction_type_t::TRIM_DIRTY ||
-    type == transaction_type_t::CLEANER_MAIN ||
-    type == transaction_type_t::CLEANER_COLD;
-}
-
 constexpr bool is_trim_transaction(transaction_type_t type) {
   return (type == transaction_type_t::TRIM_DIRTY ||
       type == transaction_type_t::TRIM_ALLOC);