All of lore.kernel.org
 help / color / mirror / Atom feed
From: Christian Brauner <brauner@kernel.org>
To: Christoph Hellwig <hch@lst.de>
Cc: jack@suse.cz, syzkaller-bugs@googlegroups.com,
	linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org,
	huyue2@coolpad.com,
	syzbot <syzbot+69c477e882e44ce41ad9@syzkaller.appspotmail.com>,
	Gao Xiang <hsiangkao@linux.alibaba.com>,
	sj1557.seo@samsung.com, linux-erofs@lists.ozlabs.org,
	linkinjeon@kernel.org
Subject: Re: [syzbot] [erofs?] [fat?] WARNING in erofs_kill_sb
Date: Mon, 31 Jul 2023 15:57:50 +0200	[thread overview]
Message-ID: <20230731-deswegen-chatten-4ff6c45563ad@brauner> (raw)
In-Reply-To: <20230731135325.GB6016@lst.de>

On Mon, Jul 31, 2023 at 03:53:25PM +0200, Christoph Hellwig wrote:
> On Mon, Jul 31, 2023 at 03:22:28PM +0200, Christian Brauner wrote:
> > Uh, no. I vasty underestimated how sensitive that change would be. Plus
> > arguably ->kill_sb() really should be callable once the sb is visible.
> > 
> > Are you looking into this or do you want me to, Christoph?
> 
> I'm planning to look into it, but I won't get to it before tomorrow.

Ok, let me go through the callsites and make sure that all callers are
safe. I think we should just continue calling deactivate_locked_super()
exactly the way we do right now but remove shenanigans like the one we
have in erofs_kill_sb().

WARNING: multiple messages have this Message-ID (diff)
From: Christian Brauner <brauner@kernel.org>
To: Christoph Hellwig <hch@lst.de>
Cc: Gao Xiang <hsiangkao@linux.alibaba.com>,
	syzbot <syzbot+69c477e882e44ce41ad9@syzkaller.appspotmail.com>,
	chao@kernel.org, huyue2@coolpad.com, jack@suse.cz,
	jefflexu@linux.alibaba.com, linkinjeon@kernel.org,
	linux-erofs@lists.ozlabs.org, linux-fsdevel@vger.kernel.org,
	linux-kernel@vger.kernel.org, sj1557.seo@samsung.com,
	syzkaller-bugs@googlegroups.com, xiang@kernel.org
Subject: Re: [syzbot] [erofs?] [fat?] WARNING in erofs_kill_sb
Date: Mon, 31 Jul 2023 15:57:50 +0200	[thread overview]
Message-ID: <20230731-deswegen-chatten-4ff6c45563ad@brauner> (raw)
In-Reply-To: <20230731135325.GB6016@lst.de>

On Mon, Jul 31, 2023 at 03:53:25PM +0200, Christoph Hellwig wrote:
> On Mon, Jul 31, 2023 at 03:22:28PM +0200, Christian Brauner wrote:
> > Uh, no. I vasty underestimated how sensitive that change would be. Plus
> > arguably ->kill_sb() really should be callable once the sb is visible.
> > 
> > Are you looking into this or do you want me to, Christoph?
> 
> I'm planning to look into it, but I won't get to it before tomorrow.

Ok, let me go through the callsites and make sure that all callers are
safe. I think we should just continue calling deactivate_locked_super()
exactly the way we do right now but remove shenanigans like the one we
have in erofs_kill_sb().

  reply	other threads:[~2023-07-31 13:58 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-07-31  7:57 [syzbot] [erofs?] [fat?] WARNING in erofs_kill_sb syzbot
2023-07-31  9:37 ` Christoph Hellwig
2023-07-31  9:37   ` Christoph Hellwig
2023-07-31 10:58   ` Gao Xiang
2023-07-31 10:58     ` Gao Xiang
2023-07-31 11:16     ` Christoph Hellwig
2023-07-31 11:16       ` Christoph Hellwig
2023-07-31 12:43       ` Christian Brauner
2023-07-31 12:43         ` Christian Brauner
2023-07-31 13:22         ` Christian Brauner
2023-07-31 13:22           ` Christian Brauner
2023-07-31 13:53           ` Christoph Hellwig
2023-07-31 13:53             ` Christoph Hellwig
2023-07-31 13:57             ` Christian Brauner [this message]
2023-07-31 13:57               ` Christian Brauner
2023-07-31 16:32               ` Christian Brauner
2023-07-31 16:32                 ` Christian Brauner
2023-08-01  1:47                 ` [PATCH] erofs: drop unnecessary WARN_ON() in erofs_kill_sb() Gao Xiang
2023-08-01  1:47                   ` Gao Xiang
2023-08-01  7:19                   ` Christian Brauner
2023-08-01  7:19                     ` Christian Brauner
2023-08-01  7:51                   ` Christoph Hellwig
2023-08-01  7:51                     ` Christoph Hellwig
2023-07-31 13:29         ` [syzbot] [erofs?] [fat?] WARNING in erofs_kill_sb Gao Xiang
2023-07-31 13:29           ` Gao Xiang
2023-08-29  3:40 ` Gao Xiang
2023-08-29  4:14   ` [syzbot] [erofs?] " syzbot
2023-08-29  5:32     ` Gao Xiang

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=20230731-deswegen-chatten-4ff6c45563ad@brauner \
    --to=brauner@kernel.org \
    --cc=hch@lst.de \
    --cc=hsiangkao@linux.alibaba.com \
    --cc=huyue2@coolpad.com \
    --cc=jack@suse.cz \
    --cc=linkinjeon@kernel.org \
    --cc=linux-erofs@lists.ozlabs.org \
    --cc=linux-fsdevel@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=sj1557.seo@samsung.com \
    --cc=syzbot+69c477e882e44ce41ad9@syzkaller.appspotmail.com \
    --cc=syzkaller-bugs@googlegroups.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.