diff options
| author | Chao Yu <chao@kernel.org> | 2025-03-25 16:13:21 +0800 |
|---|---|---|
| committer | Jaegeuk Kim <jaegeuk@kernel.org> | 2025-04-10 03:59:58 +0000 |
| commit | ecf68ffee7be3f012c978e8e31d7b243af340f77 (patch) | |
| tree | 29453fe9eea2b063756a0d9b91bc3e90b1f161c8 /tools/perf/scripts/python/flamegraph.py | |
| parent | 773704c1ef96a8b70d0d186ab725f50548de82c4 (diff) | |
f2fs: add a fast path in finish_preallocate_blocks()
This patch uses i_sem to protect access/update on f2fs_inode_info.flag
in finish_preallocate_blocks(), it avoids grabbing inode_lock() in
each open().
Signed-off-by: Chao Yu <chao@kernel.org>
Reviewed-by: Zhiguo Niu <zhiguo.niu@unisoc.com>
Signed-off-by: Jaegeuk Kim <jaegeuk@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
