]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cls_rbd: get_flags now reads all snapshot flags
authorJason Dillaman <dillaman@redhat.com>
Tue, 3 Feb 2015 04:17:56 +0000 (23:17 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 3 Feb 2015 04:17:56 +0000 (23:17 -0500)
commit16e4d712ae70e11bb58e8ff451860054916d2ca1
treebdf8d442e742c25acc60e27b5e244adaace09f0e
parent9e9356b1d8a49ec03d2bc8df5ad08d894c10eabe
cls_rbd: get_flags now reads all snapshot flags

As a convenience, get_flags now retrieves the current image
flags as well as all historical snapshop flags with a single
librados operation.

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