]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
crimson/os/seastore/cache: init extents prior to read 44281/head
authorSamuel Just <sjust@redhat.com>
Fri, 10 Dec 2021 22:31:00 +0000 (14:31 -0800)
committerSamuel Just <sjust@redhat.com>
Fri, 10 Dec 2021 22:57:32 +0000 (14:57 -0800)
commit62f3cf1a3d1dff4fea0e1dfd5fe4473ef08e9d1c
tree07872072d58cf663792fb282dc107c552f490a8e
parent96390d5f9e8d31ab6f820f62b28728b08def0c70
crimson/os/seastore/cache: init extents prior to read

Thus should ensure that any captured members of extent_init_func are
still valid at the cost of not being able to access the contents of the
extent at invocation time.  With this, we should be able to rely on any
logical extents/lba extents in the cache having validly initialized lba
pins.

Fixes: https://tracker.ceph.com/issues/53555
Signed-off-by: Samuel Just <sjust@redhat.com>
src/crimson/os/seastore/cache.h