]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd: cancel agent_timer events on shutdown 2085/head
authorSage Weil <sage@inktank.com>
Fri, 9 May 2014 15:41:33 +0000 (08:41 -0700)
committerSage Weil <sage@inktank.com>
Tue, 8 Jul 2014 23:13:54 +0000 (16:13 -0700)
commitc0dc245b662f1f9c640d7dd15fdf4cf26e729782
treee2a11570c4745696a825699652c54b6fd502f1c0
parentef40737eee4389faa7792661a0f9d15b3d0440f2
osd: cancel agent_timer events on shutdown

We need to cancel all agent timer events on shutdown.  This also needs to
happen early so that any in-progress events will execute before we start
flushing and cleaning up PGs.

Backport: firefly
Signed-off-by: Sage Weil <sage@inktank.com>
src/osd/OSD.cc
src/osd/OSD.h