diff options
author | Baokun Li <libaokun1@huawei.com> | 2023-04-24 11:38:38 +0800 |
---|---|---|
committer | Theodore Ts'o <tytso@mit.edu> | 2023-06-26 19:35:12 -0400 |
commit | 95f0b320339a977cf69872eac107122bf536775d (patch) | |
tree | f2faba53cb7e7ed6be07dd14b70c6cccf45180d7 /tools/perf/scripts/python/task-analyzer.py | |
parent | 73a2f033656be11298912201ad50615307b4477a (diff) |
ext4: use pre-allocated es in __es_insert_extent()
Pass a extent_status pointer prealloc to __es_insert_extent(). If the
pointer is non-null, it is used directly when a new extent_status is
needed to avoid memory allocation failures.
Suggested-by: Jan Kara <jack@suse.cz>
Signed-off-by: Baokun Li <libaokun1@huawei.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://lore.kernel.org/r/20230424033846.4732-5-libaokun1@huawei.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions