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

Robert Thurlow <Robert.Thurlow@oracle.com> Thu, 04 November 2010 21:58 UTC

Return-Path: <Robert.Thurlow@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 95C013A68C0 for <nfsv4@core3.amsl.com>; Thu, 4 Nov 2010 14:58:10 -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 zEKHQkVD6kNW for <nfsv4@core3.amsl.com>; Thu, 4 Nov 2010 14:58:09 -0700 (PDT)
Received: from rcsinet10.oracle.com (rcsinet10.oracle.com [148.87.113.121]) by core3.amsl.com (Postfix) with ESMTP id 39D5A3A68CF for <nfsv4@ietf.org>; Thu, 4 Nov 2010 14:58:08 -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 oA4LwH3m012593 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Thu, 4 Nov 2010 21:58:19 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 oA4LgkNB024624 for <nfsv4@ietf.org>; Thu, 4 Nov 2010 21:58:17 GMT
Received: from abhmt018.oracle.com by acsmt353.oracle.com with ESMTP id 751279631288907873; Thu, 04 Nov 2010 14:57:53 -0700
Received: from [10.7.250.62] (/10.7.250.62) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 04 Nov 2010 14:57:53 -0700
Message-ID: <4CD32BF3.8000901@oracle.com>
Date: Thu, 04 Nov 2010 15:56:03 -0600
From: Robert Thurlow <Robert.Thurlow@oracle.com>
User-Agent: Thunderbird 2.0.0.16 (X11/20080811)
MIME-Version: 1.0
To: NFSv4 <nfsv4@ietf.org>
References: <4CACD9BB.3070500@oracle.com>
In-Reply-To: <4CACD9BB.3070500@oracle.com>
Content-Type: text/plain; charset="us-ascii"; format="flowed"
Content-Transfer-Encoding: 7bit
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: Thu, 04 Nov 2010 21:58:10 -0000

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.

Rob T