Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

udf: Sync and invalidate metadata buffers from udf_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-58-jack@suse.cz
Tested-by: syzbot@syzkaller.appspotmail.com
Signed-off-by: Christian Brauner <brauner@kernel.org>

authored by

Jan Kara and committed by
Christian Brauner
153e5960 63f1f4b6

+2
+2
fs/udf/inode.c
··· 154 154 } 155 155 } 156 156 truncate_inode_pages_final(&inode->i_data); 157 + if (!want_delete) 158 + sync_mapping_buffers(&inode->i_data); 157 159 invalidate_inode_buffers(inode); 158 160 clear_inode(inode); 159 161 kfree(iinfo->i_data);