Skip to content

Commit 1f478ca

Browse files
committed
crimson/osd/osd_operations/snaptrim_event: add op lifetime comment
Signed-off-by: Matan Breizman <[email protected]>
1 parent 1b85b8c commit 1f478ca

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/crimson/osd/osd_operations/snaptrim_event.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ SnapTrimEvent::start()
196196
logger().debug("{}: interrupted {}", *this, eptr);
197197
return crimson::ct_error::eagain::make();
198198
}, pg).finally([this] {
199+
// This SnapTrimEvent op lifetime is maintained within
200+
// PerShardState::start_operation() implementation.
199201
logger().debug("{}: exit", *this);
200202
handle.exit();
201203
});

0 commit comments

Comments
 (0)