]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commit
crimson/os/seastore/cache: get_absent_extent to accept pin_crc
authorMatan Breizman <mbreizma@redhat.com>
Sun, 7 Dec 2025 10:31:41 +0000 (10:31 +0000)
committerMatan Breizman <mbreizma@redhat.com>
Mon, 8 Dec 2025 16:50:07 +0000 (16:50 +0000)
commit3d89478817e6da0985cc6a28e591a6059725d7d4
tree641ecab1fd43676eb499d5f60c9ca712191e1ae7
parenteb38c065dd94ab81720057720ee8fda46adde735
crimson/os/seastore/cache: get_absent_extent to accept pin_crc

Allow pin_to_extent_by_type and pin_to_extent to pass the pin CRC.
As get_absent_extent and read_extent has other users which are not
pin_to_extent - use CRC_NULL as the default value.
This change would allow us to move the integrity checks to _read_extent.
See next commit.

Signed-off-by: Matan Breizman <mbreizma@redhat.com>
src/crimson/os/seastore/cache.cc
src/crimson/os/seastore/cache.h
src/crimson/os/seastore/transaction_manager.h