]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/osd: cancel timer when stopping
authorKefu Chai <kchai@redhat.com>
Sat, 24 Jul 2021 13:08:20 +0000 (21:08 +0800)
committerKefu Chai <kchai@redhat.com>
Sat, 24 Jul 2021 13:30:54 +0000 (21:30 +0800)
commitd6c931dc78833193ee863d30842488734d00c5ba
treecfb5da73d408558c2f1fca19e75259a8a41362be
parent9816cb99401452168b9a55979f43506ddc538235
crimson/osd: cancel timer when stopping

so that reactor does not complain when being stopped, like:

ERROR 2021-07-24 20:50:23,711 [shard 0] seastar - Timer callback failed: seastar::gate_closed_exception (gate closed)

Signed-off-by: Kefu Chai <kchai@redhat.com>
src/crimson/osd/osd.cc
src/crimson/osd/pg.cc