Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp1216924pxx; Tue, 27 Oct 2020 10:58:05 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxpQwg+zy84zi5g9kiavZOAgP/nHrn+k0i0G40/km1Pd0sjwQqh+u59iHWInX/GOjL3BEga X-Received: by 2002:a17:906:bfe2:: with SMTP id vr2mr3738694ejb.248.1603821484823; Tue, 27 Oct 2020 10:58:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603821484; cv=none; d=google.com; s=arc-20160816; b=edG5V/2uq2TJXdKnip5vt1oDq3ID1FX1gC2xABXQBWVa+A0BgG6mKrumLUosVMM27w EBXjnEn1RY/t+q0zqEQ0OD7t7K8g1zB+wJgjpmOY9UjsbdFajKcJF3D6icXowftC9MjZ KFd0MQOS+blxR+UcIW0e4H8Nin4g+6sEpGCvMRhm11iscnfZ7rySso1xzO5Jl3RvUkRE EGlqy9ZO7nibfwVg2UXTlP3D+TnKkYCpAq60w3Cxph53Ap1YRClUqN2ohBUiJTO1IJjI 3ihDye4ZBCMcMBECGdNaDgyUKAM0PvJ0M3YnDcUggeL6T1485XAgjc1gbm69xJnVc0rJ 8UEg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:from:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:date :dkim-signature:dkim-filter; bh=5Zjl+grA86xTqQqsXe0cBYeVGDK3DUZbp8K34b8F+ug=; b=ncMJlYGrO9xDuXPQekSUWsCWWOxKevK+vlm3LznA5jGY5286+1CwDtYCs4sPsm9++T 1koLR7asT6TtjJ6lZmpbi++gUuwQSUpc6o8W7aIE3B8aNpavD5A4O6IgUDbYlADICdaX cN0QLgZbH3NEuMw0weMm4OjWYhIDEpABPXBgzzdGByhbDF0zHA4ckjtRqbAt6SdiODRi Kmysd00xBC6DpWvmlRWlJj0eMC2ED8H3DGA685xvCmGuhm0tgkmy0UKNwLRpQCYyGBW1 x3BbxZkjewKcH5XPgY1rJKanmeIHGfDcOjnyENvcLUt3VRr3dXksVLo+PYULWaHhv8ld 2wLw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=VCAU3iRB; 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 22si1505763ejv.120.2020.10.27.10.57.35; Tue, 27 Oct 2020 10:58:04 -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; dkim=pass header.i=@fieldses.org header.s=default header.b=VCAU3iRB; 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 S1819190AbgJ0R2b (ORCPT + 99 others); Tue, 27 Oct 2020 13:28:31 -0400 Received: from fieldses.org ([173.255.197.46]:45386 "EHLO fieldses.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1780180AbgJ0RZs (ORCPT ); Tue, 27 Oct 2020 13:25:48 -0400 Received: by fieldses.org (Postfix, from userid 2815) id 027E1C56; Tue, 27 Oct 2020 13:25:45 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 027E1C56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1603819546; bh=5Zjl+grA86xTqQqsXe0cBYeVGDK3DUZbp8K34b8F+ug=; h=Date:To:Cc:Subject:References:In-Reply-To:From:From; b=VCAU3iRBiDkvpcl3RMA0NmgivltVE5ClXHZRHVBoOnLgx9w9asWTsrIyVa4TGs07W /WW4ZzDqQYUlXT2jq5h1jWV9UKEyIV4dzuh5+tWDZ7IVzcmr8/c8K6Sh1+6DubKXZB I7M6ex6x64ahA6oN5YdEOQu10NmtVpxUCNExozC0= Date: Tue, 27 Oct 2020 13:25:45 -0400 To: Chuck Lever Cc: Leon Romanovsky , Linux NFS Mailing List , linux-rdma@vger.kernel.org Subject: Re: [PATCH 00/20] NFSD support for multiple RPC/RDMA chunks Message-ID: <20201027172545.GB1644@fieldses.org> References: <160373843299.1886.12604782813896379719.stgit@klimt.1015granger.net> <20201027060823.GF4821@unreal> 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) From: bfields@fieldses.org (J. Bruce Fields) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Oct 27, 2020 at 09:24:54AM -0400, Chuck Lever wrote: > Hi Leon- > > > On Oct 27, 2020, at 2:08 AM, Leon Romanovsky wrote: > > > > On Mon, Oct 26, 2020 at 02:53:53PM -0400, Chuck Lever wrote: > >> This series implements support for multiple RPC/RDMA chunks per RPC > >> transaction. This is one of the few remaining generalities that the > >> Linux NFS/RDMA server implementation lacks. > >> > >> There is currently one known NFS/RDMA client implementation that can > >> send multiple chunks per RPC, and that is Solaris. Multiple chunks > >> are rare enough that the Linux NFS/RDMA implementation has been > >> successful without this support for many years. > > > > So why do we need it? Solaris is dead, and like you wrote Linux systems > > work without this feature just fine, what are the benefits? Who will use it? > > The Linux NFS implementation is living. We can add the ability > to provision multiple chunks per RPC to the Linux NFS client at > any time. > > Likewise any actively developed NFS/RDMA implementation can add > this feature. The RPC/RDMA version 1 protocol does not have the > ability to communicate the maximum number of chunks the server > will accept per RPC. > > Other server implementations do support multiple chunks per RPC. > The Linux NFS/RDMA server implementation has always been incomplete > in this regard. Can the client can detect the server's lack of support and fall back, or does the server's incompleteness violate the RFC in some way that can actually cause a failure to interoperate? --b. > And the Linux NFS server implementation (the non-transport specific > part) already supports multiple data payloads per NFSv4 COMPOUND. > > > Restoring a little more of the cover letter: > > >> Along with multiple chunk support, this series adds the following > >> benefits: > >> > >> - More robust input sanitization of RPC/RDMA headers > >> - An internal representation of chunks that is agnostic to their > >> wire format > > The Linux NFS/RDMA server implementation does need to have better > input sanitization. > > And there is a version 2 of RPC/RDMA under active development: > > https://datatracker.ietf.org/doc/draft-ietf-nfsv4-rpcrdma-version-two/ > > Having some protocol version agnosticism in our transport might > be necessary eventually. > > -- > Chuck Lever > >