Re: [nfsv4] 3530bis Issue 37: More ops need to be able to return LEASE_MOVED

Trond Myklebust <trond.myklebust@fys.uio.no> Fri, 05 November 2010 14:04 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 9E3113A63EB for <nfsv4@core3.amsl.com>; Fri, 5 Nov 2010 07:04:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level:
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[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 IvveJnq6IDLA for <nfsv4@core3.amsl.com>; Fri, 5 Nov 2010 07:04:47 -0700 (PDT)
Received: from mail-out2.uio.no (mail-out2.uio.no [129.240.10.58]) by core3.amsl.com (Postfix) with ESMTP id 3D2993A6452 for <nfsv4@ietf.org>; Fri, 5 Nov 2010 07:04:47 -0700 (PDT)
Received: from mail-mx4.uio.no ([129.240.10.45]) by mail-out2.uio.no with esmtp (Exim 4.69) (envelope-from <trond.myklebust@fys.uio.no>) id 1PEMuZ-0002jA-5L; Fri, 05 Nov 2010 15:04:59 +0100
Received: from c-68-40-206-115.hsd1.mi.comcast.net ([68.40.206.115] helo=[192.168.1.29]) by mail-mx4.uio.no with esmtpsa (SSLv3:CAMELLIA256-SHA:256) user trondmy (Exim 4.69) (envelope-from <trond.myklebust@fys.uio.no>) id 1PEMuY-0001rI-FF; Fri, 05 Nov 2010 15:04:59 +0100
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Robert Thurlow <Robert.Thurlow@oracle.com>
In-Reply-To: <4CD32BF3.8000901@oracle.com>
References: <4CACD9BB.3070500@oracle.com> <4CD32BF3.8000901@oracle.com>
Content-Type: text/plain; charset="UTF-8"
Date: Fri, 05 Nov 2010 10:04:54 -0400
Message-ID: <1288965894.13204.2.camel@heimdal.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.0 (2.32.0-2.fc14)
Content-Transfer-Encoding: 7bit
X-UiO-Ratelimit-Test: rcpts/h 2 msgs/h 1 sum rcpts/h 3 sum msgs/h 1 total rcpts 1132 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: 29EB974817B071CB11C901CADE59AF8F0B640D9B
X-UiO-SPAM-Test: remote_host: 68.40.206.115 spam_score: -49 maxlevel 80 minaction 2 bait 0 mail/h: 1 total 448 max/h 7 blacklist 0 greylist 0 ratelimit 0
Cc: NFSv4 <nfsv4@ietf.org>
Subject: Re: [nfsv4] 3530bis Issue 37: More ops need to be able to return LEASE_MOVED
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: Fri, 05 Nov 2010 14:04:48 -0000

On Thu, 2010-11-04 at 15:56 -0600, Robert Thurlow wrote:
> Robert Thurlow wrote:
> > Hi folks,
> > 
> > This is issue 37 from 
> > http://github.com/loghyr/3530bis/blob/master/tasklist.txt.
> > 
> > In implementing NFSv4 migration support, we ran into a few more
> > ops which we believe should be able to return NFS4ERR_LEASE_MOVED.
> > The reason we have LEASE_MOVED is to notify the client that some
> > other filesystem it has used has migrated, and that it should react
> > to that to preserve its state.  Operations which include state
> > tokens should help with notification by failing with LEASE_MOVED.
> > 
> > The following OPs use state but do not now return LEASE_MOVED:
> >         OPEN_CONFIRM
> >         OPEN_DOWNGRADE
> >         SETATTR (when the file size is set)
> > 
> > IIRC from the 3530bis call, there were questions about whether
> > it was a good idea for OPEN_CONFIRM to return LEASE_MOVED.  I
> > believe it is, since state is used in the operation.  A possible
> > counter-argument is that delay can be inserted between OPEN and
> > OPEN_CONFIRM for LEASE_MOVED handling, leading to unconfirmed
> > open state being discarded, which is at least inconvenient.  A
> > server could of course choose to extend timeouts for a client
> > that had been sent a LEASE_MOVED notification.
> > 
> > If someone remembers a reason why one of these ops should not
> > return LEASE_MOVED, or you wish to comment on the above, please
> > let us know.
> 
> I don't think this has had a response.  If you disagree,
> now's the time to speak up.

I disagree with any changes here until we've had a chance to finish
discussing the replay issues.

Trond