]> 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>
Tue, 10 May 2016 16:49:17 +0000 (12:49 -0400)
commite653a1541ca7df29d01e8524a3f3b597fa0fb67b
treeaf8f7d47c87d3f451363165c59a43fad69452647
parenta5996e5ad64e01fcde50fc46bf9861b2d163f0c4
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>
(cherry picked from commit ce5c701bc47b0959f8453b6b92dee4804d3b1d75)
src/librbd/image/RefreshRequest.cc
src/librbd/image/RefreshRequest.h