]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: diffs to clone's first snapshot should include parent diffs 12446/head
authorJason Dillaman <dillaman@redhat.com>
Mon, 12 Dec 2016 16:53:00 +0000 (11:53 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 12 Dec 2016 16:59:32 +0000 (11:59 -0500)
commitc4f1b42810339b5b45b48f74c3ff0ae661a8807a
treefc7c4b7bb3a2e3467ae64fcc1642104c6e1b3e61
parentbfda134f6844d6e238052e4f1900f3d2e7497d5e
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.

Hammer-specific implementation due to librbd refactoring during the
Infernalis release.

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