]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: owner_lock should be held during flush request
authorJason Dillaman <dillaman@redhat.com>
Thu, 7 May 2015 18:17:37 +0000 (14:17 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 28 Jul 2015 20:36:35 +0000 (16:36 -0400)
commitbfe5b90921a3faaad0533388cb150cea20f47ae9
treed98fff8116c0aaefaeae2cb2ea7939231d218ca0
parent1e84fb05f48c146cc9d2d090be8c2d355326938b
librbd: owner_lock should be held during flush request

Flush might result in the cache writing out dirty objects, which
would require that the owner_lock be held.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit c9142fe35372cf69b7a56f334622a775a6b7c43f)
src/librbd/internal.cc
src/librbd/internal.h