]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: skip invalidating an invalid object map
authorJason Dillaman <dillaman@redhat.com>
Wed, 4 Feb 2015 07:50:57 +0000 (02:50 -0500)
committerJosh Durgin <jdurgin@redhat.com>
Mon, 16 Feb 2015 21:27:35 +0000 (13:27 -0800)
commit32e259c56c1ece5ca561dbd4d078f7e34c42bf30
tree2c1c71b4648994e3a7aefd650e58cee416a80042
parent4638eaf775a67073d4f0a6a205a9650871fe8dc2
librbd: skip invalidating an invalid object map

If the object map is already flagged as invalid, avoid
attempting to set the invalid object map flag again.

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