Re: [PATCH v14 0/4] ext4: deferred iput framework for EA inodes

"Theodore Ts'o" <[email protected]>
Newsgroups org.kernel.vger.linux-ext4,org.kernel.vger.linux-fsdevel,org.kernel.vger.linux-kernel
Message-ID <178481171721.796182.16168303721890374305.b4-ty@b4>
On Fri, 10 Jul 2026 11:08:47 +0800, Yun Zhou wrote:
> This series introduces a deferred-iput framework for EA inodes to
> eliminate a class of lock ordering issues in ext4 xattr code.
> 
> The problem: iput() on EA inodes while holding xattr_sem or a jbd2
> handle can trigger eviction, which may acquire those same locks or
> s_writepages_rwsem, creating circular dependencies.  The immediate
> deadlock (during mount-time orphan cleanup) is fixed by two separate
> patches already reviewed and posted:
> 
> [...]

Applied, thanks!

[1/4] fs: add iput_if_not_last() helper
      commit: 2a4c637d6fab83b689aea834d8e725189a2ef370
[2/4] ext4: introduce ext4_put_ea_inode() for safe deferred iput
      commit: 4f48af3dc75545f6c874e7d195aeff009c7453ba
[3/4] ext4: convert all EA inode iput() calls to ext4_put_ea_inode()
      commit: a54778243e88f2a941e145e5afa43bd1619c0a66
[4/4] ext4: remove ea_inode_array mechanism in favor of ext4_put_ea_inode()
      commit: 3a00c9bc8ea5b816eac165550a4676a3bcde7f2d

Best regards,
-- 
Theodore Ts'o <[email protected]>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.