]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: diffs to clone's first snapshot should include parent diffs 12218/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 29 Nov 2016 16:24:39 +0000 (11:24 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 29 Nov 2016 16:27:49 +0000 (11:27 -0500)
commit45eda01fb3951fbe7e4bd70e20b74570b49852ce
tree07e577a114016da591a19bf7f384415e0bd46ec6
parentbfa66be2b0e8f95cbd38699e3082db15b1156183
librbd: diffs to clone's first snapshot should include parent diffs

If the clone has a backing object created after the snapshot that
overwrites an extent of the parent, the parent diffs within that
extent are not included in the result.

Fixes: http://tracker.ceph.com/issues/18068
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/DiffIterate.cc
src/test/librbd/test_internal.cc