]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: fast diff should treat all _EXISTS objects as dirty 4603/head
authorJason Dillaman <dillaman@redhat.com>
Thu, 7 May 2015 01:28:25 +0000 (21:28 -0400)
committerJason Dillaman <dillaman@redhat.com>
Thu, 7 May 2015 01:28:25 +0000 (21:28 -0400)
commit819c9800dfb92c935277a38d769cb7a93a8c79db
treec77cbdb8e2849dc9045d23402949bed7c88e8e3a
parenta7ffd8d19b3721dfb6119698d576c5e54ed8981e
librbd: fast diff should treat all _EXISTS objects as dirty

With the fast-diff feature enabled, if the object map marks the
object as _EXISTS, it can only occur due to a write -- otherwise
it would be _EXISTS_CLEAN.  Therefore, ensure it is properly
flagged as an updated object for diff_iterate.

Fixes: #11553
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/internal.cc