[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <164058326343.3172825.1428893556687431566.b4-ty@mit.edu>
Date: Mon, 27 Dec 2021 00:34:39 -0500
From: "Theodore Ts'o" <tytso@....edu>
To: adilger.kernel@...ger.ca, brookxu <brookxu.cn@...il.com>
Cc: "Theodore Ts'o" <tytso@....edu>, riteshh@...ux.ibm.com,
linux-kernel@...r.kernel.org, linux-ext4@...r.kernel.org,
jack@...e.cz
Subject: Re: [PATCH v3] ext4: fix a possible ABBA deadlock dued to busy PA
On Tue, 23 Nov 2021 09:17:57 +0800, brookxu wrote:
> From: Chunguang Xu <brookxu@...cent.com>
>
> We found on older kernel (3.10) that in the scenario of insufficient
> disk space, system may trigger an ABBA deadlock problem, it seems that
> this problem still exists in latest kernel, try to fix it here. The
> main process triggered by this problem is that task A occupies the PA
> and waits for the jbd2 transaction finish, the jbd2 transaction waits
> for the completion of task B's IO (plug_list), but task B waits for
> the release of PA by task A to finish discard, which indirectly forms
> an ABBA deadlock. The related calltrace is as follows:
>
> [...]
Applied, thanks!
[1/1] ext4: fix a possible ABBA deadlock dued to busy PA
commit: 1754b684bf05c9c00b40e745a57f9ca9696ad9c1
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists