]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: deterministically unblock writes on snap set 7761/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 23 Feb 2016 15:59:09 +0000 (10:59 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 23 Feb 2016 15:59:09 +0000 (10:59 -0500)
commite67099d036290626c9eafdbc283d84452df407fd
tree7fbb1aaeb6d1c58a629a7398b4716677fc6de429
parent514519a69f3bc87c35bd9320101191b92bae609d
librbd: deterministically unblock writes on snap set

Previously this was handled in the state machine's destructor,
but that can lead to nondeterministic behavior due to interactions
between threads.

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