]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
seastore: add the comment to explain disable_trim
authormyoungwon oh <ohmyoungwon@gmail.com>
Thu, 12 May 2022 05:59:42 +0000 (14:59 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Thu, 19 May 2022 00:51:08 +0000 (09:51 +0900)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/crimson/os/seastore/segment_cleaner.h

index c41978896e2d6e02f8e6e5c2a247bcc30d79952a..bc9f09c08ebb69e2ee454adb0849e81e65211473 100644 (file)
@@ -690,7 +690,14 @@ private:
 
   SegmentSeqAllocatorRef ool_segment_seq_allocator;
 
-  bool disable_trim = false; // for test
+  /**
+   * disable_trim
+   *
+   * added to enable unit testing of CircularBoundedJournal before
+   * proper support is added to SegmentCleaner.
+   * Should be removed once proper support is added. TODO
+   */
+  bool disable_trim = false;
 public:
   SegmentCleaner(
     config_t config,