]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/deep-copy: compute parent overlap before computing zero extents
authorJason Dillaman <dillaman@redhat.com>
Fri, 5 Feb 2021 18:33:16 +0000 (13:33 -0500)
committerJason Dillaman <dillaman@redhat.com>
Mon, 8 Feb 2021 14:23:35 +0000 (09:23 -0500)
commitf1c6147623fc7876f7f9cc7beda98d1f7edf9e68
tree6cd3282925e1c7de6cb6878b581a81e47504097f
parent094bfeaf8efe1c4794a2b301314eddedfa5246f9
librbd/deep-copy: compute parent overlap before computing zero extents

An object might not overlap with its parent so avoid injecting an empty
object to hide the non-existent parent.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/deep_copy/ObjectCopyRequest.cc