Received: by 2002:a05:7412:a9a2:b0:e2:908c:2ebd with SMTP id o34csp1058629rdh; Fri, 27 Oct 2023 03:42:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG9SdfVQtvM83YVzkeZ/RxY16vqLvqJPDQwYQWFf2vF9BBUpY81PGBEObiSC4CsdNBeeDrH X-Received: by 2002:a81:c10c:0:b0:583:d9de:8509 with SMTP id f12-20020a81c10c000000b00583d9de8509mr1959361ywi.27.1698403327347; Fri, 27 Oct 2023 03:42:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698403327; cv=none; d=google.com; s=arc-20160816; b=RH6tGiaOFGJXhkPkryxab/H8Co55InUvaqBq5QaN5mjMmAR8gyFxLeFBOBULtywwEZ SuHmidsx6isLDR4THf13dQaoh6lzUs4qMijpl7899epYKMmjrDkK/KPrqxPjI+tVYG/R h5G1wn7YN5ebHj88bMkWPg9+LRV02mYSdgzr1E2j3oK60GqiIRo59wD3qVSV61yvKDvJ qECnaqW4DiJiyfg+CAnXmN7Vo6RXDEqk3EbAX4/dG4htkkjCzMMxXaFDVCpuj5EPJcl6 BU8Q9ff9nqi/YPqvR2H5lBIhrO/Ca7+HGWy2aMGIUsbZI28onp/pzl8SnWFBE1sjx0ej JOBA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=ZaSkUAw/73eWnn71CY9IBvSptFf8TADP8DPmUEB7L2U=; fh=Ujgy8Cq3ey0cv4u6h1P6dkZezeh+TRKbKXGaI8vBKoE=; b=Op8BFrBrnAECN8WA+YvGaPWlngNWpZy9oZSytpxkU+Q3U2MqWftLOxnLLUHTPxhHea hw8dYCN0E6a9gpBjxy8r7sHV+DaOP4zNKcQfEKHMtoIfbjO1nsEpsUR0nlqmUeysouh2 c8aSKkZg8orN5kH1OJKZiDwJKkMs34+iO6rwnXqZLbz1M8WllXdifVT+wGShaFtvusvx 71gePVi7A2digNgt/QUzgxNpglLVbTGWg2TO+lYPonvO121Phy/EKPTShoYqxAc1qgck cFMGQXUqwqVsEICNIsp3XhwJH7eKl+0ZsTM3Qwpv1qFgBWksG10AzA4iX2ox1VcKTt5J Q1tA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Y0SLBfZS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id d188-20020a0df4c5000000b005a204618ad3si1921759ywf.505.2023.10.27.03.42.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 27 Oct 2023 03:42:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=Y0SLBfZS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id D55D18218E67; Fri, 27 Oct 2023 03:41:13 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345516AbjJ0Kky (ORCPT + 99 others); Fri, 27 Oct 2023 06:40:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58216 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229503AbjJ0Kkw (ORCPT ); Fri, 27 Oct 2023 06:40:52 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C0D6A186; Fri, 27 Oct 2023 03:40:50 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DB489C433C9; Fri, 27 Oct 2023 10:40:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1698403250; bh=xAGxfyHHv/qoLztaLbM/AYY0bd9UklJKfVVTVre2pKk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Y0SLBfZSvsYfDAJFW4jc5hLoIe1nU7qYLrOFzgY0Cy7CfjTgDJNfqzMTq8WCQ750A DucCkwsuSn9sl+Z+R19FhJhVRB8iwlWeP+5vzX6tOkfV9Kb93q4PQEm/GxUUeqG35F 3GcE1LxXCD62MPBOXSrRijT9C8NztFYeLqHVQGZs= Date: Fri, 27 Oct 2023 12:40:47 +0200 From: Greg Kroah-Hartman To: Miklos Szeredi Cc: Linux regressions mailing list , "stable@vger.kernel.org" , "linux-kernel@vger.kernel.org" , Paul Lawrence , Daniel Rosenberg , Alessio Balsini , Amir Goldstein , Bernd Schubert , =?iso-8859-1?Q?Andr=E9?= Draszik Subject: Re: [PATCH v2] Revert "fuse: Apply flags2 only when userspace set the FUSE_INIT_EXT" Message-ID: <2023102731-wobbly-glimpse-97f5@gregkh> References: <20230904133321.104584-1-git@andred.net> <20231018111508.3913860-1-git@andred.net> <717fd97a-6d14-4dc9-808c-d752d718fb80@ddn.com> <4b0b46f29955956916765d8d615f96849c8ce3f7.camel@linaro.org> <1b03f355170333f20ee20e47c5f355dc73d3a91c.camel@linaro.org> <9afc3152-5448-42eb-a7f4-4167fc8bc589@ddn.com> <5cd87a64-c506-46f2-9fed-ac8a74658631@ddn.com> <8ae8ce4d-6323-4160-848a-5e94895ae60e@leemhuis.info> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Fri, 27 Oct 2023 03:41:13 -0700 (PDT) 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) 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