Commit 9f11182
ext4: add a hole extent entry in cache after punch
In order to cache hole extents in the extent status tree and keep the
hole length as long as possible, re-add a hole entry to the cache just
after punching a hole.
Signed-off-by: Zhang Yi <yi.zhang@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20240127015825.1608160-5-yi.zhang@huaweicloud.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>1 parent 6430dea commit 9f11182
1 file changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4007 | 4007 | | |
4008 | 4008 | | |
4009 | 4009 | | |
| 4010 | + | |
4010 | 4011 | | |
4011 | 4012 | | |
4012 | 4013 | | |
4013 | 4014 | | |
4014 | | - | |
4015 | | - | |
| 4015 | + | |
4016 | 4016 | | |
4017 | 4017 | | |
4018 | 4018 | | |
| |||
4021 | 4021 | | |
4022 | 4022 | | |
4023 | 4023 | | |
| 4024 | + | |
| 4025 | + | |
4024 | 4026 | | |
4025 | 4027 | | |
4026 | 4028 | | |
| |||
0 commit comments