Re: [PATCH v7 3/4] ext4: introduce ext4_put_ea_inode() for safe deferred iput

From: Zhou, Yun

Date: Mon Jun 22 2026 - 04:51:10 EST


On 6/22/26 16:32, Jan Kara wrote:
CAUTION: This email comes from a non Wind River email account!
Do not click links or open attachments unless you recognize the sender and know the content is safe.

On Fri 19-06-26 14:24:51, Zhou, Yun wrote:
Your idea makes a lot of sense. It greatly simplifies the current deferred
iput logic and eliminates the risk of failing to allocate an entry during
an OOM. However, as you mentioned, getting the VFS maintainers to agree
might be quite challenging.
VFS maintainers don't bite, in the worst case they'd disagree :) For a fact
I'm one of VFS reviewers and I think iput_if_not_last() idea is an
acceptable one. So I think it's worth trying.
Thanks a lot for the strong support, I'd be happy to give it a try. For now, please
just ignore the v8 patch series, as the AI reviewer actually found some issues with
it as well.

BR,
Yun