]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/cache: mark conflict in get_extent
authorSamuel Just <sjust@redhat.com>
Thu, 24 Jun 2021 22:24:09 +0000 (15:24 -0700)
committerSamuel Just <sjust@redhat.com>
Thu, 24 Jun 2021 23:29:23 +0000 (16:29 -0700)
commit2bc257beb2ef1253e38c254745f42b3ac5db52de
tree831fe363a880673eae8bde7b212cda60dec5bc2e
parentadd641a286c4dda561d6d52a74da7f1fdc0762a7
crimson/os/seastore/cache: mark conflict in get_extent

After wait_io, the extent may have been mutated again, so it may be
invalid.  Check in the caller and mark the transaction conflicted as
needed.

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