Re: [nfsv4] More layout stuff: layout return on close
Tigran Mkrtchyan <tigran.mkrtchyan@desy.de> Wed, 24 November 2010 09:54 UTC
Return-Path: <tigran.mkrtchyan@desy.de>
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 EB44E28C0E5 for <nfsv4@core3.amsl.com>; Wed, 24 Nov 2010 01:54:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.248
X-Spam-Level:
X-Spam-Status: No, score=-2.248 tagged_above=-999 required=5 tests=[AWL=0.001, BAYES_00=-2.599, HELO_EQ_DE=0.35, UNPARSEABLE_RELAY=0.001]
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 f5Hc7vNrr1sO for <nfsv4@core3.amsl.com>; Wed, 24 Nov 2010 01:54:08 -0800 (PST)
Received: from smtp-out-2.desy.de (smtp-out-2.desy.de [131.169.56.85]) by core3.amsl.com (Postfix) with ESMTP id B067D3A6820 for <nfsv4@ietf.org>; Wed, 24 Nov 2010 01:54:07 -0800 (PST)
Received: from smtp-map-2.desy.de (smtp-map-2.desy.de [131.169.56.67]) by smtp-out-2.desy.de (DESY_OUT_1) with ESMTP id A8729D61 for <nfsv4@ietf.org>; Wed, 24 Nov 2010 10:55:01 +0100 (MET)
Received: from adserv70.win.desy.de (adserv70.win.desy.de [131.169.97.56]) by smtp-map-2.desy.de (DESY_MAP_2) with ESMTP id A249DD5D for <nfsv4@ietf.org>; Wed, 24 Nov 2010 10:55:01 +0100 (MET)
Received: from smtp-intra-3.desy.de (lb-40-26.desy.de) by adserv70.win.desy.de (Clearswift SMTPRS 5.3.4) with ESMTP id <T9989ee70e883a961385c4@adserv70.win.desy.de> for <nfsv4@ietf.org>; Wed, 24 Nov 2010 10:55:01 +0100
Received: from ADXV1.win.desy.de (adxb11.win.desy.de [131.169.97.62]) by smtp-intra-3.desy.de (DESY-INTRA-3) with ESMTP id 095F61168 for <nfsv4@ietf.org>; Wed, 24 Nov 2010 10:55:01 +0100 (MET)
Received: from adxf3.win.desy.de ([131.169.69.235]) by ADXV1.win.desy.de with Microsoft SMTPSVC(6.0.3790.4675); Wed, 24 Nov 2010 10:55:00 +0100
Received: from tibook.kofemann.org ([131.169.40.26]) by adxf3.win.desy.de over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 24 Nov 2010 10:54:59 +0100
Message-ID: <4CECE104.5080009@desy.de>
Date: Wed, 24 Nov 2010 10:55:16 +0100
From: Tigran Mkrtchyan <tigran.mkrtchyan@desy.de>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.15) Gecko/20101026 SUSE/3.0.10 Thunderbird/3.0.10
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <1290552459.30508.4.camel@heimdal.trondhjem.org> <4CECC382.5020207@panasas.com>
In-Reply-To: <4CECC382.5020207@panasas.com>
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 7bit
X-OriginalArrivalTime: 24 Nov 2010 09:55:00.0759 (UTC) FILETIME=[A8D1C270:01CB8BBD]
Subject: Re: [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: Wed, 24 Nov 2010 09:54:09 -0000
On 11/24/2010 08:49 AM, Benny Halevy wrote: > On 2010-11-24 00:47, Trond Myklebust wrote: > >> 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? >> > Let me rephrase that to see if I understood your suggestion correctly. > You're basically suggesting additional semantics for CLOSE that would imply > return of the whole layout for the file, when any layout segments gotten > with a stateid derived from the respective open stateid that stated > return_on_close==true. > > I like that though I think that the semantics can be tuned down a notch to just > those layout segments marked with return_on_close. This can be useful in > case the server, for example, requests return_on_close only for RW layouts > while the client can keep the READ layout across CLOSE. > > What I really don't want is to define this non-definitively so to leave > it up to the client to forget and up to the server to assume the client > forgot the layout. > > As a main reason why we have return_on_close in the spec I will allow me to comment. We are in a quite weird situation here. From one side servers asks a client to return layout on close, but from other side you have to keep track of the layout and recall it to ensure that the client will not use it any more. I would love to see this part of the spec to be more deterministic. But it we change it not to be a more strong requirements, then some of the current clients will become not complaint with the spec. Are we ok with that? And of course I have to change layout handling in our server we rely on layoutreturn. Which is not a big change (I think). BTW, is there any other server uses return_on_close ? Tigran. > Benny > > >> Cheers >> Trond >> >> > _______________________________________________ > nfsv4 mailing list > nfsv4@ietf.org > https://www.ietf.org/mailman/listinfo/nfsv4 >
- [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