[PATCH 0/2] ubifs: Fix deadlock between inode reclaiming and host inode writing

Zhihao Cheng chengzhihao1 at huawei.com
Tue Jul 9 19:26:26 PDT 2024


Patch 1 optimizes logic process in function ubifs_jnl_write_inode().
Patch 2 fixes an ABBA deadlock problem based on the process by applying
patch 1.

Zhihao Cheng (2):
  ubifs: ubifs_jnl_write_inode: Only check once for the limitation of
    xattr count
  ubifs: Fix ABBA deadlock between inode reclaiming and deleted inode
    writing

 fs/ubifs/journal.c | 106 ++++++++++++++++++++++++++++-----------------
 1 file changed, 66 insertions(+), 40 deletions(-)

-- 
2.39.2




More information about the linux-mtd mailing list