]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: add AsyncRequest task enqueue helper method
authorJason Dillaman <dillaman@redhat.com>
Thu, 30 Apr 2015 19:17:54 +0000 (15:17 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 4 Jun 2015 20:51:02 +0000 (16:51 -0400)
commit218bc2d0f8d90c9c64408cb22e26680e88138844
treed1c5ec4d3d652dd039f3f202e9dfd564ec74a2db
parent66e74641baeed9aadb7e474d6e6b142b7725722d
librbd: add AsyncRequest task enqueue helper method

In order to support the invariant that all state machine
callbacks occur without holding locks, transitions that
don't always involve a librados call should queue their
callback.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/AsyncRequest.cc
src/librbd/AsyncRequest.h