]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: avoid applying refreshed image config within librados callback
authorJason Dillaman <dillaman@redhat.com>
Mon, 2 May 2016 13:27:29 +0000 (09:27 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 2 May 2016 14:35:57 +0000 (10:35 -0400)
commitce5c701bc47b0959f8453b6b92dee4804d3b1d75
tree93fc6e9dd193917b8b1d09e1dee0ddbfdb916d5c
parent06faf83bbfab000c8200a9cbe781adb0082b3f7b
librbd: avoid applying refreshed image config within librados callback

There is a potential that a synchronous API call could deadlock a
image refresh.

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