]> git.ipfire.org Git - thirdparty/linux.git/commit
ext4: Sync and invalidate metadata buffers from ext4_evict_inode()
authorJan Kara <jack@suse.cz>
Thu, 26 Mar 2026 09:54:13 +0000 (10:54 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 26 Mar 2026 14:03:29 +0000 (15:03 +0100)
commit77ff1ff2f3c5b333ac9d049e90570eb404549a4a
treed31318f44a3de9996f1591353c66802d74e9f29a
parent4211dc89c31cb2a896a48de935e036775310380e
ext4: Sync and invalidate metadata buffers from ext4_evict_inode()

There are only very few filesystems using generic metadata buffer head
tracking and everybody is paying the overhead. When we remove this
tracking for inode reclaim code .evict will start to see inodes with
metadata buffers attached so write them out and prune them.

Acked-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260326095354.16340-61-jack@suse.cz
Tested-by: syzbot@syzkaller.appspotmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/ext4/inode.c
fs/ext4/super.c