]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls_rbd: object_map_resize shrink protection
authorJason Dillaman <dillaman@redhat.com>
Sun, 25 Jan 2015 18:56:02 +0000 (13:56 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 29 Jan 2015 02:12:53 +0000 (21:12 -0500)
commitf4b9442a88b88c7a5437e8307e9b2c125308feca
tree1c770f37645a636473b1f9f9993ca81032a93eaf
parent91f24f341ab30d3712331263c7024aeedd66bf5a
cls_rbd: object_map_resize shrink protection

When shrinking an object map, object_map_resize now ensures
that the objects being removed are initialized to default
state to protect against losing track of in-use objects.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/cls/rbd/cls_rbd.cc
src/test/cls_rbd/test_cls_rbd.cc