diff options
| author | Zhang Yi <yi.zhang@huawei.com> | 2025-11-29 18:32:45 +0800 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-01-18 11:23:34 -0500 |
| commit | a5567347b6f5e888c56274d710b8f9525dbd57d0 (patch) | |
| tree | 94422b21681a9bc31c375f134bd41add6286da83 /include/linux/i2c/git@git.tavy.me:linux.git | |
| parent | b32e61cf6470ced0a70f20c9b513511a4e79b390 (diff) | |
ext4: replace ext4_es_insert_extent() when caching on-disk extents
In ext4, the remaining places for inserting extents into the extent
status tree within ext4_ext_determine_insert_hole() and
ext4_map_query_blocks() directly cache on-disk extents. We can use
ext4_es_cache_extent() instead of ext4_es_insert_extent() in these
cases. This will help reduce unnecessary increases in extent sequence
numbers and cache invalidations after supporting IOMAP in the future.
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Baokun Li <libaokun1@huawei.com>
Message-ID: <20251129103247.686136-14-yi.zhang@huaweicloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'include/linux/i2c/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
