Re: [nfsv4] Review of 3530bis "Multi-Server Namespace" Chapter

Trond Myklebust <trond.myklebust@fys.uio.no> Thu, 21 October 2010 19:26 UTC

Return-Path: <trond.myklebust@fys.uio.no>
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 EBE2D3A6A84 for <nfsv4@core3.amsl.com>; Thu, 21 Oct 2010 12:26:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.43
X-Spam-Level:
X-Spam-Status: No, score=-6.43 tagged_above=-999 required=5 tests=[AWL=0.169, BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 gPMCZ2Yzx3+B for <nfsv4@core3.amsl.com>; Thu, 21 Oct 2010 12:26:53 -0700 (PDT)
Received: from mail-out2.uio.no (mail-out2.uio.no [129.240.10.58]) by core3.amsl.com (Postfix) with ESMTP id 5B67C3A6A64 for <nfsv4@ietf.org>; Thu, 21 Oct 2010 12:26:53 -0700 (PDT)
Received: from mail-mx2.uio.no ([129.240.10.30]) by mail-out2.uio.no with esmtp (Exim 4.69) (envelope-from <trond.myklebust@fys.uio.no>) id 1P90oM-0005CB-IS; Thu, 21 Oct 2010 21:28:26 +0200
Received: from c-68-40-206-115.hsd1.mi.comcast.net ([68.40.206.115] helo=[192.168.1.29]) by mail-mx2.uio.no with esmtpsa (SSLv3:CAMELLIA256-SHA:256) user trondmy (Exim 4.69) (envelope-from <trond.myklebust@fys.uio.no>) id 1P90oL-0005fG-PW; Thu, 21 Oct 2010 21:28:26 +0200
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: James Lentini <jlentini@netapp.com>
In-Reply-To: <alpine.LFD.2.00.1010211446060.4707@jlentini-linux.nane.netapp.com>
References: <alpine.LFD.2.00.1009221101060.21841@jlentini-linux.nane.netapp.com> <9F6B463A-0CA8-4C34-A7C2-0BF108745B94@netapp.com> <alpine.LFD.2.00.1010211446060.4707@jlentini-linux.nane.netapp.com>
Content-Type: text/plain; charset="UTF-8"
Date: Thu, 21 Oct 2010 15:28:21 -0400
Message-ID: <1287689301.9144.75.camel@heimdal.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.30.3 (2.30.3-1.fc13)
Content-Transfer-Encoding: 7bit
X-UiO-Ratelimit-Test: rcpts/h 4 msgs/h 1 sum rcpts/h 4 sum msgs/h 1 total rcpts 1062 max rcpts/h 20 ratelimit 0
X-UiO-Spam-info: not spam, SpamAssassin (score=-5.0, required=5.0, autolearn=disabled, UIO_MAIL_IS_INTERNAL=-5, uiobl=NO, uiouri=NO)
X-UiO-Scanned: D0525DF744BD7D57DD94D99E3511E6316EA19738
X-UiO-SPAM-Test: remote_host: 68.40.206.115 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 425 max/h 7 blacklist 0 greylist 0 ratelimit 0
Cc: Robert Thurlow <Robert.Thurlow@oracle.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] Review of 3530bis "Multi-Server Namespace" Chapter
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, 21 Oct 2010 19:26:55 -0000

On Thu, 2010-10-21 at 15:07 -0400, James Lentini wrote:
> 
> On Wed, 13 Oct 2010, Thomas Haynes wrote:
> 
> > Rob and Dave,
> > 
> > There is a question for each of you below.
> > 
> > 
> > On Sep 22, 2010, at 6:31 PM, James Lentini wrote:
> > 
> <snip>
> > 
> >       For the write-verifier class in Section 7.7.7, Section 7.9.1
> >       recommends assuming file system instances are of a different
> >       class in the case of a failover. Is there a recommendation for 
> >       the NFS4ERR_MOVED case? I realize that the recommendations in 
>             ^^^^^^^^^^^^^
>             referral
> 
> 
> To clarify my question: Is there a recommendation for the 
> write-verifier class in the referral case?
> 
> The "general" rules for the handle class, fileid class, and change 
> class cover the replication, migration, and referral cases. Since 
> those rules immediately precede the write-verifier rules, the omission 
> of a referral case jumped out at me.
> 
> I expect the recommendation would be for the client to treat the 
> referral source and referral target as being in different 
> write-verifier classes given that the write-verifier class doesn't 
> apply to the referral case, but the text doesn't say that.

Given that a referral takes you from one filesystem to a different
filesystem, it seems to me that you cannot possibly find yourself in the
situation described in RFC5661 Section 11.7.8.

Write verifier equivalence is really only relevant if you are talking
about something like the following type of server: a clustered
filesystem which is such that a write to a file on one cluster node is
atomically written to some kind of shared page cache and is guaranteed
not to get lost if that node crashes/reboots.
In that case, you can access the file through one of the other nodes,
issue the COMMIT, and Bob's your uncle...

Cheers
  Trond