]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: correct basic object map errors during refresh
authorJason Dillaman <dillaman@redhat.com>
Fri, 20 Mar 2015 16:16:14 +0000 (12:16 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 10 Apr 2015 18:10:04 +0000 (14:10 -0400)
commit1aa801a0135f4ee14d8323eed180f49bddfaea31
tree0c54e47089d241fabea07e75c5cc7a9a0ecdb8a1
parent18fd6ca7f59d5545f0bb0b0e899d0739639ce104
librbd: correct basic object map errors during refresh

If the object map is corrupt on-disk or too small for the image,
correct these basic issues as soon as possible.  The object map
is still flagged as invalid, but there will be less required repair
work if future IO is able to properly update the object map.

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