diff options
| author | Yun Zhou <yun.zhou@windriver.com> | 2026-06-23 14:19:03 +0800 |
|---|---|---|
| committer | Theodore Ts'o <tytso@mit.edu> | 2026-07-21 12:02:18 -0400 |
| commit | 2c0e4fb511f97467dafc91b6afb3414100289081 (patch) | |
| tree | a56efc9c92129b958bbfbb132911b65b26dc7e53 /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | 7461c60b9c6a839b13ad4c3490681a0cf5aa0637 (diff) | |
ext4: set EXT4_STATE_NO_EXPAND in ext4_evict_inode
An inode being evicted will never need its extra isize expanded. Set
EXT4_STATE_NO_EXPAND before ext4_mark_inode_dirty() in ext4_evict_inode()
to make this explicit and prevent any unnecessary work in
ext4_try_to_expand_extra_isize().
This also provides defense-in-depth for the s_writepages_rwsem deadlock
during mount-time orphan cleanup, ensuring the expand path is blocked
for inodes under eviction regardless of how they are reached.
Signed-off-by: Yun Zhou <yun.zhou@windriver.com>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260623061903.2148767-2-yun.zhou@windriver.com
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions
