]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
crimson/osd/osd_operations/snaptrim_event: add op lifetime comment
authorMatan Breizman <mbreizma@redhat.com>
Mon, 27 Nov 2023 11:33:28 +0000 (11:33 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Tue, 9 Jan 2024 09:24:22 +0000 (09:24 +0000)
Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/osd/osd_operations/snaptrim_event.cc

index da2c6298177b4a2ad30c0a9a0929fa07f15d4c80..b2e294316dbc9f9c43b8a61e52123499c3a735d5 100644 (file)
@@ -196,6 +196,8 @@ SnapTrimEvent::start()
     logger().debug("{}: interrupted {}", *this, eptr);
     return crimson::ct_error::eagain::make();
   }, pg).finally([this] {
+    // This SnapTrimEvent op lifetime is maintained within
+    // PerShardState::start_operation() implementation.
     logger().debug("{}: exit", *this);
     handle.exit();
   });