Received: by 10.192.165.148 with SMTP id m20csp789382imm; Fri, 4 May 2018 21:24:37 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqXwX7RjSkzj2HkQvxhHJU9ZhxTQDBDoAa+Z0rLm1r+uU2TzYsvLhiGYpV/Nqy/xON/rq2c X-Received: by 10.98.76.202 with SMTP id e71mr28900339pfj.171.1525494277002; Fri, 04 May 2018 21:24:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1525494276; cv=none; d=google.com; s=arc-20160816; b=G33swx5jDRKbJ0/uTanRR1oRF0D+eOrf/UP883L/dHJgGJSrwXgudlLPE0XEARSlKh fnCmo9tT7KQBHRgHzUWCayiGcWejYbnmD+GZKNRbn0An+rbDm1j4aiefsEB9gyWBWqeR lcCZjhl/tC6LOefFcz9KAJGJ1tfmKYOOdFVyPq3Avd1Gg6rBRmuqPOIbSfV3fa+qTg2v W1hI2GpiCLSrX90TAXD4FsM0iTd00Nvklbusak7z+5YcNhh/bnF/io1V4eCGiT7stnbU iEgd8WyRQmah3Dhkb7jX+CF71vyGR2HjU0wqFZQWtpNgKrYLNZjCdwLLN0AJDQfIQkG3 tPQg== 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:to :from:date:arc-authentication-results; bh=5AqGj+Q9Kvpm4Oy0Z8ZJI6PvxyjWdyCKNmIgyD80O/A=; b=lEofV08k7s0yACN3AXQlA9dgKWqxoTotcBaEgr4QECD5TECySuWv3ZoLI9rw1sfFWm nJMBxOHP4mpFfB98LrvUgLGhZsoZLn4ydFzg2+94icOdvhTx1bpqktJXbgZAg0/pQt4n i4QymLMQnV5X/3eRHYKpNvhACQ+c8PG6/1FvJDt/5c+a06u5mjHHBU+LrnA8JSaRPZKF JcNqktlwELFLhNoEz3eRlUz44BU7oS/LkHe+rlwtGAP+7FA3KeII/0hSKZ36mFjsXgO+ YO/hJZk7FAXGeB1RC/de3Wmjiwd+InfginvaorzdMG2Vmt8dkcocczf+AW5jTxaivYIG fGGQ== 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 38-v6si17409562pln.390.2018.05.04.21.24.20; Fri, 04 May 2018 21:24:36 -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 S1750831AbeEEEYN (ORCPT + 99 others); Sat, 5 May 2018 00:24:13 -0400 Received: from wtarreau.pck.nerim.net ([62.212.114.60]:46888 "EHLO 1wt.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750725AbeEEEYM (ORCPT ); Sat, 5 May 2018 00:24:12 -0400 Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id w454Nueu024634; Sat, 5 May 2018 06:23:56 +0200 Date: Sat, 5 May 2018 06:23:56 +0200 From: Willy Tarreau To: "Theodore Y. Ts'o" , Sasha Levin , James Bottomley , Greg KH , "linux-kernel@vger.kernel.org" , "ksummit-discuss@lists.linuxfoundation.org" Subject: Re: [Ksummit-discuss] bug-introducing patches Message-ID: <20180505042356.GA24575@1wt.eu> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180504233542.GM29205@thunk.org> 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 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... Willy