Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp5299314ybl; Tue, 4 Feb 2020 11:18:08 -0800 (PST) X-Google-Smtp-Source: APXvYqwhal7oJZZoTFdUJNfHhuTS9r8r5ZeYwXqGNyIymX4J9+QU4GEuYMpgnk+sh56EMmMaKa92 X-Received: by 2002:aca:aa05:: with SMTP id t5mr353093oie.93.1580843888368; Tue, 04 Feb 2020 11:18:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580843888; cv=none; d=google.com; s=arc-20160816; b=gWkxXNcgBaZaeQXHtQr0ak37LhHQUs3/aRBXKRTibjUGw7EGeusLuWIyKCQpDFgxiS VGKWEqdivylrLdCCt3u2oLXueHEZi7HRRn6iOhgnDCsdS7rU1cumFWhEb6vQ5UUB5nyG vTDSkRkmoKGN0LHkRU3xmINj6767fwjfZHovU/HbjCI5MZwyYLfEaMuMmcm/Up2/ewZK YPo5gYJkwn1gi3poX82bIMtDU5vJDcrw71vREXvOKNWxi67AUBn9YBQANHW5nbwF3iNd Sa9cmbsY7O8Vu0I9tpnK+/I43XBV4dedFZwDg6bJQLmN0cxBRe7F7fI3JQMB0L0R1ieH uGyA== 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=Z7OuqSOv4cDIKFEZiQ8fOO7vlgPzC7KarTVMt9gsQI4=; b=uBjz7tP70/Ecv9k6BlgTFHcLcRuGxUxumu6LuDGvfP7wAGVxePI1W9aJGjucewxf/u rIroS0pn6rkLCF/jC3b/mQe8tZw95CT0Jzax5UHMiyqbhQWuMhFxIYZbI23ZQZYXKyjc Ki4KjafXCJSi19Xxrn6NqAIVxz/DQMI2+/5byxxQOfozkluYGSHw6OWQD6//lQzhj6q1 OFa/ssVKuMy5mPn+Hp7Smnd0I9jIjKb6GyUbKFt7766lU0S0iXHQExGG52FEm8udH69C yzGRRc9ZXk5s/5e3akXfO15xg4FEq184GzP/9DQvEOWXSiTyiB9ajtD/iDRUKBqFqVIc ZLKQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-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 q189si3387930oic.235.2020.02.04.11.17.56; Tue, 04 Feb 2020 11:18:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-nfs-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-nfs-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-nfs-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727358AbgBDTR0 (ORCPT + 99 others); Tue, 4 Feb 2020 14:17:26 -0500 Received: from fieldses.org ([173.255.197.46]:37788 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727442AbgBDTR0 (ORCPT ); Tue, 4 Feb 2020 14:17:26 -0500 Received: by fieldses.org (Postfix, from userid 2815) id F1EF9ABE; Tue, 4 Feb 2020 14:17:25 -0500 (EST) Date: Tue, 4 Feb 2020 14:17:25 -0500 From: Bruce Fields To: Chuck Lever Cc: linux-rdma@vger.kernel.org, Linux NFS Mailing List Subject: Re: [PATCH v3] nfsd: Fix NFSv4 READ on RDMA when using readv Message-ID: <20200204191725.GA10811@fieldses.org> References: <20200201195914.12238.15729.stgit@bazille.1015granger.net> <20200204172154.GB8763@fieldses.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: 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, Feb 04, 2020 at 01:43:56PM -0500, Chuck Lever wrote: > > > > On Feb 4, 2020, at 12:21 PM, J. Bruce Fields wrote: > > > > On Sat, Feb 01, 2020 at 03:05:19PM -0500, Chuck Lever wrote: > >> Changes since RFC2: > >> - Take Trond's suggestion to use xdr->buf->len > >> - Squash fix down to a single patch > > > > I liked them better split out. > > > > This seems fine to me, though. > > > > Could you ping me again in another week, after the merge window? > > > >> @@ -3521,17 +3521,14 @@ static __be32 nfsd4_encode_readv(struct nfsd4_compoundres *resp, > >> u32 zzz = 0; > >> int pad; > >> > >> + /* Ensure xdr_reserve_space skips past xdr->buf->head */ > > > > Could the comment explain why we're doing this? (Maybe take some > > language from the changelog.) > > The new comment will also explain why the patches are combined. > I'll send a v4 after the merge window closes. Hah, OK, thanks! --b.