]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: invalidating snapshot object maps should set snapshot flag 3981/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 12 Mar 2015 17:20:59 +0000 (13:20 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 12 Mar 2015 17:20:59 +0000 (13:20 -0400)
commitba77bda5541bbb69b691ea67fa5c1d0865c968bf
treea6627948fe9df1ae95fec84eeb4495ef43183f7d
parentba4bb22bc1522666174cbf010e6da6db37fcdffa
librbd: invalidating snapshot object maps should set snapshot flag

Instead of setting the HEAD image flag to indicate an invalid
object map, set the flag for the specific snapshot that is
invalid.

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