]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: invalidate object map on error even w/o holding lock 6184/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 6 Oct 2015 16:31:59 +0000 (12:31 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 6 Oct 2015 16:31:59 +0000 (12:31 -0400)
commite675400df7f8ba796d60e9bac4234857f0cb1392
treef6c0001b154a42c7b6b43fb064950da67a7b1fb2
parentd0ecb0abbc33d4b753d8a61a0390c83d3b7af5a9
librbd: invalidate object map on error even w/o holding lock

If there is a deep bug that prevents the object map from owning
the lock before objects are updated, flag the object map as invalid
regardless.

Fixes: #13372
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/ObjectMap.cc
src/librbd/ObjectMap.h