]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore: get_next_dirty_extents: record in transaction read set
authorSamuel Just <sjust@redhat.com>
Fri, 20 Aug 2021 08:03:22 +0000 (01:03 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 26 Aug 2021 20:49:09 +0000 (13:49 -0700)
commitcd044ad1cc992d6c27796250e518d47a645f84b1
tree8a60f8a4b5f01d65cbe911293cbcefe38f632ce8
parent0423a1c34e186d4b30c6202b97adcf0fcc6566e1
crimson/os/seastore: get_next_dirty_extents: record in transaction read set

Record the extents in the read set after wait_io() as in get_extent.  This
should ensure that the interruptible_future machinery will handle the
event that one of them gets invalidated prior to beging rewritten.

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