Received: by 10.192.165.148 with SMTP id m20csp1041253imm; Wed, 2 May 2018 13:03:44 -0700 (PDT) X-Google-Smtp-Source: AB8JxZpojdMqUMeeeMT9cgcGdDWyLRZurmcdpIoE07z8StP/yoISQiDzGq5HzbeBS4i2Z4Pnd8Mr X-Received: by 2002:a63:7b47:: with SMTP id k7-v6mr17304012pgn.321.1525291424236; Wed, 02 May 2018 13:03:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525291424; cv=none; d=google.com; s=arc-20160816; b=CLHtQvjqzEsqYPEZ2ll6+UmnbO3fc91hEWWjaYLK2Zt7HoR+gGYcA1tQBA4yIXK7qb KZ4UCPcJjhxMLO6Sk7PDdkNJpx59gtXKZEP9KVj38/3loMFzkcyve5QsOrR69IL+LnFs evQjbpqS/BUgSSceawz8nJhCbvHAAg8JQEev+IV2wCPFkMef0Y6z2/cxuggUGwZdhY/j jEQcdd7tJHRgaBI9JJR7T6g1tvgG3ifcHg70hMaPT80/AiUaforsthalf5DwJ/HB79Q5 EZoFzSzIa+j4dLSFiZmKsJq76aAK6QBnZc5UAzAvnjTFU+tZ3ncwhE1XMETQYrOmwT7g WIUg== 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=DdeZGSbGqpHW8boUU4Ond6VIZf0oBzt7/YIduY1YCcQ=; b=Cb4MrAuYNESR0Jy3onstQlwcA7UU1X2cCtpjE9pClj24MmPKCWKEasyOSq+ULPy7jU xkefignwenLeCMcmTr2pZ8dzCn3d6ETdIpyqJz6wPOsX2GSgP8G5MEYV0cuD5BakVKLn y+3xv8Rpj0CjW9MZWkaB4JWm7L74AXf4U625w/NdFD9CFF3XzaEKKQ1dyYQoVnG0HnZZ lZEQoIGLSB4EUMhVSJq2P5dafEJVPhHSaTzXXrYxldnib7z68GSzDwdkJZ3Ve0E82UhG 8mrHQJzwte6fpa4aF1NKbuCjyy7aP7AnJrG5Fgs2IQCeCoiihdCzVlp8lvQ9d2XiH6Gf wuCg== 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 k11-v6si11635705pls.368.2018.05.02.13.03.29; Wed, 02 May 2018 13:03:44 -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 S1751753AbeEBUCl (ORCPT + 99 others); Wed, 2 May 2018 16:02:41 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:45683 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751277AbeEBUCk (ORCPT ); Wed, 2 May 2018 16:02:40 -0400 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id w42K2TJA012734; Wed, 2 May 2018 22:02:29 +0200 Date: Wed, 2 May 2018 22:02:29 +0200 From: Willy Tarreau To: Sasha Levin Cc: "Theodore Y. Ts'o" , "ksummit-discuss@lists.linuxfoundation.org" , Greg KH , "julia.lawall@lip6.fr" , "linux-kernel@vger.kernel.org" Subject: Re: bug-introducing patches Message-ID: <20180502200229.GA12729@1wt.eu> References: <20180501163818.GD1468@sasha-vm> <20180501194450.GD10479@thunk.org> <20180501200019.GA7397@sasha-vm> <20180501205448.GE10479@thunk.org> <20180501220228.GD7397@sasha-vm> <20180502043017.GA11938@1wt.eu> <20180502194139.GA18390@sasha-vm> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180502194139.GA18390@sasha-vm> User-Agent: Mutt/1.6.1 (2016-04-27) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 02, 2018 at 07:42:33PM +0000, Sasha Levin wrote: > I'm not advocating to keep bugs in. If there is a fix, but the developer > can't indicate that proper testing was done on the fix we should revert > the new feature rather than merge the untested fix in. If you're exclusively talking about newly merged features, I agree. But I think that the initial point was not just about newly merged features. Sometimes it will not work because other changes rely on this new feature but the way I see it is that this kind of back-pressure should work well enough to encourage developers to show they have valid reasons to trust their fix. > The way I see it, if a commit can get one or two tested-by, it's a good > alternative to a week in -next. Agreed. Even their own actually. And I'm not kidding. Those who run large amounts of tests on certain patches could really mention is in tested-by, as opposed to the most common cases where the code was just regularly tested. > >After all, the person proposing a fix always knows better than anyone > >else if this fix was done seriously or not. Developers who do lots of > >testing before sending should not be penalized, and should get their > >fix merged immediately. Those who just send untested patches should be > >trusted much less. > > I'm a bit worried about (social) side effects of a scheme like this. Me as well, because it's still a bit early for this, people might not be prepared to this yet. But if it were at least discussed and presented as one of the possibilities for the long term, newcomers would arrive here with this possibility in mind and would possibly join in better conditions and possibly that ultimately this solution would only exist as a threat against bad players but would never be used. Also there are more and more places where people find it normal to be noted by others, maybe it will really end up like this over the long term, who knows. At the very least a first note for a contractor is "I contributed X commits last year, my work never got reverted for bad quality". > >> From what I see, the same number of bugs-per-line-of-code applies for > >> commits accross all -rc releases, so while it makes sense to get a fix > >> in quickly at -rc1 to allow testing to continue, the same must not > >> happen during -rc8, but unfourtenately it does now. > > > >That's where I strongly disagree, since it would mean releasing with even > >more bugs than today. > > Just don't release it. If we don't have a tested fix for a reported > regression either extend the release cycle (-rc10+) or just revert the > new feature and get it in the next merge window. I agree in general, but the reality will often be different (think about contractors for a limited time as I suggested). It should be considered as a penalty against improper testing so that we don't even have to reach this situation. Willy