]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
librbd/io: only track initial diff extents if no diffs exists
authorJason Dillaman <dillaman@redhat.com>
Wed, 3 Feb 2021 15:13:28 +0000 (10:13 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 4 Feb 2021 16:33:30 +0000 (11:33 -0500)
commit688cbf3da38025b48be1e308f79170c40f0760d3
treeb76a38e95157ecc5de475a026871665203474a48
parentb81cd2460de748c71210520f8c819895f257f0c7
librbd/io: only track initial diff extents if no diffs exists

The purpose of the initial diff extents ({0, 0}) was to help track
whether or not objects exists for read-from-parent / whiteout
tracking. Once we have at least one set of diffs on the object, we
actually have enough information to know about the object state.

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