]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore/cache: replay_delta handle obsolete extents properly
authorSamuel Just <sjust@redhat.com>
Fri, 21 Aug 2020 21:32:55 +0000 (14:32 -0700)
committerSamuel Just <sjust@redhat.com>
Fri, 25 Sep 2020 19:41:11 +0000 (12:41 -0700)
commit5d4b43ad260db8d9cceeaae87583d81821ac8cfa
treea74f110cd14fb1697aece338cb285118d1f05d93
parent0cfc47814df00ded20b961ec2d6e5dfd11fc1a96
crimson/os/seastore/cache: replay_delta handle obsolete extents properly

If we see a delta at verison v (v != 0) and we haven't seen version v-1,
we know that the extent is obsolete and can be ignored (presuming that
journal trimming is behaving).

Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/cache.cc