]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc: Fix race condition with tick_event and shutdown 7151/head
authorAdam C. Emerson <aemerson@redhat.com>
Thu, 7 Jan 2016 19:15:34 +0000 (14:15 -0500)
committerAdam C. Emerson <aemerson@redhat.com>
Thu, 7 Jan 2016 21:55:33 +0000 (16:55 -0500)
commit9179ce8ce04c8354d5da39f86b600ac1491c70f8
treea5721243489ebae81bdd74e198c82d3dce1af66f
parent6f76419742b8f81156b7450cb55a8eac834953b6
osdc: Fix race condition with tick_event and shutdown

  - Clear the tick_event whether it was in the timer queue or not.
  - Make sure we don't schedule a new tick_event if someone calls shutdown while
    tick() is running
  - Get rid of some assertions that aren't relevant

Fixes #14256
src/osdc/Objecter.cc