From: Mateusz Guzik <mjguzik@gmail.com>
To: Julian Sun <sunjunchao2870@gmail.com>
Cc: linux-fsdevel@vger.kernel.org, linux-btrfs@vger.kernel.org,
viro@zeniv.linux.org.uk, brauner@kernel.org, jack@suse.cz,
david@fromorbit.com, zhuyifei1999@gmail.com,
syzbot+67ba3c42bcbb4665d3ad@syzkaller.appspotmail.com,
stable@vger.kernel.org
Subject: Re: [PATCH] vfs: fix race between evice_inodes() and find_inode()&iput()
Date: Mon, 26 Aug 2024 09:05:14 +0200 [thread overview]
Message-ID: <CAGudoHFhSD=nXgrx+zz2iOFntiGH-MHUbTyOzVMHEVtkvjcbCw@mail.gmail.com> (raw)
In-Reply-To: <e8c68d82d7209fc64823bd25eee3175c2a7e8ec4.camel@gmail.com>
On Mon, Aug 26, 2024 at 6:11 AM Julian Sun <sunjunchao2870@gmail.com> wrote:
>
> On Sat, 2024-08-24 at 06:54 +0200, Mateusz Guzik wrote:
> > evict_inodes() fails to re-check i_count after acquiring the spin
> > lock,
> > while the flags blocking 0->1 i_count transisions are not set yet,
> > making it possible to race against such transition.
> Alright, I think the issue is clearly explained through the above
> commit message. If you insist, I can send a patch v2 to reorder the
> commit message.
I'm in no position to insist, merely noting. :)
--
Mateusz Guzik <mjguzik gmail.com>
next prev parent reply other threads:[~2024-08-26 7:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-23 13:07 [PATCH] vfs: fix race between evice_inodes() and find_inode()&iput() Julian Sun
2024-08-24 4:54 ` Mateusz Guzik
2024-08-26 4:11 ` Julian Sun
2024-08-26 7:05 ` Mateusz Guzik [this message]
2024-08-26 10:50 ` Christian Brauner
2024-08-28 16:36 ` Jan Kara
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='CAGudoHFhSD=nXgrx+zz2iOFntiGH-MHUbTyOzVMHEVtkvjcbCw@mail.gmail.com' \
--to=mjguzik@gmail.com \
--cc=brauner@kernel.org \
--cc=david@fromorbit.com \
--cc=jack@suse.cz \
--cc=linux-btrfs@vger.kernel.org \
--cc=linux-fsdevel@vger.kernel.org \
--cc=stable@vger.kernel.org \
--cc=sunjunchao2870@gmail.com \
--cc=syzbot+67ba3c42bcbb4665d3ad@syzkaller.appspotmail.com \
--cc=viro@zeniv.linux.org.uk \
--cc=zhuyifei1999@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).