]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore/transaction: remove unused retired_uncached
authorYingxin Cheng <yingxin.cheng@intel.com>
Mon, 5 Jul 2021 03:29:57 +0000 (11:29 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Tue, 6 Jul 2021 02:18:20 +0000 (10:18 +0800)
Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/transaction.h

index ef77e17924ab05269d9267e6837d05f60768139a..4e95fc32bfcebbf0b72609af7ecad2e5e2b7f481 100644 (file)
@@ -68,10 +68,6 @@ public:
     }
   }
 
-  void add_to_retired_uncached(paddr_t addr, extent_len_t length) {
-    retired_uncached.emplace_back(std::make_pair(addr, length));
-  }
-
   void add_to_read_set(CachedExtentRef ref) {
     if (is_weak()) return;
 
@@ -179,7 +175,6 @@ public:
     mutated_block_list.clear();
     retired_set.clear();
     to_release = NULL_SEG_ID;
-    retired_uncached.clear();
     retired_gate_token.reset(initiated_after);
     conflicted = false;
   }
@@ -209,8 +204,6 @@ private:
   ///< if != NULL_SEG_ID, release this segment after completion
   segment_id_t to_release = NULL_SEG_ID;
 
-  std::vector<std::pair<paddr_t, extent_len_t>> retired_uncached;
-
   retired_extent_gate_t::token_t retired_gate_token;
 
   bool conflicted = false;