]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: object map is not properly updated when deleting clean objects 4530/head
authorJason Dillaman <dillaman@redhat.com>
Fri, 1 May 2015 18:41:40 +0000 (14:41 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 1 May 2015 19:07:40 +0000 (15:07 -0400)
commit05a5f269d06714c3e604786d9e12813a225c6071
tree3062ec6060d1986c064360614d3be33fc3598f79
parent47725aa6d2b87eea88d68ca52d159fc322d60206
librbd: object map is not properly updated when deleting clean objects

With the new fast diff feature flagging which objects haven't changed
between snapshots, unmodified objects are now flagged with a new state
code in the object map.  The OBJECT_EXISTS_CLEAN state needs to be
treated as if it were OBJECT_EXISTS when deleting.

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