Re: [nfsv4] possible minor corrections of federated-fs-admin-05

Chuck Lever <chuck.lever@oracle.com> Thu, 23 September 2010 20:55 UTC

Return-Path: <chuck.lever@oracle.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 1B09D3A69D0 for <nfsv4@core3.amsl.com>; Thu, 23 Sep 2010 13:55:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.5
X-Spam-Level:
X-Spam-Status: No, score=-2.5 tagged_above=-999 required=5 tests=[AWL=-2.459, BAYES_00=-2.599, FB_REPLIC_CAP=6.557, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pyDDdaHLQbFo for <nfsv4@core3.amsl.com>; Thu, 23 Sep 2010 13:55:05 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 09D533A6814 for <nfsv4@ietf.org>; Thu, 23 Sep 2010 13:55:04 -0700 (PDT)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rcsinet10.oracle.com (Switch-3.4.2/Switch-3.4.2) with ESMTP id o8NKtVhr009595 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 23 Sep 2010 20:55:33 GMT
Received: from acsmt353.oracle.com (acsmt353.oracle.com [141.146.40.153]) by acsinet15.oracle.com (Switch-3.4.2/Switch-3.4.1) with ESMTP id o8NIIhLm015933; Thu, 23 Sep 2010 20:55:30 GMT
Received: from abhmt019.oracle.com by acsmt354.oracle.com with ESMTP id 625220151285275315; Thu, 23 Sep 2010 13:55:15 -0700
Received: from dhcp-adc-twvpn-1-vpnpool-10-154-24-98.vpn.oracle.com (/10.154.24.98) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 23 Sep 2010 13:55:14 -0700
Mime-Version: 1.0 (Apple Message framework v1081)
Content-Type: text/plain; charset="us-ascii"
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <alpine.LFD.2.00.1009231621280.21841@jlentini-linux.nane.netapp.com>
Date: Thu, 23 Sep 2010 16:55:11 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <92784C19-36B1-47CA-AA26-CE04A63EE7DA@oracle.com>
References: <18218677-5DBE-4ABB-9FF9-E737AC458533@oracle.com> <alpine.LFD.2.00.1009230935110.21841@jlentini-linux.nane.netapp.com> <D661DECC-FF90-47F7-B880-6104D98DCA27@oracle.com> <alpine.LFD.2.00.1009231621280.21841@jlentini-linux.nane.netapp.com>
To: James Lentini <jlentini@netapp.com>
X-Mailer: Apple Mail (2.1081)
Cc: NFSv4 Working Group <nfsv4@ietf.org>
Subject: Re: [nfsv4] possible minor corrections of federated-fs-admin-05
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 23 Sep 2010 20:55:06 -0000

On Sep 23, 2010, at 4:43 PM, James Lentini wrote:

> 
> 
> On Thu, 23 Sep 2010, Chuck Lever wrote:
> 
>> 
>> On Sep 23, 2010, at 10:06 AM, James Lentini wrote:
>> 
>>> 
>>> 
>>> On Wed, 22 Sep 2010, Chuck Lever wrote:
>>> 
>>>> Hi James-
>>>> 
>>>> The last paragraph of Chapter 5 section 3 says:
>>>> 
>>>>> If the junction is resolved, the fileserver will indicate the type of resolution that was performed using the FedFsResolveRes's resolve value and include a list of UUIDs for the FSN's FSLs in the FedFsResolveRes's fslUuid array.
>>>> 
>>>> 
>>>> I think that language needs to be updated to reflect what is now 
>>>> returned in the result of FEDFS_LOOKUP_JUNCTION.  Most important is 
>>>> that an array of FedFsFsl structures is returned, not an array of 
>>>> fslUuids.  I don't recall seeing this change in the most recent set 
>>>> of diffs, but my memory could be foggy.
>>> 
>>> Good catch. I will correct that.
>>> 
>>>> Also, we had previously discussed adding a unique error code to the 
>>>> protocol for "procedure not implemented".  Can that be added in the 
>>>> next draft update?
>>> 
>>> Yes, I can add a FEDFS_ERR_NOTSUPP.
>>> 
>>> At the start of Section 5, the specification requires fileservers with 
>>> junctions (internal nodes) to implement all of the procedures. The 
>>> procedures are only optional for fileservers that don't support 
>>> junctions (leaf nodes), so only leaf nodes would be allowed to return 
>>> FEDFS_ERR_NOTSUPP.
>> 
>> What about CREATE_REPLICATION and friends?
> 
> They're currently on the MUST list for internal nodes.
> 
>> Can FEDFS_LOOKUP_JUNCTION return NOTSUPP for certain resolveTypes?
> 
> Did you have a specific case in mind?
> 
> There are several specific error codes, FEDFS_ERR_PATH_TYPE_UNSUPP, 
> etc., for reporting LOOKUP errors. Error codes for reporting problems 
> with FEDFS_RESOLVE_CACHE requests will be added in the next (-06) 
> version of the draft.

That addresses my question, thanks.

> Speaking of that, it doesn't appear that anyone proposed 
> names/definitions for those errors during the 9/2/10 FedFS meeting (if 
> there was a proposal, I apologize for leaving it out of the meeting 
> minutes). Do these definitions capture what we agreed to at that 
> meeting?
> 
> 
>   FEDFS_ERR_NO_CACHE:  The fileserver does not implement an FSN-to-FSL
>      cache.
> 
>   FEDFS_ERR_UNKOWN_CACHE:  The software receiving the ONC RPC request
>      is unaware if the fileserver implements an FSN-to-FSL cache or
>      unable to communicate with the FSN-to-FSL cache if it exists.

Then FEDFS_OK MUST mean that the file server's cache now matches the results returned by FEDFS_LOOKUP_JUNCTION?

Are these new error codes returned with a FedFsFsl list, or are they returned with no results?

It might make more sense to treat these like the returned ResolveType, instead of using them as the operation's result code, imo.

-- 
chuck[dot]lever[at]oracle[dot]com