]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/os/seastore: add FIXME to consider pending extent with absolute paddr 49710/head
authorYingxin Cheng <yingxin.cheng@intel.com>
Wed, 11 Jan 2023 02:04:14 +0000 (10:04 +0800)
committerYingxin Cheng <yingxin.cheng@intel.com>
Mon, 16 Jan 2023 02:55:09 +0000 (10:55 +0800)
During object data overwrite.

Signed-off-by: Yingxin Cheng <yingxin.cheng@intel.com>
src/crimson/os/seastore/object_data_handler.cc
src/crimson/os/seastore/transaction_manager.h

index df29ea823661a699ddae6f1eef6a74dad7326e86..a4a9ace2ff39ad15a2ef2d34c0c7b03d8a6d193d 100644 (file)
@@ -415,6 +415,7 @@ private:
       actual_write_size -= left_ext_size;
       left_ext_size = 0;
       left_operation = overwrite_operation_t::OVERWRITE_ZERO;
+    // FIXME: left_paddr can be absolute and pending
     } else if (left_paddr.is_relative() ||
               left_paddr.is_delayed()) {
       aligned_data_size += left_ext_size;
@@ -426,6 +427,7 @@ private:
       actual_write_size -= right_ext_size;
       right_ext_size = 0;
       right_operation = overwrite_operation_t::OVERWRITE_ZERO;
+    // FIXME: right_paddr can be absolute and pending
     } else if (right_paddr.is_relative() ||
               right_paddr.is_delayed()) {
       aligned_data_size += right_ext_size;
index 2514d743011dcdbcdc5f245a746b30ac0aa00cf8..fddd1e2eecec683364589a4de02d9a27ec12ed4c 100644 (file)
@@ -355,6 +355,7 @@ public:
     paddr_t existing_paddr,
     extent_len_t length) {
     LOG_PREFIX(TransactionManager::map_existing_extent);
+    // FIXME: existing_paddr can be absolute and pending
     ceph_assert(existing_paddr.is_absolute());
     assert(t.is_retired(existing_paddr, length));