Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1162971pxu; Wed, 2 Dec 2020 12:43:40 -0800 (PST) X-Google-Smtp-Source: ABdhPJyTkvBxiV3fX86/bXkLekBpUr7dtXNjZ+9UJ1eHn09b0VO/6iwNvOWFPv+xClKCvLP2K2cU X-Received: by 2002:a17:906:3102:: with SMTP id 2mr1540580ejx.135.1606941820308; Wed, 02 Dec 2020 12:43:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606941820; cv=none; d=google.com; s=arc-20160816; b=oxoJ/qAwuS2hSUciuygterlW6rlJt9Lhddi5mYb1lB0RdOplL5ZGpCj7Ggbd4eF9eZ Uj7cXYeZfi1ehBd6exurn7++yKgP3hx/UNEJ5bfAwp/NMtX60+NObFts026pWwg1RAwd HwbUZufZ9TeIf7IhTshvx+jdeu1F+RzzohdAZt9oGq1ihW4w5PE3jFQI92KIJAt6qyba bc+HooXWIqck+ZFnZbpzbYdyi4ozn+vEdGkIzeaq3mVb1eMuLj/PmPmZeLVWb9QdVJ0B 2MvexLD3dRFf5Xp9mbTvGf3331pnR9lBB9jxlfBi0+ShSU5TDx+ZvU3Eq36Xz9q7hiKy ZAFA== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Vf7UeuT7shnET53xyrs4kJX+PIwih2pknjQhaXa+Qw8=; b=BY/DOEYTzqyWteRjOmot9Yn9JEDwcixEwsHLg09XI/9tu0zpLP8BmD5LdXZV28eFxR dbfMYvYMf0DII01JYt8Qod5kJHP+gC4s5nnrBZ4ezYyLy5OAl7a2vautcqdioED/1BBD Ho3pY5kZHhfdvRqlub/KYXvJvV78GKTbkplWbQDSSFJsJHKktwkK+mjTLJ9lX4MRxyxK MM+kb1bVA0asEUfZwpeVzTvfGvxHLR0SNxbxblNqhpHFDg97UEZQuBbXDSKOesiduUQ6 XTiaBZaqRRxFkmdZFU9CQdFSwD99fH2dM7xOqZP39J4nwZmv+oNnjRPBD2y9VagHnOmK kjvw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bi2si708602edb.237.2020.12.02.12.43.09; Wed, 02 Dec 2020 12:43:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-ext4-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-ext4-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730758AbgLBUla (ORCPT + 99 others); Wed, 2 Dec 2020 15:41:30 -0500 Received: from mail105.syd.optusnet.com.au ([211.29.132.249]:40973 "EHLO mail105.syd.optusnet.com.au" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727113AbgLBUla (ORCPT ); Wed, 2 Dec 2020 15:41:30 -0500 Received: from dread.disaster.area (pa49-179-6-140.pa.nsw.optusnet.com.au [49.179.6.140]) by mail105.syd.optusnet.com.au (Postfix) with ESMTPS id C356A3C6E96; Thu, 3 Dec 2020 07:40:45 +1100 (AEDT) Received: from dave by dread.disaster.area with local (Exim 4.92.3) (envelope-from ) id 1kkYvd-00HQG7-3Z; Thu, 03 Dec 2020 07:40:45 +1100 Date: Thu, 3 Dec 2020 07:40:45 +1100 From: Dave Chinner To: Greg Kroah-Hartman Cc: Miklos Szeredi , David Howells , Ira Weiny , Eric Sandeen , Linus Torvalds , Miklos Szeredi , linux-fsdevel@vger.kernel.org, linux-man , linux-kernel@vger.kernel.org, xfs , linux-ext4@vger.kernel.org, Xiaoli Feng Subject: Re: [PATCH V2] uapi: fix statx attribute value overlap for DAX & MOUNT_ROOT Message-ID: <20201202204045.GM2842436@dread.disaster.area> References: <3e28d2c7-fbe5-298a-13ba-dcd8fd504666@redhat.com> <20201202160049.GD1447340@iweiny-DESK2.sc.intel.com> <641397.1606926232@warthog.procyon.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Optus-CM-Score: 0 X-Optus-CM-Analysis: v=2.3 cv=F8MpiZpN c=1 sm=1 tr=0 cx=a_idp_d a=uDU3YIYVKEaHT0eX+MXYOQ==:117 a=uDU3YIYVKEaHT0eX+MXYOQ==:17 a=kj9zAlcOel0A:10 a=zTNgK-yGK50A:10 a=20KFwNOVAAAA:8 a=VwQbUJbxAAAA:8 a=7-415B0cAAAA:8 a=0kp6ayLdEpwmuLgMGL4A:9 a=CjuIK1q_8ugA:10 a=1R1Xb7_w0-cA:10 a=OREKyDgYLcYA:10 a=AjGcO6oz07-iQ99wixmX:22 a=biEYGPWJfzWAr4FL6Ov7:22 Precedence: bulk List-ID: X-Mailing-List: linux-ext4@vger.kernel.org On Wed, Dec 02, 2020 at 08:06:01PM +0100, Greg Kroah-Hartman wrote: > On Wed, Dec 02, 2020 at 06:41:43PM +0100, Miklos Szeredi wrote: > > On Wed, Dec 2, 2020 at 5:24 PM David Howells wrote: > > > > > > Miklos Szeredi wrote: > > > > > > > Stable cc also? > > > > > > > > Cc: # 5.8 > > > > > > That seems to be unnecessary, provided there's a Fixes: tag. > > > > Is it? > > > > Fixes: means it fixes a patch, Cc: stable means it needs to be > > included in stable kernels. The two are not necessarily the same. > > > > Greg? > > You are correct. cc: stable, as is documented in > https://www.kernel.org/doc/html/latest/process/stable-kernel-rules.html > ensures that the patch will get merged into the stable tree. > > Fixes: is independent of it. It's great to have for stable patches so > that I know how far back to backport patches. > > We do scan all commits for Fixes: tags that do not have cc: stable, and > try to pick them up when we can and have the time to do so. But it's > not guaranteed at all that this will happen. > > I don't know why people keep getting confused about this, we don't > document the "Fixes: means it goes to stable" anywhere... Except that is exactly what happens, sometimes within a day of two of a patch with a Fixes tag hitting Linus' kernel. We have had a serious XFS regression in the 5.9.9 stable kernel that should never have happened as a result of exactly this "Fixes = automatically swept immediately into stable kernels" behaviour. See here for post-mortem analysis: https://lore.kernel.org/linux-xfs/20201126071323.GF2842436@dread.disaster.area/T/#m26e14ebd28ad306025f4ebf37e2aae9a304345a5 This happened because these auotmated Fixes scans seem to occur weekly during -rcX release periods, which means there really is *no practical difference* between the way the stable process treats Fixes tags and cc: stable. Hence instead of developers having some control over "urgent, must backport now" fixes versus fixes that still need the -rcX stabilisation and integration testing to shake them out fully, the regular scans result in everything with a fixes tag is treated as an "urgent, must backport now" category of fix. It effectively removes the stabilisation and integration testing process from the changes stable kernel users are being exposed to... That's not right. It gives upstream developers no margin for error, and it exposes stable kernel users to bugs that the normal upstream kernel stabilisation process prevents users from ever seeing in released kernels. And it is exactly this behaviour that lead people to understand that "fixes" and "cc: stable" essentially mean the same thing from a stable kernel perspective. It seems like this can all be avoided simply by scheduling the automated fixes scans once the upstream kernel is released, not while it is still being stabilised by -rc releases. That way stable kernels get better tested fixes, they still get the same quantity of fixes, and upstream developers have some margin to detect and correct regressions in fixes before they get propagated to users. It also creates a clear demarcation between fixes and cc: stable for maintainers and developers: only patches with a cc: stable will be backported immediately to stable. Developers know what patches need urgent backports and, unlike developers, the automated fixes scan does not have the subject matter expertise or background to make that judgement.... Cheers, Dave. -- Dave Chinner david@fromorbit.com