]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
librbd: list-snaps needs to writeout fancy-striped extents 37074/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 22 Sep 2020 19:24:38 +0000 (15:24 -0400)
committerJason Dillaman <dillaman@redhat.com>
Fri, 25 Sep 2020 18:43:47 +0000 (14:43 -0400)
commitb48c7255fca67213a1d0766b9bdb15f992ad3617
tree9d6d36c00a1024daaa85baf1c0efeabea1cb02ac
parent5bb9c5ecc7cb2f6492d0b49c6ac073d8608c1301
librbd: list-snaps needs to writeout fancy-striped extents

If the delta is being generated for a fancy-stiped extent such that
the provided object extents are not within the actual snapshot deltas,
we still need to indicate that the object exists (as a whiteout) to
prevent the possibility of an incorrect read request to the parent.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/librbd/io/ObjectRequest.cc
src/librbd/io/ObjectRequest.h