diff options
| author | Baokun Li <[email protected]> | 2024-08-22 02:35:43 +0000 |
|---|---|---|
| committer | Theodore Ts'o <[email protected]> | 2024-09-04 02:12:18 +0000 |
| commit | a2c613b8c4860d5e70010e7391fff727c5d96bab (patch) | |
| tree | 2396ab85ce86a9287e8c001d959e03284fa1c057 /fs/ext4/fast_commit.c | |
| parent | ext4: get rid of ppath in convert_initialized_extent() (diff) | |
| download | kernel-a2c613b8c4860d5e70010e7391fff727c5d96bab.tar.gz kernel-a2c613b8c4860d5e70010e7391fff727c5d96bab.zip | |
ext4: refactor ext4_swap_extents() to reuse extents path
The ext4_find_extent() can update the extent path so it doesn't have to
allocate and free path repeatedly, thus reducing the consumption of memory
allocation and freeing in ext4_swap_extents().
Signed-off-by: Baokun Li <[email protected]>
Reviewed-by: Jan Kara <[email protected]>
Reviewed-by: Ojaswin Mujoo <[email protected]>
Tested-by: Ojaswin Mujoo <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Theodore Ts'o <[email protected]>
Diffstat (limited to 'fs/ext4/fast_commit.c')
0 files changed, 0 insertions, 0 deletions
