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@xxxxxxx>