]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd: diff_iterate needs to handle holes in parent images 5843/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 8 Sep 2015 19:47:37 +0000 (15:47 -0400)
committerJason Dillaman <dillaman@redhat.com>
Tue, 8 Sep 2015 19:47:37 +0000 (15:47 -0400)
commit3ccc3bb4bd35e57209852d460633e371b4d004e2
treefa9ab01882f9df63b80433ca25f2e8dab746fdd8
parentd5650c9cf85188efa73b279c8f4e4723fa475308
librbd: diff_iterate needs to handle holes in parent images

If a clone's parent image snapshot includes a discarded extent,
this was previously causing an assert failure.  Instead, ignore
any discard holes in the parent image.

Fixes: #12885
Backport: hammer
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/DiffIterate.cc