Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp177930pxf; Wed, 31 Mar 2021 20:54:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw2YAY67B0rPz4AIzLNRH0Ptye0eHGFjMXQFQC65dMxmNiudfUcFzpyROfxL6eSAHDTHgT+ X-Received: by 2002:a05:6402:4415:: with SMTP id y21mr7442309eda.70.1617249252559; Wed, 31 Mar 2021 20:54:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617249252; cv=none; d=google.com; s=arc-20160816; b=t3p0Z4V1c4X+A9eUdNSPtRuGCkf+9k0MVHS3nX/H0SQhSuWv20dsiIHyD7lX4pz7EY rEiqiP1fE2qRjVEtqTy0Y0VdvfEv3cVo7CxzA+x4Mzr/XEQ3F4IsC7slCS2ZZURCtLyt fwDuaObERxzYtQwiCErdIUz/PyOVZ+BhFD2c3W9OFhUNitprA5QtpMDkK7B6o2qO8AR6 hLWmq40vFdW7vVhJqZm7uWcWfC4bClJUtNkNnSxmEEBYLoNP1HwplHg1py1B2QuHOwM6 aKmL7YTFX9kaBTpKwewJIM3b0kTz0+qmd0NR8v0rPSnDTVT80DIYts5//EcVzqYF/Hld VmTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=Ty5SV5q6F3G8QPh6BqELY7+wRhLmqfw8GQc+WYUguxQ=; b=nxPu3VnZCi4IdRl12/6V4tc2hG/MtsXGv+xGvRq7fcdBzDudKl4gjwERrZy11EZjTD hfdpsEnBMfrWK2V4sZTCDVwCvVnEFCE47CH//2vFr9YG55DM81hxktt/FXMvsYlb/hV0 QYUImrA0UGb9T9DSiQ0RqziTIK7yFKGM+Ksob6Wak3piK2gvuzBWcOHRay+CJy/qOs8A 6ZEjFLVP+Ad9GNEVV98QjlPpkBqYoEdqTn6SIFZhx/FKJJaPAmSDisPMcqWR2lZIeJoy Dxr2GlqnZTrDmRIXawEBdNFlQKBOBl96Hj5p7IKh0W+P00bkAljX6eUk5wKvq6v8rdIL DJRQ== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id i14si3635758eje.519.2021.03.31.20.53.41; Wed, 31 Mar 2021 20:54:12 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232874AbhDADww (ORCPT + 99 others); Wed, 31 Mar 2021 23:52:52 -0400 Received: from out30-45.freemail.mail.aliyun.com ([115.124.30.45]:47269 "EHLO out30-45.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229497AbhDADwi (ORCPT ); Wed, 31 Mar 2021 23:52:38 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R111e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04395;MF=eguan@linux.alibaba.com;NM=1;PH=DS;RN=4;SR=0;TI=SMTPD_---0UU1.3pw_1617249156; Received: from localhost(mailfrom:eguan@linux.alibaba.com fp:SMTPD_---0UU1.3pw_1617249156) by smtp.aliyun-inc.com(127.0.0.1); Thu, 01 Apr 2021 11:52:36 +0800 Date: Thu, 1 Apr 2021 11:52:36 +0800 From: Eryu Guan To: Trond Myklebust Cc: "linux-nfs@vger.kernel.org" , "aglo@umich.edu" Subject: Re: kernel ops from commit 6869c46bd960 Message-ID: <20210401035236.GQ95214@e18g06458.et15sqa> References: <463e945f7dbe9730283d4f3b6850cc3e4326f0b9.camel@hammerspace.com> <20210330090136.GM95214@e18g06458.et15sqa> <20210330123521.GN95214@e18g06458.et15sqa> <8302361ec9bab9a15fe90ae0f333f24f4b70c7c8.camel@hammerspace.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8302361ec9bab9a15fe90ae0f333f24f4b70c7c8.camel@hammerspace.com> User-Agent: Mutt/1.5.21 (2010-09-15) Precedence: bulk List-ID: X-Mailing-List: linux-nfs@vger.kernel.org On Tue, Mar 30, 2021 at 01:01:03PM +0000, Trond Myklebust wrote: [snip] > > > > > > That BUG() was originally there to catch parsing errors, which is > > > not > > > the case here. We should just undo that #ifdef in > > > nfs_init_timeout_values(). > > > > Just want to make sure I understand it correctly, so it's allowed to > > just mount v3 via UDP, but data goes via TCP, even if UDP support is > > disabled? > > > > My understanding of Olga's patch was that it disabled the UDP protocol > for NFS and NLM, but not necessarily for other protocols. You can still > use mountproto=udp. Thanks for the clarification, that makes sense. Thanks, Eryu