Re: [f2fs-dev] [PATCH v2] f2fs: evict: truncate page cache before clear_inode

0 views
Skip to first unread message

kth...@gmail.com

unread,
Mar 19, 2026, 12:57:43 PM (4 days ago) Mar 19
to ch...@kernel.org, jae...@kernel.org, linux-f2...@lists.sourceforge.net, syzkall...@googlegroups.com, linux-...@vger.kernel.org
Hi Chao,

Yes, I agree with your point.

I also think 2) is useful to detect the corrupted inode earlier and to
make the issue visible through log and returned error.

But 2) alone does not seem sufficient, because we can still reach inode
cleanup later, and then `f2fs_evict_inode()` can still go through the
inline conversion path.

So it makes sense to me that we need both:

1. earlier detection / guarding in sanity check
2. fixing the empty inline conversion path so page #0 cache is not left
behind

If this understanding is correct, I will prepare the fix in that
direction.

Thanks.

Chao Yu

unread,
Mar 22, 2026, 11:14:20 PM (3 hours ago) Mar 22
to kth...@gmail.com, jae...@kernel.org, linux-f2...@lists.sourceforge.net, ch...@kernel.org, syzkall...@googlegroups.com, linux-...@vger.kernel.org
Please go ahead w/ this, thank you!

Thanks,

>
> Thanks.

Reply all
Reply to author
Forward
0 new messages