]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: invalidate object map on error even w/o holding lock 6289/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 6 Oct 2015 16:31:59 +0000 (12:31 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 15 Oct 2015 21:32:05 +0000 (17:32 -0400)
commitaf734e63f28ac5af414b6507c945ffd9e736d5cf
tree6a136059ae6df6ae1bca464d5acb07349e74ad61
parent7f485ed5aa620fe982561663bf64356b7e2c38f2
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>
(cherry picked from commit e675400df7f8ba796d60e9bac4234857f0cb1392)

 Conflicts:
src/librbd/ObjectMap.h/cc: hammer branch doesn't support rebuild
src/librbd/ObjectMap.cc
src/librbd/ObjectMap.h