Re: [nfsv4] 3530bis Issue 37: More ops need to be able to return LEASE_MOVED
<david.noveck@emc.com> Sun, 07 November 2010 05:28 UTC
Return-Path: <david.noveck@emc.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 885F53A69AE for <nfsv4@core3.amsl.com>; Sat, 6 Nov 2010 22:28:34 -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 SztfseHUUQHn for <nfsv4@core3.amsl.com>; Sat, 6 Nov 2010 22:28:28 -0700 (PDT)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by core3.amsl.com (Postfix) with ESMTP id 7C5DB3A68F0 for <nfsv4@ietf.org>; Sat, 6 Nov 2010 22:27:38 -0700 (PDT)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id oA75RpO6018731 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 7 Nov 2010 01:27:51 -0400
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.253]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Sun, 7 Nov 2010 01:27:48 -0400
Received: from corpussmtp4.corp.emc.com (corpussmtp4.corp.emc.com [10.254.169.197]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id oA75ReL6027838; Sun, 7 Nov 2010 01:27:41 -0400
Received: from CORPUSMX50A.corp.emc.com ([128.221.62.39]) by corpussmtp4.corp.emc.com with Microsoft SMTPSVC(6.0.3790.4675); Sun, 7 Nov 2010 01:27:40 -0400
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Sun, 07 Nov 2010 01:27:40 -0400
Message-ID: <BF3BB6D12298F54B89C8DCC1E4073D8002945153@CORPUSMX50A.corp.emc.com>
In-Reply-To: <1288965894.13204.2.camel@heimdal.trondhjem.org>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: [nfsv4] 3530bis Issue 37: More ops need to be able to return LEASE_MOVED
Thread-Index: Act88o3dpJ90FaCiRFiqaCteKGg91wBSPlHg
References: <4CACD9BB.3070500@oracle.com> <4CD32BF3.8000901@oracle.com> <1288965894.13204.2.camel@heimdal.trondhjem.org>
From: david.noveck@emc.com
To: trond.myklebust@fys.uio.no, Robert.Thurlow@oracle.com
X-OriginalArrivalTime: 07 Nov 2010 05:27:40.0494 (UTC) FILETIME=[7F0DCEE0:01CB7E3C]
X-EMM-MHVC: 1
Cc: 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: Sun, 07 Nov 2010 05:28:35 -0000
Unless we bury LEASE_MOVED at a crossroads, I think anything that renews the lease has to be able to return LEASE_MOVED. As far as OPEN_CONFIRM, I don't see a reason to change it from renewing the lease and thus also returning LEASE_MOVED. -----Original Message----- From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of Trond Myklebust Sent: Friday, November 05, 2010 10:05 AM To: Robert Thurlow Cc: NFSv4 Subject: Re: [nfsv4] 3530bis Issue 37: More ops need to be able to return LEASE_MOVED 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 _______________________________________________ nfsv4 mailing list nfsv4@ietf.org https://www.ietf.org/mailman/listinfo/nfsv4
- [nfsv4] 3530bis Issue 37: More ops need to be abl… Robert Thurlow
- Re: [nfsv4] 3530bis Issue 37: More ops need to be… Robert Thurlow
- Re: [nfsv4] 3530bis Issue 37: More ops need to be… Trond Myklebust
- Re: [nfsv4] 3530bis Issue 37: More ops need to be… david.noveck