]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls_rbd: added object_map_snap_add and object_map_snap_remove methods
authorJason Dillaman <dillaman@redhat.com>
Wed, 25 Mar 2015 14:08:14 +0000 (10:08 -0400)
committerJason Dillaman <dillaman@redhat.com>
Mon, 13 Apr 2015 19:24:14 +0000 (15:24 -0400)
commit11fd7a9a2ba8d44f445f5a76b52a30ff593e8cff
tree107e35e99dbff398be3172477d1f565cf5c11986
parent4ac584c34d576b489ed4c4862703b8fb427b3bc2
cls_rbd: added object_map_snap_add and object_map_snap_remove methods

object_map_snap_add is invoked after creating a new snapshot to flag
all in-use HEAD objects within as clean.  object_map_snap_remove is
invoked after a snapshot is removed in order to clear the clean flag
on all in-use objects.

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