[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <YHD+Q4NdOQ7j7doW@mit.edu>
Date: Fri, 9 Apr 2021 21:24:19 -0400
From: "Theodore Ts'o" <tytso@....edu>
To: Jan Kara <jack@...e.cz>
Cc: linux-ext4@...r.kernel.org, Hao Sun <sunhao.th@...il.com>
Subject: Re: [PATCH 2/2] ext4: Annotate data race in
jbd2_journal_dirty_metadata()
On Tue, Apr 06, 2021 at 06:18:00PM +0200, Jan Kara wrote:
> Assertion checks in jbd2_journal_dirty_metadata() are known to be racy
> but we don't want to be grabbing locks just for them. We thus recheck
> them under b_state_lock only if it looks like they would fail. Annotate
> the checks with data_race().
>
> Reported-by: Hao Sun <sunhao.th@...il.com>
> Signed-off-by: Jan Kara <jack@...e.cz>
Thanks, applied.
- Ted
Powered by blists - more mailing lists