]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
librbd: race when disabling object map with overlapping in-flight writes
authorJason Dillaman <dillaman@redhat.com>
Thu, 18 Jun 2020 19:20:40 +0000 (15:20 -0400)
committerJason Dillaman <dillaman@redhat.com>
Sat, 20 Jun 2020 08:48:36 +0000 (04:48 -0400)
commitee69323cd27263cb7f9dd97dcbfb1c36f1cc0837
treeba259f9d951e870eda57e7eda5d467c35db88c0d
parent3a0f015d28e1a90946d5bcdb9396c3f4bfde0cbe
librbd: race when disabling object map with overlapping in-flight writes

The block guard that protects against overlapping updates to the object
map needs to be flushed prior to closing the object map instance.

Fixes: https://tracker.ceph.com/issues/46083
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ObjectMap.cc
src/librbd/ObjectMap.h