]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: prevent concurrent image refreshes
authorJason Dillaman <dillaman@redhat.com>
Tue, 14 Jul 2015 13:06:59 +0000 (09:06 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 13 Nov 2015 01:17:54 +0000 (20:17 -0500)
commitbe9d26f57443a52649c5c3d8f9034d9117ff36c5
tree83afb0d4a2540591595ce2e9aa11103db4a9c97a
parentdcd3a6520c3505643c5c1cd577092b3e528c7dd0
librbd: prevent concurrent image refreshes

With multiple concurrent AIO requests, it's possible for multiple
image refreshes to be scheduled.

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