Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp137193ybz; Wed, 15 Apr 2020 06:02:57 -0700 (PDT) X-Google-Smtp-Source: APiQypLgOvYs/FppznUZlOLOGjUKBpTRrQMSi4nqtG+rCMehDwATKA/7mqyL+5QpbiOT/2KAPsIk X-Received: by 2002:a05:6402:8d8:: with SMTP id d24mr25784171edz.173.1586955777509; Wed, 15 Apr 2020 06:02:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586955777; cv=none; d=google.com; s=arc-20160816; b=AoNx68R5wOVHF9E0UQsGX2kA4rCP12ANRqsv8NISdRryBkN+FlGOIxyMslQRcNRZ1e 0stH8pwk4FT9IbvYir1BNxNShaElWc5OVamDXbjtlBk9+PK1pNnPDIawRZCwIF0PskXI c/9E4lwWJ6MezastCFiyBvai4Z4oGs76iW0hiUzATTK7TpsCNQneOJMMA5Vdb77okQyV 5AFGNLuf+6NPnApTJooxx+wBJFmkfPzETXSNEh/ddrloOMfS6CLNTvLbv407O7Cv+J6N Zv5r7VXck7WSNp/LUL9HxMwrTtT0X/FwUELhqkaW1Y6DgeUMKv/fKrAQpD1+R/8hJwpJ 0NGg== 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=agu9gYi+uPzLleFUhDwB5wW6cVMEnsfdNyOOKY7nzfI=; b=p0Ycn8No+vN+AKVQ5xosVUEzvi3onE8aQtWTwm14UwxeCfVl0FPWe5+e0r2dvxY3Ld nRj+AHyh5+yTpnp1sD67qa7IYGvmHZA3dadPvC/ilsq0VF3+edpH68i9qb3nBYGJBtHQ AZJ9obfGS7d/mTWTkIjyW6oAmH3/ZHXCJfDs8gvpXOGxt34alFYWyKRJ2OZFGbjBIXQv ibDhqGFUPlYk9kYq2cQXn51pQnM5s6Gu5xfA9uX/8hMKFCVD2s7ASm7bT8zp9S96/wcR Tlb61e7gy/GecBspwyvaDkA5vkEI4f0FcRPP6/Kxml7ZlWUvvOGEVIRc5Rmsn3uqTFQH BFCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ziepe.ca header.s=google header.b=ZApa+isc; 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 cd11si8941842ejb.435.2020.04.15.06.02.21; Wed, 15 Apr 2020 06:02:57 -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=ZApa+isc; 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 S2503711AbgDNSP3 (ORCPT + 99 others); Tue, 14 Apr 2020 14:15:29 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45730 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-FAIL-OK-FAIL) by vger.kernel.org with ESMTP id S2503709AbgDNSP0 (ORCPT ); Tue, 14 Apr 2020 14:15:26 -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 A975CC061A0E for ; Tue, 14 Apr 2020 11:15:26 -0700 (PDT) Received: by mail-qt1-x841.google.com with SMTP id w29so10608599qtv.3 for ; Tue, 14 Apr 2020 11:15:26 -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=agu9gYi+uPzLleFUhDwB5wW6cVMEnsfdNyOOKY7nzfI=; b=ZApa+iscNPzQkc8mcc5SQ0VCp3h93gNI8A/eGraZ4KivSTPuL1dkdLkyNUDns68E/2 h+FR0rfBvtGXuvv/JT5JVdI+kQ23+yjrxzfNsauqd5MpCTHQjLanEYLZ02iFHHWM3eHt D62w5LLZCZ/wwF4miZVgN97Xs+uMwt4OqW/u9CXC/s+vw5Ei8Q7TdTeVFQssLQBHTlq6 BTNzSw3Kt6aIu9uz7DyJsxub1Rwb7ivgcBUcRz6KeBj98+nSAsdepjMPAZYsCsvwzURb FDlpSo4PoexU97HnWTlkXK2Z+bCpui3mO5oY9inwRHmyR3dHxahevlvouTpFtCo8PZTa DuYw== 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=agu9gYi+uPzLleFUhDwB5wW6cVMEnsfdNyOOKY7nzfI=; b=VGHbwlBj2hAuiQ7ORik+Zj6hGo4BNhxP8lY1jAJ5Jt0FBPy9p1EFq1NuX+39ty+Tfx cibX3bSpo/ENGrGDM4065blsDIf74M33PBzfvgjBor40ZdkuoIILSoeehsuCalzvbNdG tIZ03f20OgHs2f5b9WSMwuQXjeheS3sm2hMCRs4tq6DQJXqWG7fzxbYdPun6tmSsKxt7 ZjaxZNV04VRZKSZQftLcp9VJLvZxzoXFIl4FRBeMd0sKAYSIm8yYVTyMaX5ak79vdj+N el/7sOgv3OfBt56CCxdIvpsg9Y7O6Rh8CezxtqJwnMUk5Vczmw6ADwqqJWox+GCKTTHg xr5A== X-Gm-Message-State: AGi0PuZW72nUx0eL1EeJxQL+1j3gHDPiktnv/2KmCtoIB5sNnqDctj8M Tw3WjwP138xutnYJSeicSnZYsw== X-Received: by 2002:ac8:4809:: with SMTP id g9mr5852932qtq.33.1586888125906; Tue, 14 Apr 2020 11:15:25 -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 x16sm10174191qts.0.2020.04.14.11.15.25 (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Apr 2020 11:15:25 -0700 (PDT) Received: from jgg by mlx.ziepe.ca with local (Exim 4.90_1) (envelope-from ) id 1jOQ5k-0007oo-Pt; Tue, 14 Apr 2020 15:15:24 -0300 Date: Tue, 14 Apr 2020 15:15:24 -0300 From: Jason Gunthorpe To: Leon Romanovsky Cc: "J. Bruce Fields" , Chuck Lever , 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: <20200414181524.GI5100@ziepe.ca> References: <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> <20200414161744.GB9796@fieldses.org> <20200414181141.GA1239315@unreal> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200414181141.GA1239315@unreal> 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 09:11:41PM +0300, Leon Romanovsky wrote: > On Tue, Apr 14, 2020 at 12:17:44PM -0400, J. Bruce Fields wrote: > > 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. > > checkpatch.pl checks it or supposed to check. This doesn't do the --is-ancestor check, so it is quite weak. It would not have triggered for Chuck because he'd still have the commit in his local git from the rebase. Jason