]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: race when disabling object map with overlapping in-flight writes 36656/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 18 Jun 2020 19:20:40 +0000 (15:20 -0400)
committerNathan Cutler <ncutler@suse.com>
Sat, 15 Aug 2020 13:14:58 +0000 (15:14 +0200)
commit57d9372f07315780db21f3c94b68402eee0bf6db
treee6ba3e3b328d0971b56e83c65c85feb700daf272
parent35adebe94e8b0a17e7b56379a8bf24e5f7b8ced4
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>
(cherry picked from commit ee69323cd27263cb7f9dd97dcbfb1c36f1cc0837)
src/librbd/ObjectMap.cc
src/librbd/ObjectMap.h