Received: by 10.192.165.148 with SMTP id m20csp2159137imm; Thu, 3 May 2018 11:21:16 -0700 (PDT) X-Google-Smtp-Source: AB8JxZp1YEkMPlfW1uJh5J9+0npKirsKAOkDZ16wanruRDxuXTNFD+GYkoFAC3HCi4cM8dlTIytL X-Received: by 2002:a65:508c:: with SMTP id r12-v6mr19803320pgp.185.1525371676340; Thu, 03 May 2018 11:21:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525371676; cv=none; d=google.com; s=arc-20160816; b=IaaQf4d7y+wfrCBlG2XBfeGmHc2HP3cAe9engv+9fqTyCvwdhZmzl8F/aQip3e98CU YX9ijRilZRIJvxc6q88vez+FAvFOJv59YbI7GkVg+X4Kmx4B2FxECdNxYkdnln9/Sbcz xT313cIwP6FG6pJ9mR2+BYg8Tff4+jl/sFE2ilkk6/VJEYkmhuW1qq3/fvRuPOKbFZ98 ucc7U/aCgF82RR46yG34/CITT2NraLYUGCkYd9VKx0YmS8dPfCbvfLO5IyyaFDAgY+gW cE8qscZQqlfCsz4NLiK9GmjSDMOjDXL8yZKnauu9R6EoWmsy8t4Qe6w6UkV9tPiq7u6d jjTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:arc-authentication-results; bh=bqWlbQmlZx1AtF/kNwcfhPeau54dqI4Zn2EA+fmldG0=; b=DIg4ZgdC5fa+SO3eOHBZJG2RboU+1aXVpz5hjtUyabgCuASEjraVQk37hHqZGjbq0H mchaT9CGzXzTBf9DWuYX5Swi3lR2fz9nEfSV76KwJh88epp5oqWEhjCsFcEr+QDBqjtI PTEpAvI9VvTHStawY0GUfhHm1fCfNlhuDb0mllAjyPHcBUfVfFy5cy3H20ehg1xFyTXo wc49Ztdd0asA/srQdRqoAQsxZXfKdW8o4ofPTVENC5G3LcxDL3vEPmspDgBMuACcejC9 zbsgsKGJ7sIu41tcowIJBLweyU1nKt1vY8t7S2tpTgaNlLOtJcberKs0qGElsioi9oru Pt9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u14si747892pfa.84.2018.05.03.11.21.01; Thu, 03 May 2018 11:21:16 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751236AbeECSUt (ORCPT + 99 others); Thu, 3 May 2018 14:20:49 -0400 Received: from zeniv.linux.org.uk ([195.92.253.2]:56464 "EHLO ZenIV.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751019AbeECSUq (ORCPT ); Thu, 3 May 2018 14:20:46 -0400 Received: from viro by ZenIV.linux.org.uk with local (Exim 4.87 #1 (Red Hat Linux)) id 1fEIqN-0001y8-Od; Thu, 03 May 2018 18:20:39 +0000 Date: Thu, 3 May 2018 19:20:39 +0100 From: Al Viro To: Sasha Levin Cc: "Theodore Y. Ts'o" , Geert Uytterhoeven , Greg KH , "linux-kernel@vger.kernel.org" , "w@1wt.eu" , "ksummit-discuss@lists.linuxfoundation.org" Subject: Re: [Ksummit-discuss] bug-introducing patches Message-ID: <20180503182039.GC30522@ZenIV.linux.org.uk> References: <20180501163818.GD1468@sasha-vm> <20180502195138.GC18390@sasha-vm> <20180503000620.GA29205@thunk.org> <20180503144612.GJ18390@sasha-vm> <20180503165446.GB30522@ZenIV.linux.org.uk> <20180503173422.GR18390@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180503173422.GR18390@sasha-vm> User-Agent: Mutt/1.9.1 (2017-09-22) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, May 03, 2018 at 05:34:24PM +0000, Sasha Levin wrote: > >Moreover, what the hell do you suggest in situation when > > * foofs_barf() is b0rken in quite a few ways. There's an > >easily triggerable memory corruptor that can be fixed locally as well > >as something else that needs a change of e.g. ->mkdir() calling > >conventions to take care of. The change is mechanical and fairly > >simple, but it's already -rc4. > > I'm not advocating to forcefully block people from submitting patches > after -rc4 (that was Ted's suggesting). I am, though - change of a method signature when we have several dozens of instances does *not* belong in -rc5; if nothing else, it guarantees a nightmare pile of conflicts with individual filesystem trees. > I'm just saying that as a maintainer, you should use your brain and > figure out how critical the bug is, how good is the fix and how well was > it tested, and decide if you want to merge it in or not. > > If it fixed the bug and didn't introduce a regression, great! If it > messed something else, you'd have some input on how to address it better > in the future. > > I'm trying to come up with a tool/system to help maintainers with > this task because right now it's not working too well. I'm not trying to > introduce arbitrary rules to make your life miserable. And I am asking you what kind of rules do you want/expect/would prefer for Fixes: pseudo-header. *I* do not give a flying fuck for its contents; I can put it in, if there is a good reason, though. And the obvious consumers of that thing are -stable maintainers. Including yourself. Which is why I am asking you what should go in there in situation described above. And no, that's not a rhetorical question; I really want to know. Let me describe it again: * a bunch of holes is found in a function; all of them go back several years * a clean fix for the whole pile is a composition of 1) local fix of trivially triggered memory corruptor 2) tree-wide mechanical change of method signature + matching modifications of callers of that method (say, all five of them). 3) further changes in the function in question and its caller (which happens to be an instance of the method modified by (2). * dependencies between parts: (1) is standalone, (3) has a hard dependency on (2), (1) can be reordered past (2)+(modified 3), but modifications needed in (1) and (3) are not trivial. * the crap fixed by (1) is much more severe than that fixed by (3) (and (2) is an equivalent transformation which does not affect behaviour of anything). * too late in the cycle for tree-wide patches like (2). As far as I'm concerned (and if it makes -stable folks' lives unpleasant, too fucking bad) the merge order is: (1) as soon as it's sufficiently reviewed and tested, (2) and (3) - next merge window. The only question is what kind of metadata should go into commit messages to minimize the PITA for -stable folks, *given* *that* *merge* *timing*.