[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <169661554695.173366.16815316393743748810.b4-ty@mit.edu>
Date: Fri, 6 Oct 2023 14:06:19 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: adilger.kernel@...ger.ca, Jinke Han <hanjinke.666@...edance.com>
Cc: "Theodore Ts'o" <tytso@....edu>, linux-ext4@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ext4: Make running and commit transaction have their own freed_data_list
On Mon, 12 Jun 2023 20:40:17 +0800, Jinke Han wrote:
> When releasing space in jbd, we traverse s_freed_data_list to get the
> free range belonging to the current commit transaction. In extreme cases,
> the time spent may not be small, and we have observed cases exceeding
> 10ms. This patch makes running and commit transactions manage their own
> free_data_list respectively, eliminating unnecessary traversal.
>
> And in the callback phase of the commit transaction, no one will touch
> it except the jbd thread itself, so s_md_lock is no longer needed.
>
> [...]
Applied, thanks!
[1/1] ext4: Make running and commit transaction have their own freed_data_list
commit: ce774e5365e46be73ed055302c6de123a03394ea
Best regards,
--
Theodore Ts'o <tytso@....edu>
Powered by blists - more mailing lists