From: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
To: Miklos Szeredi <mszeredi@redhat.com>
Cc: "Linux regressions mailing list" <regressions@lists.linux.dev>,
"stable@vger.kernel.org" <stable@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"Paul Lawrence" <paullawrence@google.com>,
"Daniel Rosenberg" <drosen@google.com>,
"Alessio Balsini" <balsini@android.com>,
"Amir Goldstein" <amir73il@gmail.com>,
"Bernd Schubert" <bschubert@ddn.com>,
"André Draszik" <andre.draszik@linaro.org>
Subject: Re: [PATCH v2] Revert "fuse: Apply flags2 only when userspace set the FUSE_INIT_EXT"
Date: Fri, 27 Oct 2023 12:40:47 +0200 [thread overview]
Message-ID: <2023102731-wobbly-glimpse-97f5@gregkh> (raw)
In-Reply-To: <CAOssrKdvy9qTGSwwPVqYLAYYEk0jbqhGg4Lz=jEff7U58O4Yqw@mail.gmail.com>
On Wed, Oct 25, 2023 at 03:17:09PM +0200, Miklos Szeredi wrote:
> On Wed, Oct 25, 2023 at 1:30 PM Linux regression tracking (Thorsten
> Leemhuis) <regressions@leemhuis.info> wrote:
>
> > Miklos, I'm wondering what the status here is. The description in the
> > reverts André sent[1] are maybe a bit vague[2], but it sounds a lot like
> > he ran into a big regression that should be addressed somehow -- maybe
> > with a revert. But it seems we haven't got any closer to that in all
> > those ~7 weeks since the first revert was posted. But I might be missing
> > something, hence a quick evaluation from your side would help me a lot
> > here to understand the situation.
>
> I don't think the Android use case counts as a regression.
Why not? In the changelog for this commit, it says:
There is a risk with this change, though - it might break existing user
space libraries, which are already using flags2 without setting
FUSE_INIT_EXT.
And that's exactly what Android was doing. Not all the world uses libfuse,
unfortunatly.
Yes, Android did have an out-of-tree change to support a fuse extension that is
not accepted upstream yet (but I think they submitted it already), and
they had to figure out the "safest" way to do so to keep compability
with everything else.
Now yes, that attempt failed, and now older Android userspace breaks
with newer kernels because of this commit, which you all even agreed
might happen here!
So either you have a policy of "we only care about libfuse use cases for
this api", or you don't, which is fine, just say so. But that's not
what the changelog says.
> If they'd use an unmodified upstream kernel, it would be a different case.
>
> But they modify the kernel heavily, and AFAICS this breakage is
> related to such a modification (as pointed out by Bernd upthread).
They add a new fuse extension, yes. How do you suggest they do so in an
abi-safe way for the future when features are not accepted by upstream?
> André might want to clarify, but I've not seen any concrete real world
> examples of regressions caused by this change outside of Android.
Android is _only_ a few billion devices, it doesn't get much more "real
world" than that. All other Linux instances are just a rounding error :)
thanks,
gre gk-h
next prev parent reply other threads:[~2023-10-27 10:40 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-04 13:33 [RESEND PATCH] Revert "fuse: Apply flags2 only when userspace set the FUSE_INIT_EXT" André Draszik
2023-09-04 13:41 ` Miklos Szeredi
2023-09-04 14:21 ` André Draszik
2023-09-04 14:45 ` Bernd Schubert
2023-10-18 11:15 ` [PATCH v2] " André Draszik
2023-10-18 11:39 ` Bernd Schubert
2023-10-18 11:46 ` André Draszik
2023-10-18 11:52 ` Bernd Schubert
2023-10-18 14:26 ` André Draszik
2023-10-18 14:40 ` Bernd Schubert
2023-10-18 15:51 ` Bernd Schubert
2023-10-25 11:30 ` Linux regression tracking (Thorsten Leemhuis)
2023-10-25 13:17 ` Miklos Szeredi
2023-10-26 5:28 ` Thorsten Leemhuis
2023-10-27 10:40 ` Greg Kroah-Hartman [this message]
[not found] ` <CAOssrKfNkMmHB2oHHO8gWbzDX27vS--e9dZoh_Mjv-17mSUTBw@mail.gmail.com>
[not found] ` <2023102740-think-hatless-ab87@gregkh>
[not found] ` <CAOssrKd-O1JKEPzvnM1VkQ0-oTpDv0RfY6B5oF5p63AtQ4HoqA@mail.gmail.com>
[not found] ` <2023102757-cornflake-pry-e788@gregkh>
2023-10-27 18:23 ` Miklos Szeredi
[not found] ` <689f677b84b484636b673b362b17a6501a056968.camel@linaro.org>
[not found] ` <CAOssrKfP+t-cy322ujizQofgZkPZsBu1H4+zfbWNEFCmTsXwug@mail.gmail.com>
[not found] ` <afe378bf254f6c4ac73bb55be3fa7422f2da3f5f.camel@linaro.org>
[not found] ` <CAOssrKeJB7BZ7fA6Uqo6rHohybmgovc6rVwDeHbegvweSyZeeA@mail.gmail.com>
2023-11-01 12:36 ` Linux regression tracking (Thorsten Leemhuis)
2023-11-08 10:31 ` André Draszik
2023-11-08 12:18 ` Miklos Szeredi
2023-12-06 14:03 ` Linux regression tracking (Thorsten Leemhuis)
2023-10-22 13:35 ` [RESEND PATCH] " Linux regression tracking #adding (Thorsten Leemhuis)
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=2023102731-wobbly-glimpse-97f5@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=amir73il@gmail.com \
--cc=andre.draszik@linaro.org \
--cc=balsini@android.com \
--cc=bschubert@ddn.com \
--cc=drosen@google.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mszeredi@redhat.com \
--cc=paullawrence@google.com \
--cc=regressions@lists.linux.dev \
--cc=stable@vger.kernel.org \
/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