Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1442461pxk; Fri, 4 Sep 2020 09:26:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXirMo2VGJqyQeF4lCOOl8hC4hk8gnwB0FVcyY+octzzuZIh2J++oFw6HPQWZ1QQghH/5D X-Received: by 2002:a17:906:5856:: with SMTP id h22mr8152886ejs.480.1599236807616; Fri, 04 Sep 2020 09:26:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599236807; cv=none; d=google.com; s=arc-20160816; b=iYvAQIrVXRZHTgcOovkj28+uQD0lsKEgxy4qydWJ4Ta7D9M2w3Mbh/0AyJOBPT5uMS L/GdjR/YE3mOyxvBYjH1dpm+hMprICeOwH8iaJQAobus0CQH+AKaF+G9RNCfGLcQMwXS 7VXuTKU1WG7+MQu60kjmrsu6BiEZ6ngczK6jR+T/ctWMZNg1Gmk7H+BxxNGtDhzi7zNS MtFlFc/IShhGv9qRwLbwlND+QZEHQB+1SRTtOrp57ecX3SpFE3EE2+p39VYrnJKSImGP zNJpd5h4CfKR6EErScUEbmTHJmZWyXDWrfUBHA2mq/IVR3m+fxs0U/084Rx8CTbNAxOM 6xnQ== 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:dkim-filter; bh=JmgpJNw0ml8XLo3w54o/4NPZc5CBdILaLAkLo2y4K10=; b=T4Qq9UpNO7K3nV9l81N8ezoNSkDyn78QFJJKas+khTD8e9uYiTxGV1RTW9ihYLG+T2 pHwOp99a5/L637xzvP5kT6ofXCfvimWvd4T7G/bnR5bO2sb82+n/jon88adW2Akwudpl LHRCtCMv/U/wUAA/MfxNAXfViYjXXpFHaHx6RfzG/CZ040DQ3IrFqfZsiv8I+A+7T+cw zF3+t1rSoYPjfRJmpg/bH7A9KzH1tuHRQp7XSO6J067o3o32po8wFG5wp/ZCxpBTyQGR LkcRM1WwZ6NbcYGAvmlhsPlpP9xR9asvrOAPG+CLG3gRFhOprBDUbV7AXrbQGKc+gm4u sgzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@fieldses.org header.s=default header.b=B0ajR51h; 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 cx16si4275835edb.575.2020.09.04.09.26.22; Fri, 04 Sep 2020 09:26:47 -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=B0ajR51h; 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 S1726005AbgIDQ0S (ORCPT + 99 others); Fri, 4 Sep 2020 12:26:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50192 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725984AbgIDQ0S (ORCPT ); Fri, 4 Sep 2020 12:26:18 -0400 Received: from fieldses.org (fieldses.org [IPv6:2600:3c00:e000:2f7::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E3E4C061244 for ; Fri, 4 Sep 2020 09:26:17 -0700 (PDT) Received: by fieldses.org (Postfix, from userid 2815) id 504DC5FF1; Fri, 4 Sep 2020 12:26:16 -0400 (EDT) DKIM-Filter: OpenDKIM Filter v2.11.0 fieldses.org 504DC5FF1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fieldses.org; s=default; t=1599236776; bh=JmgpJNw0ml8XLo3w54o/4NPZc5CBdILaLAkLo2y4K10=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=B0ajR51hX5WnrzIjtWK81BnbZ7a/h/9Ia/SWSHZb1vPQEgTXfUAX86eRf2czzh3PT m2TYw8GwXAJXr/iEkhUx8mpqLwKl1DF3ce38ErViHUW25pp3Ws8HEM9Mh2LLSQPUta F5uTZBNL4jql0s51H7pE08N5VSS9pmm2QAth9d8A= Date: Fri, 4 Sep 2020 12:26:16 -0400 From: Bruce Fields To: Chuck Lever Cc: Bruce Fields , Anna Schumaker , Linux NFS Mailing List Subject: Re: [PATCH v4 2/5] NFSD: Add READ_PLUS data support Message-ID: <20200904162616.GB2158@fieldses.org> References: <20200904135259.GB26706@fieldses.org> <00931C34-6C86-46A2-A3B3-9727DA5E739E@oracle.com> <20200904140324.GC26706@fieldses.org> <164C37D9-8044-4CF4-99A1-5FB722A16B8E@oracle.com> <20200904142923.GE26706@fieldses.org> <20200904144932.GA349848@pick.fieldses.org> <45DCF35D-A919-4A99-9B6D-0952ED0A78E5@oracle.com> <20200904152429.GA1738@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 Fri, Sep 04, 2020 at 12:17:29PM -0400, Chuck Lever wrote: > > > > On Sep 4, 2020, at 11:24 AM, Bruce Fields wrote: > > > > I'm not seeing the RDMA connection, by the way. SEEK and READ_PLUS > > should work the same over TCP and RDMA. > > The READ_PLUS result is not DDP-eligible because there's no way for > the client to predict in advance whether there will be data (which > can be moved by RDMA), holes or patterns (which cannot), nor how > many of each there might be. > > Therefore I've asked Anna to leave READ_PLUS disabled on RDMA mounts. Oh, of course, makes sense. I think we should leave ourselves the options of handling some of these unlikely corner cases differently in the two cases, but I wouldn't expect that to cause a noticeable difference in any normal use. --b.