Skip to content

Commit 5df6ffc

Browse files
committed
crimson/seastore: add a TODO comment regarding is_data_stable()
Signed-off-by: Myoungwon Oh <[email protected]>
1 parent 387c0c8 commit 5df6ffc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/crimson/os/seastore/object_data_handler.cc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -297,6 +297,7 @@ overwrite_ops_t prepare_ops_list(
297297
interval_set<uint64_t> pre_alloc_addr_removed, pre_alloc_addr_remapped;
298298
if (delta_based_overwrite_max_extent_size) {
299299
for (auto &r : ops.to_remove) {
300+
// TODO: Introduce LBAMapping::is_data_stable() to include EXIST_CLEAN extents
300301
if (r->is_stable() && !r->is_zero_reserved()) {
301302
pre_alloc_addr_removed.insert(r->get_key(), r->get_length());
302303

0 commit comments

Comments
 (0)