]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
cls_rbd: set_flags can now update snapshots
authorJason Dillaman <dillaman@redhat.com>
Thu, 12 Mar 2015 16:56:14 +0000 (12:56 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 12 Mar 2015 16:56:14 +0000 (12:56 -0400)
commit2d86898de1c58f800f6262904c27a0160e1648a1
tree3d777143406ce59525f48bb8f21b238da394cd29
parent3e1023a69723b876d8afe343b32213fe424379c1
cls_rbd: set_flags can now update snapshots

It's possible for an object map to be invalid only for
a snapshot, so allow snapshot flags to be updated. This
will also be required when rebuilding the object map and
clearing the invalid flag.

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