All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Theodore Ts'o" <tytso@mit.edu>
To: Jan Kara <jack@suse.cz>
Cc: linux-ext4@vger.kernel.org,
	syzbot+30774a6acf6a2cf6d535@syzkaller.appspotmail.com
Subject: Re: [PATCH 1/2] ext4: Annotate data race in start_this_handle()
Date: Fri, 9 Apr 2021 21:24:09 -0400	[thread overview]
Message-ID: <YHD+OQ+Wi8XMl0Hp@mit.edu> (raw)
In-Reply-To: <20210406161804.20150-1-jack@suse.cz>

On Tue, Apr 06, 2021 at 06:17:59PM +0200, Jan Kara wrote:
> Access to journal->j_running_transaction is not protected by appropriate
> lock and thus is racy. We are well aware of that and the code handles
> the race properly. Just add a comment and data_race() annotation.
> 
> Reported-by: syzbot+30774a6acf6a2cf6d535@syzkaller.appspotmail.com
> Signed-off-by: Jan Kara <jack@suse.cz>

Thanks, applied.

					- Ted

  reply	other threads:[~2021-04-10  1:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-06 16:17 [PATCH 0/2] ext4: Annotate two harmless KCSAN data races Jan Kara
2021-04-06 16:17 ` [PATCH 1/2] ext4: Annotate data race in start_this_handle() Jan Kara
2021-04-10  1:24   ` Theodore Ts'o [this message]
2021-04-06 16:18 ` [PATCH 2/2] ext4: Annotate data race in jbd2_journal_dirty_metadata() Jan Kara
2021-04-10  1:24   ` Theodore Ts'o

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YHD+OQ+Wi8XMl0Hp@mit.edu \
    --to=tytso@mit.edu \
    --cc=jack@suse.cz \
    --cc=linux-ext4@vger.kernel.org \
    --cc=syzbot+30774a6acf6a2cf6d535@syzkaller.appspotmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.