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

Trond Myklebust <trond.myklebust@fys.uio.no> Thu, 21 October 2010 20:12 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 3BF7C3A690C for <nfsv4@core3.amsl.com>; Thu, 21 Oct 2010 13:12:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.446
X-Spam-Level:
X-Spam-Status: No, score=-6.446 tagged_above=-999 required=5 tests=[AWL=0.153, 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 kOXHWktilY85 for <nfsv4@core3.amsl.com>; Thu, 21 Oct 2010 13:12:49 -0700 (PDT)
Received: from mail-out2.uio.no (mail-out2.uio.no [129.240.10.58]) by core3.amsl.com (Postfix) with ESMTP id DF9AF3A6A44 for <nfsv4@ietf.org>; Thu, 21 Oct 2010 13:12:31 -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 1P91WU-0008Tk-ID; Thu, 21 Oct 2010 22:14:02 +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 1P91WT-0001uo-NZ; Thu, 21 Oct 2010 22:14:02 +0200
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Spencer Shepler <sshepler@microsoft.com>
In-Reply-To: <E043D9D8EE3B5743B8B174A814FD584F0D3F89B1@TK5EX14MBXC124.redmond.corp.microsoft.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> <1287689301.9144.75.camel@heimdal.trondhjem.org> <E043D9D8EE3B5743B8B174A814FD584F0D3F89B1@TK5EX14MBXC124.redmond.corp.microsoft.com>
Content-Type: text/plain; charset="UTF-8"
Date: Thu, 21 Oct 2010 16:13:57 -0400
Message-ID: <1287692037.9144.91.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 7 sum msgs/h 2 total rcpts 1068 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: 4F3207066A8F9E42AF14DC5FEA7065B98729E49D
X-UiO-SPAM-Test: remote_host: 68.40.206.115 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 427 max/h 7 blacklist 0 greylist 0 ratelimit 0
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>, Robert Thurlow <Robert.Thurlow@oracle.com>
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 20:13:01 -0000

On Thu, 2010-10-21 at 20:09 +0000, Spencer Shepler wrote:
> 
> > -----Original Message-----
> > From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of
> > Trond Myklebust
> > Sent: Thursday, October 21, 2010 12:28 PM
> > To: James Lentini
> > Cc: Robert Thurlow; nfsv4@ietf.org
> > Subject: Re: [nfsv4] Review of 3530bis "Multi-Server Namespace" Chapter
> > 
> > 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...
> 
> Could an example be a multi-homed server that is migrating
> clients from one interface to another for either load-balancing
> or a scheduled service window?

Yes. That example too fits the definition afaics. However, once again,
that is a migration situation, and is not relevant to referrals.

Cheers
  Trond