]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/seastore: add a TODO comment regarding is_data_stable() 57506/head
authormyoungwon oh <ohmyoungwon@gmail.com>
Fri, 19 Apr 2024 04:57:52 +0000 (04:57 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Thu, 16 May 2024 11:46:00 +0000 (14:46 +0300)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
(cherry picked from commit 5df6ffc79b415def0b7984096413e9562e83399a)

src/crimson/os/seastore/object_data_handler.cc

index 6b1fb45b1ae83f822b7237fa2035d3311f435d21..a060da2be23d8130551b15277a822a748521d004 100644 (file)
@@ -297,6 +297,7 @@ overwrite_ops_t prepare_ops_list(
   interval_set<uint64_t> pre_alloc_addr_removed, pre_alloc_addr_remapped;
   if (delta_based_overwrite_max_extent_size) {
     for (auto &r : ops.to_remove) {
+      // TODO: Introduce LBAMapping::is_data_stable() to include EXIST_CLEAN extents
       if (r->is_stable() && !r->is_zero_reserved()) {
        pre_alloc_addr_removed.insert(r->get_key(), r->get_length());