[nfsv4] More layout stuff: layout return on close
Trond Myklebust <Trond.Myklebust@netapp.com> Tue, 23 November 2010 22:46 UTC
Return-Path: <Trond.Myklebust@netapp.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 1537D3A6997 for <nfsv4@core3.amsl.com>; Tue, 23 Nov 2010 14:46:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level:
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
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 vXb7zBxzAqmX for <nfsv4@core3.amsl.com>; Tue, 23 Nov 2010 14:46:48 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by core3.amsl.com (Postfix) with ESMTP id 0FBCD3A6987 for <nfsv4@ietf.org>; Tue, 23 Nov 2010 14:46:47 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.59,244,1288594800"; d="scan'208";a="486284940"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 23 Nov 2010 14:47:46 -0800
Received: from svlrsexc2-prd.hq.netapp.com (svlrsexc2-prd.hq.netapp.com [10.57.115.31]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id oANMlkY8000626 for <nfsv4@ietf.org>; Tue, 23 Nov 2010 14:47:46 -0800 (PST)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.17]) by svlrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 23 Nov 2010 14:47:46 -0800
Received: from 10.58.56.78 ([10.58.56.78]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ; Tue, 23 Nov 2010 22:47:40 +0000
Received: from heimdal.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 23 Nov 2010 17:47:39 -0500
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: nfsv4@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Organization: NetApp Inc
Date: Tue, 23 Nov 2010 17:47:39 -0500
Message-ID: <1290552459.30508.4.camel@heimdal.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.32.1 (2.32.1-1.fc14)
X-OriginalArrivalTime: 23 Nov 2010 22:47:46.0202 (UTC) FILETIME=[725D27A0:01CB8B60]
Subject: [nfsv4] More layout stuff: layout return on close
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: Tue, 23 Nov 2010 22:46:49 -0000
Another conflict between the forgetful pNFS client model and RFC5661.
Currently, section 18.43.3 states that:
"The logr_return_on_close result field is a directive to return
the layout before closing the file. When the metadata server
sets this return value to TRUE, it MUST be prepared to recall
the layout in the case in which the client fails to return the
layout before close."
The point is that the client is fully entitled by section 12.5.5.1 to
forget that it holds a layout for this file altogether. With this in
mind, the requirement in 18.43.3 appears excessively bureaucratic:
* the server _knows_ that the client is required to return layouts
on close,
* it _knows_ that the client may have forgotten it holds layouts
yet it is required to go through the motions of issuing a layout recall?
Can anyone think of a reason why we should not just allow the server to
assume the client has forgotten all layouts when it issues the close in
apparent violation of the 'return on close' here?
Cheers
Trond
--
Trond Myklebust
Linux NFS client maintainer
NetApp
Trond.Myklebust@netapp.com
www.netapp.com
- [nfsv4] More layout stuff: layout return on close Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… Benny Halevy
- Re: [nfsv4] More layout stuff: layout return on c… Tigran Mkrtchyan
- Re: [nfsv4] More layout stuff: layout return on c… Benny Halevy
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… Tigran Mkrtchyan
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… Tigran Mkrtchyan
- Re: [nfsv4] More layout stuff: layout return on c… david.noveck
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… Sorin Faibish
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… Sorin Faibish
- Re: [nfsv4] More layout stuff: layout return on c… david.noveck
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… david.noveck
- Re: [nfsv4] More layout stuff: layout return on c… Benny Halevy
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… david.noveck
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… david.noveck
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… david.noveck
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… Benny Halevy
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… Benny Halevy
- Re: [nfsv4] More layout stuff: layout return on c… Benny Halevy
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… Fred Isaman
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… david.noveck
- Re: [nfsv4] More layout stuff: layout return on c… Spencer Shepler
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… Benny Halevy
- Re: [nfsv4] More layout stuff: layout return on c… Benny Halevy
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust
- Re: [nfsv4] More layout stuff: layout return on c… Benny Halevy
- Re: [nfsv4] More layout stuff: layout return on c… Trond Myklebust