]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: do not invalidate oversized object map
authorJason Dillaman <dillaman@redhat.com>
Tue, 10 Mar 2015 05:11:38 +0000 (01:11 -0400)
committerJosh Durgin <jdurgin@redhat.com>
Tue, 10 Mar 2015 22:41:46 +0000 (15:41 -0700)
commit0212ae4651b9eb1b20bbddb59a48b5ba1e418357
tree6ab090c93665f41ea7384cc18f9f163ded4c4487
parent7f246b8962db8d1ff2f0303db22a2c3997f6720a
librbd: do not invalidate oversized object map

If the object map is too large for the current image, it implies
that a resize operation was interrupted.  It should only be
considered invalid if the object map is smaller than the image,
which shouldn't be possible.

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