Received: by 10.192.165.148 with SMTP id m20csp812057imm; Fri, 4 May 2018 22:03:34 -0700 (PDT) X-Google-Smtp-Source: AB8JxZoKsxVGFMMb9/+aVMYXEPPw2fG/6yiDk5aSRM6dlMuxqF/M89KkLbxHS3ylN1ZUWhrn31F6 X-Received: by 2002:a17:902:145:: with SMTP id 63-v6mr30453323plb.332.1525496614214; Fri, 04 May 2018 22:03:34 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525496614; cv=none; d=google.com; s=arc-20160816; b=dSPZIJXQ6BpmxjCcB0FBn5DpmNqYA1Uj3AxwC2MaZgvL9PVCMe6X/9+sdn5dEJbM0x R6Gd1b1eCjQ1BZU0FFiT8L2mriXZ03NOneCzLGBEeudN0Mtr2S8WP16ikFNRS759PYvP 4stBEybbjvf89waVyjX9PjxXaYj6UDPgjE66+S8XIvUt1ZWqa8pxoiCkgntH8avTFT9l eELlFdDevpYJ2ELCuod2jiLVye7FX/I+/hPRnkniCltMXttx6n+bcNS6mC0Ntiy1qPcu jUQkCGEVIfZi1sqVs7sCHXlLE0hcM5nQlouUpMhg2YKFFy92orPqf9DQTC4Kcs2ih5f0 v/YA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:subject:mime-version:user-agent :message-id:in-reply-to:date:references:cc:to:from :arc-authentication-results; bh=nu4Cd0nnCNFnQh+GEBoWgzFTOy09fstzbRGjsaLMff0=; b=fs93W+Z/TIZCI+4p2lP2rVovo/YX2Qxhv/BjSSuoyvZrli6Hd+ucaqA5romVy54+Zc pm+hB1zV7+kOq4hXcwWrMRkQB8hB6Uh/E5TV0BlwgM9QwcNFc1Duvouj2nSofv7lBk6E 4tpGkSpJ8BYPKgUt+JMyRChHhi07SevXOLxrdCIRKRpWMdmFYLLdDncmQ0Oi/urX0GIK JDdYlut7oiAQ0Nxc9TDgJW3Rh34rJyMPJ6cSM3TiR28aiI/AMcNMRL/xCpskwzuLJrRG VOwEQQlclR7dojzwWxJKxOa8UUXX5gKpDihWIQlWCv/N30rxd/+sFtueXG7/Q8L3lwWG 3iFQ== 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 r63si17258182pfj.331.2018.05.04.22.03.08; Fri, 04 May 2018 22:03:34 -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 S1751230AbeEEFDB (ORCPT + 99 others); Sat, 5 May 2018 01:03:01 -0400 Received: from out02.mta.xmission.com ([166.70.13.232]:58128 "EHLO out02.mta.xmission.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750752AbeEEFDA (ORCPT ); Sat, 5 May 2018 01:03:00 -0400 Received: from in01.mta.xmission.com ([166.70.13.51]) by out02.mta.xmission.com with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1fEpLV-0000ak-MY; Fri, 04 May 2018 23:02:57 -0600 Received: from [97.119.174.25] (helo=x220.xmission.com) by in01.mta.xmission.com with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.87) (envelope-from ) id 1fEpLT-0005JS-E6; Fri, 04 May 2018 23:02:57 -0600 From: ebiederm@xmission.com (Eric W. Biederman) To: Willy Tarreau Cc: "Theodore Y. Ts'o" , Sasha Levin , James Bottomley , Greg KH , "linux-kernel\@vger.kernel.org" , "ksummit-discuss\@lists.linuxfoundation.org" References: <20180503173422.GR18390@sasha-vm> <20180503182039.GC30522@ZenIV.linux.org.uk> <8669.1525427874@warthog.procyon.org.uk> <87fu377gbu.fsf@intel.com> <20180504130932.GI29205@thunk.org> <20180504174055.GF4649@kroah.com> <20180504211317.GK29205@thunk.org> <1525469881.4114.5.camel@HansenPartnership.com> <20180504215111.GX18390@sasha-vm> <20180504233542.GM29205@thunk.org> <20180505042356.GA24575@1wt.eu> Date: Sat, 05 May 2018 00:02:47 -0500 In-Reply-To: <20180505042356.GA24575@1wt.eu> (Willy Tarreau's message of "Sat, 5 May 2018 06:23:56 +0200") Message-ID: <878t8y8zk8.fsf@xmission.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-XM-SPF: eid=1fEpLT-0005JS-E6;;;mid=<878t8y8zk8.fsf@xmission.com>;;;hst=in01.mta.xmission.com;;;ip=97.119.174.25;;;frm=ebiederm@xmission.com;;;spf=neutral X-XM-AID: U2FsdGVkX182a3ztrlMc6yEr1/JDsrLGVWYMwdL8Y5o= X-SA-Exim-Connect-IP: 97.119.174.25 X-SA-Exim-Mail-From: ebiederm@xmission.com X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on sa02.xmission.com X-Spam-Level: X-Spam-Status: No, score=0.3 required=8.0 tests=ALL_TRUSTED,BAYES_50, DCC_CHECK_NEGATIVE,T_TM2_M_HEADER_IN_MSG,XM_Body_Dirty_Words autolearn=disabled version=3.4.0 X-Spam-Report: * -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP * 0.0 T_TM2_M_HEADER_IN_MSG BODY: No description available. * 0.8 BAYES_50 BODY: Bayes spam probability is 40 to 60% * [score: 0.5000] * -0.0 DCC_CHECK_NEGATIVE Not listed in DCC * [sa02 1397; Body=1 Fuz1=1 Fuz2=1] * 0.5 XM_Body_Dirty_Words Contains a dirty word X-Spam-DCC: XMission; sa02 1397; Body=1 Fuz1=1 Fuz2=1 X-Spam-Combo: ;Willy Tarreau X-Spam-Relay-Country: X-Spam-Timing: total 1797 ms - load_scoreonly_sql: 0.05 (0.0%), signal_user_changed: 7 (0.4%), b_tie_ro: 5 (0.3%), parse: 1.32 (0.1%), extract_message_metadata: 28 (1.6%), get_uri_detail_list: 5 (0.3%), tests_pri_-1000: 8 (0.5%), tests_pri_-950: 2.1 (0.1%), tests_pri_-900: 1.72 (0.1%), tests_pri_-400: 45 (2.5%), check_bayes: 43 (2.4%), b_tokenize: 16 (0.9%), b_tok_get_all: 12 (0.6%), b_comp_prob: 7 (0.4%), b_tok_touch_all: 3.0 (0.2%), b_finish: 0.83 (0.0%), tests_pri_0: 1689 (94.0%), check_dkim_signature: 0.91 (0.1%), check_dkim_adsp: 4.4 (0.2%), tests_pri_500: 9 (0.5%), poll_dns_idle: 0.14 (0.0%), rewrite_mail: 0.00 (0.0%) Subject: Re: [Ksummit-discuss] bug-introducing patches X-Spam-Flag: No X-SA-Exim-Version: 4.2.1 (built Thu, 05 May 2016 13:38:54 -0600) X-SA-Exim-Scanned: Yes (on in01.mta.xmission.com) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Willy Tarreau writes: > On Fri, May 04, 2018 at 07:35:42PM -0400, Theodore Y. Ts'o wrote: >> On Fri, May 04, 2018 at 09:51:14PM +0000, Sasha Levin wrote: >> > I don't have an objection to moving this to it's own tag. It will make >> > my scripts somewhat simpler for sure. >> >> It's not a matter "moving this it's own tag", but creating a new tag >> --- because what is in the docs is a lie. It does not describe what >> we do today. And current practice is the reality, not what is in the >> docs. >> >> As to whether we should create a new tag to support explicit >> dependencies, I'll leave that between you and Greg K-H and the rest of >> the stable maintainers. :-) > > Guys, *personally*, I've sometimes been a bit annoyed by the huge amount > of irregular extra headers trying to compensate for horribly vague commit > messages, and I'm pretty sure it pisses off patch authors who don't know > anymore what to put in their description. We need to keep in mind that > authors are humans and not machines, and that natural language remains > the best to explain complex dependencies. I'd prefer to see : > > This patch needs to be backported to all stable branches that contain > 717d3133 and 207f5b3c (that's 3.10+) or their respective backports but > must be adapted (contact me) if only a backport of 717d3133 is present. > > Cc: stable # v3.10+ > > Rather than horrible stuff like this : > > Cc: stable # v3.10+ (717d3133 && 207f5b3c) || WARN_ON(back(717d3133)) > > Of course it's a bit made up, but not too far from what is being discussed > here, probably only the next step. People will often get complex rules > wrong, both on the producer and on the consumer side. The day we need a > compiler to emit commit messages, we'll have to wonder if we didn't go > too far. > > Also I've found the Fixes header pretty useful. It allows patch authors > to mention what is being fixed without necessarily copying stable, > because sometimes you'd rather not see your patch immediately backported > or you think the risks are higher than the bug. And here as well, it's > only suited for simple situations with a single commit ID, complex > desriptions have to be part of the commit message body. > > I think that what we have now works pretty well but that some descriptions > lack a bit of detail, especially on the impact of the bug which would help > decide to backport or drop. This is understandable because often the person > fixing a bug documents it for people knowing the same subsystem well. But > when you backport fixes into other kernel versions, you don't know well > how each subsystem works, and guessing the impact of a bug is not always > obvious. Most of the time, authors who add Fixes: and/or Cc: stable take > care of providing enough information, though I'd suspect that sometimes > they're making efforts trying to figure how to place the information > there and possibly try to avoid redundancy by writing a shorter body. > > At this point, I'm really not seeing what we're trying to improve or > optimize, and to be honest this discussion worries me a bit, by just > thinking that it could result in annoying changes... So the way I use headers today is: Cc: stable@vger.kernel.org Fixes: sha1hash "commit subject" I will use "Fixes: v2.0.1" if something is so old that it isn't in git. If it was in bitkeeper and now in tglx's tree I will use: History Tree: https://git.kernel.org/pub/scm/linux/kernel/git/tglx/history.git Just because you won't find the commit in Linus's git tree. I tend not to find particularly serious bugs, just ancient ones so I generally figure if it doesn't backport easily it probably is not a candidate for stable. The bug has existed for ages without anyone really carring anyway. Eric