[RFC 0/1] ubifs: inode deletion deadlock

Wang Zhaolong wangzhaolong1 at huawei.com
Wed Jul 10 20:12:55 PDT 2024



> Hi.
> 
> While the previous patch set [1] aimed to address the ABBA deadlock between
> inode reclaiming and deleted inode writing, I discovered that the problem
> still persists in the form of an AA deadlock after applying those changes.
> 
> The core issue is that although [1] avoids the ABBA deadlock by getting the
> xattr inodes before locking BASEHD's wbuf->io_mutex. But the inode reclaiming
> process can still get stuck waiting for the xattr inodes that have already
> been marked as I_FREEING.
> 

My bad, I need to add the link [1]

https://patchwork.ozlabs.org/project/linux-mtd/list/?series=414540 [1]



More information about the linux-mtd mailing list