Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp6650373iob; Wed, 11 May 2022 02:16:03 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/UuPRhBqb+IO3NOrrRMDSD0fjfzxxUE7FvbfHY9v9IaQSpiUS/NwzJskmrM3w74syM4b2 X-Received: by 2002:a63:8149:0:b0:3ab:6545:87a0 with SMTP id t70-20020a638149000000b003ab654587a0mr20107690pgd.392.1652260562850; Wed, 11 May 2022 02:16:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652260562; cv=none; d=google.com; s=arc-20160816; b=k8V5kzwL+2PFuBT3Rl/w1dqGkQxA1epfreB4W/3I89Oqb7SuM2FCn7kETV2tSBjqgy puliL63I02WXrthfNBj+8/skZlUeUjQuGDWGgKuFnYeXBqU4y0oZQrExOlFiEGZnRh6H /iYtQkGwsrGT9x9aN2GGL8HyEjer+MtfEV+KYU8kvAANYBELPVACzjEdxdmLPwKwbTtH yE1T50Igvz/kwa+69+HyUsJEXMvYTZt2aDaaaPGdMPDml3RUFYvGUTP8t6CVLp113L42 pSP1wtWAO94FEOokt7RwaFvjx10EafZfAU/PQYPVM8ZR+WySpghNvaM1DJC3UEiRPO8O 4VMA== 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:dkim-signature; bh=sQHjzpYWUbx4DIbzDfueaE5axYdznIwfVWGZh8Ng7j8=; b=1Hbu0gvkILU2pUXp5sbm1hm0Aqe9dDcoy3kNLra+4MrNe+JLLmtPshBe7KIJVZ6vqZ sy03vavy2s2VpRUeYlseVEtMUdc1+Caoa4/yeau/5e0rF5499mEINmTPL8asNtEwAC+P ScxbOh8szC+FceAOcWs9YoeRG9HfdA0ZLBOfjHGugn3KWvcCUfbQ9vVMf0q3h6XYsFCV D78BWvbZqPPKwAtupDzyI0Myi1wAjA2sM9ZV/UxwEj1O29FQl+ZijxgJ6aCGIRRd+AXa hUew9HsLidMLVPiMcRHr74zP8VEyWmhbWj4RCmql7VDoOxbqzlTLcbFGgRet5jXSvX2X /LuQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HCshzj2B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d7-20020a63ed07000000b003c22f7d93acsi2089245pgi.560.2022.05.11.02.15.51; Wed, 11 May 2022 02:16:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HCshzj2B; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242707AbiEKHNb (ORCPT + 99 others); Wed, 11 May 2022 03:13:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36794 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234682AbiEKHN2 (ORCPT ); Wed, 11 May 2022 03:13:28 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id CF19C6FD1F for ; Wed, 11 May 2022 00:13:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1652253203; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=sQHjzpYWUbx4DIbzDfueaE5axYdznIwfVWGZh8Ng7j8=; b=HCshzj2BYoQDbguzjJ2fnhxSK+/VRtg97LKEp9mwRKjKSweXD1FQYsXvZj73IT7eA/5TUv 1OmZTwwbNSUATvpO6nt7Fhemk1cBxkactJb4n3TAxsOqNxV1plDcYb1waMX+gEyJplAi/T ttgFIgdzUvjyzbXRvW3WZlAZbdWjPdQ= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-500-v0TonRvYN-CEXdV5Q_3ANw-1; Wed, 11 May 2022 03:13:22 -0400 X-MC-Unique: v0TonRvYN-CEXdV5Q_3ANw-1 Received: by mail-wr1-f69.google.com with SMTP id w4-20020adfbac4000000b0020acba4b779so460872wrg.22 for ; Wed, 11 May 2022 00:13:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=sQHjzpYWUbx4DIbzDfueaE5axYdznIwfVWGZh8Ng7j8=; b=DXkEgCARIhhsVRk8dy+4OoSt9b9K5vH3RFdD+ZigvXc+DBhRak9fHCwrNEsKFJUFJf 5n62CNq2HUsZwGL7rSMgS//T9suNe32eh0fqiWIDIPBWYvwisCCcVKI/ZVmb24xwCIIk 2DUlxbfctn02i4HiTAgn1lJOK7dB1+dVWlhcZy5fTPdB/0Of9HOWoXJthbDiP648d7u3 1VmreWA1YdAojF+zgVlaIim8PEdjQ4raV6OZodNEg4fdqv0Aq140SQZ1lTqxpDxWikE4 iORbPk+vsHYbbTE39Lh5b7cclR/JfuXz8fJSUsfJD8u38D3Y9TJrXDvoMPrTJDIefdBn 3NxA== X-Gm-Message-State: AOAM533MILVhz67nWj0KaD35KqtVYVNUI6Pcs6oCU6rF8oyAfdfRFLEY U9Cm8df4QCvP27Btqphznh6xZezK9IlSmhBtfzTKTj9fo3Oj7XOrcJWMerE/efjR5HrzU4SdmWw 4NJ9m3SWZJUzz/bOHcGslblq/ X-Received: by 2002:a05:6000:156e:b0:20c:5218:8907 with SMTP id 14-20020a056000156e00b0020c52188907mr21286290wrz.297.1652253201347; Wed, 11 May 2022 00:13:21 -0700 (PDT) X-Received: by 2002:a05:6000:156e:b0:20c:5218:8907 with SMTP id 14-20020a056000156e00b0020c52188907mr21286271wrz.297.1652253201133; Wed, 11 May 2022 00:13:21 -0700 (PDT) Received: from redhat.com ([2.55.46.133]) by smtp.gmail.com with ESMTPSA id o20-20020a05600c2e1400b003944821105esm1239510wmf.2.2022.05.11.00.13.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 11 May 2022 00:13:19 -0700 (PDT) Date: Wed, 11 May 2022 03:13:16 -0400 From: "Michael S. Tsirkin" To: Linus Torvalds Cc: Nathan Chancellor , Konstantin Ryabitsev , KVM list , virtualization@lists.linux-foundation.org, Netdev , Linux Kernel Mailing List , mie@igel.co.jp Subject: Re: [GIT PULL] virtio: last minute fixup Message-ID: <20220511030407-mutt-send-email-mst@kernel.org> References: <20220510082351-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, May 10, 2022 at 04:50:47PM -0700, Linus Torvalds wrote: > On Tue, May 10, 2022 at 4:12 PM Nathan Chancellor wrote: > > > > For what it's worth, as someone who is frequently tracking down and > > reporting issues, a link to the mailing list post in the commit message > > makes it much easier to get these reports into the right hands, as the > > original posting is going to have all relevant parties in one location > > and it will usually have all the context necessary to triage the > > problem. > > Honestly, I think such a thing would be trivial to automate with > something like just a patch-id lookup, rather than a "Link:". > > And such a lookup model ("where was this patch posted") would work for > any patch (and often also find previous unmodified versions of > it when it has been posted multiple times). > > I suspect that most of the building blocks of such automation > effectively already exists, since I think the lore infrastructure > already integrates with patchwork, and patchwork already has a "look > up by patch id". > > Wouldn't it be cool if you had some webby interface to just go from > commit SHA1 to patch ID to a lore.kernel.org lookup of where said > patch was done? Yes, that would be cool! > Of course, I personally tend to just search by the commit contents > instead, which works just about as well. If the first line of the > commit isn't very unique, add a "f:author" to the search. > > IOW, I really don't find much value in the "Link to original > submission", because that thing is *already* trivial to find, and the > lore search is actually better in many ways (it also tends to find > people *reporting* that commit, which is often what you really want - > the reason you're doing the search is that there's something going on > with it). > > My argument here really is that "find where this commit was posted" is > > (a) not generally the most interesting thing > > (b) doesn't even need that "Link:" line. > > but what *is* interesting, and where the "Link:" line is very useful, > is finding where the original problem that *caused* that patch to be > posted in the first place. > > Yes, obviously you can find that original problem by searching too if > the commit message has enough other information. > > For example, if there is an oops quoted in the commit message, I have > personally searched for parts of that kind of information to find the > original report and discussion. > > So that whole "searching is often an option" is true for pretty much > _any_ Link:, but I think that for the whole "original submission" it's > so mindless and can be automated that it really doesn't add much real > value at all. > > Linus For me a problematic use-case is multiple versions of the patchset. So I have a tree and I apply a patchset, start testing etc. Meanwhile author posts another version. At that point I want to know which version did I apply. Since people put that within [] in the subject, it gets stripped off. Thinking about it some more, how about sticking a link to the *cover letter* in the commit, instead? That would serve an extra useful purpose of being able to figure out which patches are part of the same patchset. And maybe Change "Link:" to "Patchset:" or "Cover-letter:"? -- MST