]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: simplify SnapTrimObjSubEvent::start()
authorRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 13 Dec 2022 13:28:43 +0000 (13:28 +0000)
committerRadoslaw Zarzynski <rzarzyns@redhat.com>
Tue, 28 Feb 2023 16:22:05 +0000 (16:22 +0000)
commit6dce7df4407e922affd99fbb0d471d300cfbf1d2
treead7a2ec26dd1fca238303880c9580b39c17febc1
parent877c272c2f21938dde604e35c51a7ce604a9f556
crimson/osd: simplify SnapTrimObjSubEvent::start()

Throwing away the NOP-looking-like `maybe_delay` concept became
possible after eradication of the `with_interruption` call nested
within `SnapTrimSubEvent`. Before, on Ubuntu and GCC 11.2.1, lack
of it was the reson behind assertion failures on resetting the
`thread_local` intteruption condition.

Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
src/crimson/osd/osd_operations/snaptrim_event.cc