diff options
| author | Filipe Manana <[email protected]> | 2025-03-25 17:26:37 +0000 |
|---|---|---|
| committer | David Sterba <[email protected]> | 2025-05-15 12:30:40 +0000 |
| commit | c4669e4a8b660143ad1fc9743dcb2a3d81a74b42 (patch) | |
| tree | 4881c2c3dfe646b92b7b2fa2b110fda733612c36 /fs/btrfs/delayed-inode.c | |
| parent | btrfs: allow folios to be released while ordered extent is finishing (diff) | |
| download | kernel-c4669e4a8b660143ad1fc9743dcb2a3d81a74b42.tar.gz kernel-c4669e4a8b660143ad1fc9743dcb2a3d81a74b42.zip | |
btrfs: pass a pointer to get_range_bits() to cache first search result
Allow get_range_bits() to take an extent state pointer to pointer argument
so that we can cache the first extent state record in the target range, so
that a caller can use it for subsequent operations without doing a full
tree search. Currently the only user is try_release_extent_state(), which
then does a call to __clear_extent_bit() which can use such a cached state
record.
Signed-off-by: Filipe Manana <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'fs/btrfs/delayed-inode.c')
0 files changed, 0 insertions, 0 deletions
