Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp593035ybz; Wed, 15 Apr 2020 14:44:52 -0700 (PDT) X-Google-Smtp-Source: APiQypJGsgST5m8oVfst8bJ5VIvxeEzg9tlIgevHIP3zMLX/E0e0b1feKKONtZNXncdaj2iziaaS X-Received: by 2002:a17:906:55c4:: with SMTP id z4mr6841509ejp.353.1586987092754; Wed, 15 Apr 2020 14:44:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586987092; cv=none; d=google.com; s=arc-20160816; b=HXUCOw9V+6g18S3eOO/zhKZZ0lhJBM8czjagahWNcKcFyEJph0HRbzHBAjYurDub4u cf6CcN3+BhWsI/9v2oo4hHIFA5+8zTjVtEY6FvmI7GuDT3iqcDA3Cn59vhcISBRc0Mj7 CMP/0qpeT3QR9G53MtFzNoDKiFg3KWsMpC5jdgK85dGAsBoKBdeqH2XGDwrv36OnEp9C FDVgklBExCYlsWqbW9lkgnoaxlMyQww9KV2VcXQEB7ufbPB5lwGHzlmNqpz9Ecf8eVPb ItLHr/qGvsIOFZhE6dhUfMns+8OBRWx8Xpq9erLletyhLK3pM0XasDT/LvM7lRinMXXP wuWA== 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; bh=+mkfdujwzGaASNVyy/cZBDZ5JPJTuMmvq9wW8XFCJ2Q=; b=pzaWD1AVyYjl9q3U2RznotsAvHrqu/mZQmex61i8R6EdvRbWe/Gbm7HNUiu++ONCiq 3ymtcG6bCWiagBHGdur1+47SHSOPhA5Myp4yRcEaeSHMaUrfH/ZcRJRPND6+hNVigQh+ zocxWEelnzo2XsD1+Q1uvPvhYRpbaNe0LVOPNIEFdgm5AjGM1TGZmBqvWy6+x1911UXI l/wftF6Sb14TZTRap7ZYnUsFniaIthpPXzwoCWS95gsGuU/hqNTsqAyedUrVqk28uQoe Mq0pbQCzr1cR3NU4pBk05gHF6Hjy0fvZLD+Lxmw/qPexGrf4WnmCnAk6lqv/Cv3WlNsy /hIQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: 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 k17si3269048ejg.470.2020.04.15.14.44.24; Wed, 15 Apr 2020 14:44:52 -0700 (PDT) Received-SPF: pass (google.com: 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; spf=pass (google.com: 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 S2390951AbgDNQRr (ORCPT + 99 others); Tue, 14 Apr 2020 12:17:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S1733258AbgDNQRo (ORCPT ); Tue, 14 Apr 2020 12:17:44 -0400 X-Greylist: delayed 3880 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Tue, 14 Apr 2020 09:17:44 PDT Received: from fieldses.org (fieldses.org [IPv6:2600:3c00::f03c:91ff:fe50:41d6]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5CDEC061A0C; Tue, 14 Apr 2020 09:17:44 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id 4AA271C7A; Tue, 14 Apr 2020 12:17:44 -0400 (EDT) Date: Tue, 14 Apr 2020 12:17:44 -0400 From: "J. Bruce Fields" To: Jason Gunthorpe 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: <20200414161744.GB9796@fieldses.org> 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> <20200414152016.GE5100@ziepe.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200414152016.GE5100@ziepe.ca> User-Agent: Mutt/1.5.21 (2010-09-15) 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 12:20:16PM -0300, Jason Gunthorpe wrote: > 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! I'd be interested in seeing it. > linux-next now automates complaining about them, but perhaps not > following the standard format defeats that.. It's managed before: https://lore.kernel.org/r/20190704074048.65556740@canb.auug.org.au though admittedly I was breaking the rule in a different way. I can't even be consistently rebellious. > Use 'git merge-base --is-ancestor fixes_id linus/master' to check > them. Oh, yeah, that's better than what I was trying to do, thanks. --b.