[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175892300642.128029.8985774143396523898.b4-ty@mit.edu>
Date: Fri, 26 Sep 2025 17:47:44 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: linux-ext4@...r.kernel.org, Julian Sun <sunjunchao@...edance.com>
Cc: "Theodore Ts'o" <tytso@....edu>, jack@...e.cz, harshadshirwadkar@...il.com,
ritesh.list@...il.com
Subject: Re: [PATCH] ext4: Increase IO priority of fastcommit.
On Wed, 27 Aug 2025 20:18:12 +0800, Julian Sun wrote:
> The following code paths may result in high latency or even task hangs:
> 1. fastcommit io is throttled by wbt.
> 2. jbd2_fc_wait_bufs() might wait for a long time while
> JBD2_FAST_COMMIT_ONGOING is set in journal->flags, and then
> jbd2_journal_commit_transaction() waits for the
> JBD2_FAST_COMMIT_ONGOING bit for a long time while holding the write
> lock of j_state_lock.
> 3. start_this_handle() waits for read lock of j_state_lock which
> results in high latency or task hang.
>
> [...]
Applied, thanks!
[1/1] ext4: Increase IO priority of fastcommit.
commit: 46e75c56dfeafb6756773b71cabe187a6886859a
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists