]> git.ipfire.org Git - thirdparty/linux.git/commit
fat: Sync and invalidate metadata buffers from fat_evict_inode()
authorJan Kara <jack@suse.cz>
Thu, 26 Mar 2026 09:54:09 +0000 (10:54 +0100)
committerChristian Brauner <brauner@kernel.org>
Thu, 26 Mar 2026 14:03:28 +0000 (15:03 +0100)
commit63f1f4b6c9c805e0eebbf49de5fb19deea1bcdd8
treee91f1ee8cfb01d03428c31aa843e45dda07b3d67
parent5f36c9ca33336036a087b270e68e8236c733f448
fat: Sync and invalidate metadata buffers from fat_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.

Signed-off-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260326095354.16340-57-jack@suse.cz
Tested-by: syzbot@syzkaller.appspotmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>
fs/fat/inode.c