mbox series

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

Message ID 20240710022628.1227996-1-chengzhihao1@huawei.com
Headers show
Series ubifs: Fix deadlock between inode reclaiming and host inode writing | expand

Message

Zhihao Cheng July 10, 2024, 2:26 a.m. UTC
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(-)

Comments

Zhihao Cheng July 12, 2024, 6:40 a.m. UTC | #1
在 2024/7/10 10:26, Zhihao Cheng 写道:
> 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(-)
> 

Please ignore this series of patches, the v2 version can be found here:
[1] 
https://lore.kernel.org/linux-mtd/37c29c42-7685-d1f0-067d-63582ffac405@huaweicloud.com/T/#u
[2] 
https://lore.kernel.org/linux-mtd/20240712063625.3363974-1-chengzhihao1@huawei.com/T/#t