Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4563313ybb; Tue, 14 Apr 2020 09:40:52 -0700 (PDT) X-Google-Smtp-Source: APiQypKaVIIr88PC8uo/GuBcbWIhl6mjZW7B6+rTNn7hN0D50oZ5F1EAydQPDxOsyHa+Y4svLryF X-Received: by 2002:a17:906:4c1:: with SMTP id g1mr1009639eja.296.1586882452722; Tue, 14 Apr 2020 09:40:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586882452; cv=none; d=google.com; s=arc-20160816; b=GC9b1GmsYvk3uSE2jDk6aKdSlmSESrqpzinEUIwj2OV7LdkNbj6WLIMw5xK53/5Ao4 luK3tZmL3RIlfVnVwUW0XiBESp5rnKsy18r6bqd+Mbq3C9qHB0STDO2x11bYj62BTjq0 KKEctyz4x6VGBu2MepBXmquiFIIeVnADczAQ/sWJM44N/XwEAavrs2961MaA8SsJTxnl BxnvGuS612M8xfqj+k0kEXC3AsceDQjjMMeR6m+ZIC3+qaNdTihyDYI3PGfSKCoYgjs2 Ux22lmCUdUu7klaFXNPr2No8qBbeanqRmLRduAeqOs1uqzoZRFUs1mGNvZbbU7S8iPNL MmGQ== 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:dkim-signature; bh=Z1YAow+p2oTS0KjZHDFQURwufvTps2Ola21Ebzq8/Ho=; b=GPldXdtUQlr7zIv9g0UNQxDw6j1Jx2JprN+/RbtIW0vDAl9Q9qsNSpl9sN5UGCQPLk G8CR3aFcYNlCYKs0ykrzbHVnd4QPso+9zm3Ofm1IqhJd1R/DKSGifPr48To2kygeLxxY qHBkMHs5lwr1JdDUZRqsCKWEFns4mbP4dM50LgcPRWJnfngKMuIToWY0rByxSnDRMyI2 nnHFLbHcEItsb817v6E9+/UirdNuULiDZlP1H7a797M3qfP/UxLoX5yH17+s4bm03zA0 kg2c0isV69frOldonbKxeJ4uli582g6EHIdiKTl1Zq6DqkPTloq+Zfk1gGUqSK55+4gO qduw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=iyezjIJq; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v5si3819988edq.408.2020.04.14.09.40.21; Tue, 14 Apr 2020 09:40:52 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=iyezjIJq; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2405596AbgDNPUg (ORCPT + 99 others); Tue, 14 Apr 2020 11:20:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46334 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2407393AbgDNPUS (ORCPT ); Tue, 14 Apr 2020 11:20:18 -0400 Received: from mail-qt1-x841.google.com (mail-qt1-x841.google.com [IPv6:2607:f8b0:4864:20::841]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1FA86C061A0E for ; Tue, 14 Apr 2020 08:20:18 -0700 (PDT) Received: by mail-qt1-x841.google.com with SMTP id c16so4663766qtv.1 for ; Tue, 14 Apr 2020 08:20:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=Z1YAow+p2oTS0KjZHDFQURwufvTps2Ola21Ebzq8/Ho=; b=iyezjIJqp/sdBoQ3UXzMjDRI+QlR0jFpXTz00KcHVKW7gUIdLKtgUaLTamCODYtz44 ZauNxHF/IJdYh2sg7CUvVwod3mRBxoiB4q93Qzaj1fnEFF5JNbOt4qhCYFW/wI6SZZnO hAueQYPyxW/A0iKkYz4XN+Lj7YKnTe40Gxbbrcr9183wAEfqaJyQiDO1A+2h4xYtp6qJ Wj/ceKFv3tuB7I2dOeBYDUk+yoSGCAiOuIdNIZ8UDJSUEEio6zhwr8aYIwi0hjD+14d+ sLZOhQhqXJWbvf58qItDWr6KOsPTtAbESMzNm3CUJPKme/hM+vNEfnCvDCvnEU4sOb7Q EIqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=Z1YAow+p2oTS0KjZHDFQURwufvTps2Ola21Ebzq8/Ho=; b=FIl2niiHQhM/5ea9xVjtP/WQ0wjDhf4oVOIM3z3zNwA63Tmn82WZxrjlt/GKl/qHEe I/4h4ma32JWSTMbh4A55e1FrtMjYCv6hzm3spnuBpIPiZLDG5OLiIwavAngRCnnrcIgK N4nYtBtz+2Zy6QH+VQAYW5T9JKIF5mIXgI+4flHoZLU5/TPPgr7v+mT1vSiIx08ZBFe9 a1txW8gDdvGIIs+PHcCYLp8ChKo4GafRc1pfbZ8dqfxXRBGy/mmR8e5JNzWH1Jt8HO+T YXmkwr3nYDERYXiy9McqYktL6+sIJFWDwRDJnGLfGbWJt/3qOEeqIVtQZgJOh03c3rG9 qbbQ== X-Gm-Message-State: AGi0PubhTu93ETvi53jIg4fUetpRqHbEqBGV3e60PLP1ZDIbT5DhiNhM Ypj1POVsFI47Wpx0TbbOsugSgjvdKzM+3w== X-Received: by 2002:aed:3bf7:: with SMTP id s52mr16668392qte.362.1586877617287; Tue, 14 Apr 2020 08:20:17 -0700 (PDT) Received: from ziepe.ca (hlfxns017vw-142-68-57-212.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.57.212]) by smtp.gmail.com with ESMTPSA id y127sm10755689qkb.76.2020.04.14.08.20.16 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Apr 2020 08:20:16 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1jONMG-0005Bp-8h; Tue, 14 Apr 2020 12:20:16 -0300 Date: Tue, 14 Apr 2020 12:20:16 -0300 From: Jason Gunthorpe To: "J. Bruce Fields" Cc: Chuck Lever , Leon Romanovsky , Linux NFS Mailing List , linux-rdma@vger.kernel.org Subject: Re: [PATCH v1 3/3] svcrdma: Fix leak of svc_rdma_recv_ctxt objects Message-ID: <20200414152016.GE5100@ziepe.ca> References: <20200407190938.24045.64947.stgit@klimt.1015granger.net> <20200407191106.24045.88035.stgit@klimt.1015granger.net> <20200408060242.GB3310@unreal> <20200409174750.GK11886@ziepe.ca> <20200413192907.GA23596@fieldses.org> <20200414121931.GA5100@ziepe.ca> <20200414151303.GA9796@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200414151303.GA9796@fieldses.org> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-nfs-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Apr 14, 2020 at 11:13:03AM -0400, J. Bruce Fields wrote: > On Tue, Apr 14, 2020 at 09:19:31AM -0300, Jason Gunthorpe wrote: > > On Mon, Apr 13, 2020 at 03:29:07PM -0400, J. Bruce Fields wrote: > > > On Thu, Apr 09, 2020 at 02:47:50PM -0300, Jason Gunthorpe wrote: > > > > On Thu, Apr 09, 2020 at 10:33:32AM -0400, Chuck Lever wrote: > > > > > The commit ID is what automation should key off of. The short > > > > > description is only for human consumption. > > > > > > > > Right, so if the actual commit message isn't included so humans can > > > > read it then what was the point of including anything? > > > > > > Personally as a human reading commits in a terminal window I prefer the > > > abbreviated form. > > > > Frankly, I think they are useless, picking one of yours at random: > > > > Fixes: 4e48f1cccab3 "NFSD: allow inter server COPY to have... " > > > > And sadly the '4e48f1cccab3' commit doesn't appear in Linus's tree so > > Ow, apologies. Looks like I rebased after writing that Fixes tag. > > I wonder if it's possible to make git warn.... > > Looks like a pre-rebase hook could check the branch being rebased for > "Fixes:" lines referencing commits on the rebased branch. I have some silly stuff to check patches before pushing them and it includes checking the fixes lines because they are very often wrong, both with wrong commit IDs and wrong subjects! linux-next now automates complaining about them, but perhaps not following the standard format defeats that.. Use 'git merge-base --is-ancestor fixes_id linus/master' to check them. > > now we are just totally lost, with a bad commit ID and a mangled > > subject line. > > For what it's worth, that part of the subject line is enough to find the > original commit (even to uniquely specify it). Lucky, but I wouldn't count on this as the general rule.. The point of the full subject line is to be informative to the reader and serve as a backup key in case the hash got mangled, as happens surprisingly often.. Jason