From mailnull@www1.ietf.org  Sun Jun  1 11:12:10 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA15488
	for <nfsv4-archive@odin.ietf.org>; Sun, 1 Jun 2003 11:12:10 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h51FBkP22564
	for nfsv4-archive@odin.ietf.org; Sun, 1 Jun 2003 11:11:46 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h51FBkB22560
	for <nfsv4-web-archive@optimus.ietf.org>; Sun, 1 Jun 2003 11:11:46 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA15468
	for <nfsv4-web-archive@ietf.org>; Sun, 1 Jun 2003 11:11:40 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19MUT6-0000RW-00
	for nfsv4-web-archive@ietf.org; Sun, 01 Jun 2003 11:09:57 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19MUT6-0000RS-00
	for nfsv4-web-archive@ietf.org; Sun, 01 Jun 2003 11:09:56 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h51F8dB21247;
	Sun, 1 Jun 2003 11:08:39 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h51F3uB19083
	for <nfsv4@optimus.ietf.org>; Sun, 1 Jun 2003 11:03:56 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA14824
	for <nfsv4@ietf.org>; Sun, 1 Jun 2003 11:03:50 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19MULX-0000Fi-00
	for nfsv4@ietf.org; Sun, 01 Jun 2003 11:02:07 -0400
Received: from eagle.sharedhosting.net ([206.127.192.10] helo=eagle.webpros.com)
	by ietf-mx with esmtp (Exim 4.12)
	id 19MULW-0000Fe-00
	for nfsv4@ietf.org; Sun, 01 Jun 2003 11:02:06 -0400
Received: from eisler.com (localhost [127.0.0.1])
	by eagle.webpros.com (8.12.8/8.12.8) with SMTP id h51F1pPs023216;
	Sun, 1 Jun 2003 08:01:52 -0700 (PDT)
From: Mike Eisler <mike@eisler.com>
Message-Id: <200306011501.h51F1pPs023216@eagle.webpros.com>
To: nfsv4@ietf.org, thurlow@eng.sun.com
Subject: [nfsv4] WG last call requested on draft-ietf-nfsv4-rfc1832bis-01.txt
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Sun, 1 Jun 2003 08:01:51 -0700 (PDT)
Date: Sun, 1 Jun 2003 08:01:51 -0700 (PDT)

Please issue a working group last call on this document, so that it
may be submitted to IESG as a full Standard.
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Mon Jun  2 11:19:36 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA11706
	for <nfsv4-archive@odin.ietf.org>; Mon, 2 Jun 2003 11:19:36 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h52FJ8O23827
	for nfsv4-archive@odin.ietf.org; Mon, 2 Jun 2003 11:19:08 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52FJ8B23824
	for <nfsv4-web-archive@optimus.ietf.org>; Mon, 2 Jun 2003 11:19:08 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA11676
	for <nfsv4-web-archive@ietf.org>; Mon, 2 Jun 2003 11:19:06 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Mr3p-0003vj-00
	for nfsv4-web-archive@ietf.org; Mon, 02 Jun 2003 11:17:21 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19Mr3o-0003vf-00
	for nfsv4-web-archive@ietf.org; Mon, 02 Jun 2003 11:17:20 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52FIvB23788;
	Mon, 2 Jun 2003 11:18:57 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52FBvB23230
	for <nfsv4@optimus.ietf.org>; Mon, 2 Jun 2003 11:11:57 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA11162
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 11:11:50 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Mqwn-0003md-00
	for nfsv4@ietf.org; Mon, 02 Jun 2003 11:10:05 -0400
Received: from brmea-mail-3.sun.com ([192.18.98.34])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Mqwn-0003mZ-00
	for nfsv4@ietf.org; Mon, 02 Jun 2003 11:10:05 -0400
Received: from amunet.Central.Sun.COM ([129.147.4.79])
	by brmea-mail-3.sun.com (8.12.9/8.12.9) with ESMTP id h52FBlep018052
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 09:11:47 -0600 (MDT)
Received: from nyday (nyday.Central.Sun.COM [172.20.25.90])
	by amunet.Central.Sun.COM (8.11.7+Sun/8.11.7/ENSMAIL,v2.2) with SMTP id h52FBkA15344;
	Mon, 2 Jun 2003 09:11:47 -0600 (MDT)
Message-Id: <200306021511.h52FBkA15344@amunet.Central.Sun.COM>
From: Peter Staubach <Peter.Staubach@sun.com>
Reply-To: Peter Staubach <Peter.Staubach@sun.com>
Subject: Re: [nfsv4] NFSv4 WG Agenda (4 June 2003)
To: nfsv4@ietf.org, spencer.shepler@sun.com
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: cRLhpQANtF6B/rCsJDKIWg==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.6_30 SunOS 5.9 sun4u sparc 
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Mon, 2 Jun 2003 09:10:30 -0600 (MDT)
Date: Mon, 2 Jun 2003 09:10:30 -0600 (MDT)


> 
> Please note all I-Ds that are to be discussed are listed and pointers
> provided.
> 

What about the possiblity of a conference call?  I'd like to listen
in and participate in some of the discussions, especially the ones
in the afternoon.  I wasn't able to get travel though...

	Thanx...

		ps

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Mon Jun  2 11:51:34 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA12832
	for <nfsv4-archive@odin.ietf.org>; Mon, 2 Jun 2003 11:51:34 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h52Fp7526677
	for nfsv4-archive@odin.ietf.org; Mon, 2 Jun 2003 11:51:07 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52Fp7B26674
	for <nfsv4-web-archive@optimus.ietf.org>; Mon, 2 Jun 2003 11:51:07 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA12816
	for <nfsv4-web-archive@ietf.org>; Mon, 2 Jun 2003 11:51:04 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19MrYl-0004CQ-00
	for nfsv4-web-archive@ietf.org; Mon, 02 Jun 2003 11:49:19 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19MrYl-0004CN-00
	for nfsv4-web-archive@ietf.org; Mon, 02 Jun 2003 11:49:19 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52FoXB26640;
	Mon, 2 Jun 2003 11:50:33 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52FkAB26443
	for <nfsv4@optimus.ietf.org>; Mon, 2 Jun 2003 11:46:10 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA12652
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 11:46:07 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19MrTy-0004AT-00
	for nfsv4@ietf.org; Mon, 02 Jun 2003 11:44:22 -0400
Received: from [141.211.92.141] (helo=citi.umich.edu)
	by ietf-mx with esmtp (Exim 4.12)
	id 19MrTy-0004AQ-00
	for nfsv4@ietf.org; Mon, 02 Jun 2003 11:44:22 -0400
Received: from citi.umich.edu (unknown [141.211.92.141])
	by citi.umich.edu (Postfix) with ESMTP
	id 20A9C207D4; Mon,  2 Jun 2003 11:46:08 -0400 (EDT)
X-Mailer: exmh version 2.5 07/13/2001 with version: MH 6.8.3 #74[UCI]
To: Peter Staubach <Peter.Staubach@sun.com>
Cc: nfsv4@ietf.org, spencer.shepler@sun.com, andros@citi.umich.edu
Subject: Re: [nfsv4] NFSv4 WG Agenda (4 June 2003) 
In-reply-to: Your message of "Mon, 02 Jun 2003 09:10:30 MDT."
             <200306021511.h52FBkA15344@amunet.Central.Sun.COM> 
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
From: "William A.(Andy) Adamson" <andros@citi.umich.edu>
Message-Id: <20030602154608.20A9C207D4@citi.umich.edu>
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Mon, 02 Jun 2003 11:46:07 -0400
Date: Mon, 02 Jun 2003 11:46:07 -0400

unfortunately, there is no conference call facilities at the interim WG 
meeting location....

-->Andy Adamson
> 
> > 
> > Please note all I-Ds that are to be discussed are listed and pointers
> > provided.
> > 
> 
> What about the possiblity of a conference call?  I'd like to listen
> in and participate in some of the discussions, especially the ones
> in the afternoon.  I wasn't able to get travel though...
> 
> 	Thanx...
> 
> 		ps
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www1.ietf.org/mailman/listinfo/nfsv4
> 


_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Mon Jun  2 14:55:18 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA18899
	for <nfsv4-archive@odin.ietf.org>; Mon, 2 Jun 2003 14:55:18 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h52IsrM10280
	for nfsv4-archive@odin.ietf.org; Mon, 2 Jun 2003 14:54:53 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52IsrB10277
	for <nfsv4-web-archive@optimus.ietf.org>; Mon, 2 Jun 2003 14:54:53 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA18880
	for <nfsv4-web-archive@ietf.org>; Mon, 2 Jun 2003 14:54:47 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19MuQX-0005Vm-00
	for nfsv4-web-archive@ietf.org; Mon, 02 Jun 2003 14:53:01 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19MuQX-0005Vj-00
	for nfsv4-web-archive@ietf.org; Mon, 02 Jun 2003 14:53:01 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52IsfB10252;
	Mon, 2 Jun 2003 14:54:41 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52HpiB05027
	for <nfsv4@optimus.ietf.org>; Mon, 2 Jun 2003 13:51:44 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA16883
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 13:51:40 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19MtRS-00055A-00
	for nfsv4@ietf.org; Mon, 02 Jun 2003 13:49:54 -0400
Received: from mx01.netapp.com ([198.95.226.53])
	by ietf-mx with esmtp (Exim 4.12)
	id 19MtRR-00054b-00
	for nfsv4@ietf.org; Mon, 02 Jun 2003 13:49:53 -0400
Received: from frejya.corp.netapp.com (frejya [10.10.20.91])
	by mx01.netapp.com (8.12.9/8.12.9/NTAP-1.4) with ESMTP id h52Hp2Jo016039
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 10:51:02 -0700 (PDT)
Received: from orbit-fe.eng.netapp.com (orbit-fe.eng.netapp.com [10.56.10.113])
	by frejya.corp.netapp.com (8.12.9/8.12.9/NTAP-1.5) with ESMTP id h52Hp2tf001024
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 10:51:02 -0700 (PDT)
Received: (from beepy@localhost)
	by orbit-fe.eng.netapp.com (8.11.6+Sun/8.11.6) id h52Hp2U08734
	for nfsv4@ietf.org; Mon, 2 Jun 2003 10:51:02 -0700 (PDT)
From: Brian Pawlowski <beepy@netapp.com>
Message-Id: <200306021751.h52Hp2U08734@orbit-fe.eng.netapp.com>
Subject: Re: [nfsv4] NFSv4 WG Agenda (4 June 2003)
In-Reply-To: <20030531103059.GQ180519@sheplerathome.eng.sun.com> from Spencer Shepler at "May 31, 3 05:30:59 am"
To: nfsv4@ietf.org
X-Mailer: ELM [version 2.4ME++ PL40 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Mon, 2 Jun 2003 10:51:02 -0700 (PDT)
Date: Mon, 2 Jun 2003 10:51:02 -0700 (PDT)
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

To make the meeting effective please take the time to review
specs before hand. 

Bring detailed comments and questions - let's make this a
good use of everyone's time.

> Please note all I-Ds that are to be discussed are listed and pointers
> provided.
> 
> ---------------------------------------------------------------------
> 
> 
> 
> Agenda for NFSv4 WG interim meeting (4 June 2003):
> -------------------------------------------------
> 
> 10:00AM EDT Start
> -----------------
> 
> - Welcome, Note Well, and Agenda bashing (5 minutes) (WG co-chairs)
> 
> - Review current NFSv4 Charter and Milestones (10 minutes) (WG co-chairs)
> 
> - "XDR: External Data Representation Standard"
>   http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-rfc1832bis-01.txt
>   Mike Eisler (2 minutes)
> 
> - "RPC Numbering Authority Transfer to IANA"
>   http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-rpc-iana-00.txt
>   Rob Thurlow (10 minutes)
> 
> - "RPC: Remote Procedure Call Protocol Specification Version 2"
>   http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-rfc1831bis-00.txt
>   Rob Thurlow (5 minutes)
> 
> - Minor versioning process
>   Rob Thurlow (15 minutes)
> 
> - "NFSv4.1: SECINFO Changes"
>   http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-secinfo-00.txt
>   Mike Eisler (5 minutes)
> 
> - "CCM: The Credential Cache GSS Mechanism"
>   http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-ccm-01.txt
>   Mike Eisler (15 minutes)
> 
> BREAK (10 minutes)
> 
> 11:15AM EDT Start
> -----------------
> 
> - "Server-to-Server Replication/Migration Protocol Design Principles"
>   http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-repl-mig-design-00.txt
>   Rob Thurlow (2 minutes)
> 
> - "A Server-to-Server Replication/Migration Protocol"
>   http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-repl-mig-proto-01.txt
>   Rob Thurlow (15 minutes)
> 
> - "NFS version 4 MIB for Server Implementations"
>   http://www.ietf.org/internet-drafts/draft-shepler-nfsv4-mib-00.txt
>   Spencer Shepler (10 minutes)
> 
> - "NFS version 4 Directory Notifications"
>   http://www.ietf.org/internet-drafts/draft-shepler-nfsv4-dirnotify-00.txt
>   Dave Noveck, Andy Adamson (20 minutes)
> 
> LUNCH (1 hour)
> 
> 1:00PM EDT Start
> ----------------
> 
> - NFSv4/RDDP requirements discussion
> 
>   - Review of RDDP motivation - Tom Talpey (10 minutes)
> 
>   - "RDMA Transport for ONC RPC"
>      http://www.ietf.org/internet-drafts/draft-callaghan-rpcrdma-00.txt
>      Thomas Talpey, Brent Callaghan (20 minutes)
> 
>   - "NFS Direct Data Placement"
>      http://www.ietf.org/internet-drafts/draft-callaghan-nfsdirect-00.txt
>      Thomas Talpey, Brent Callaghan (5 minutes)
> 
>   - "NFSv4 RDMA and Session Extensions"
>      http://www.ietf.org/internet-drafts/draft-talpey-nfsv4-rdma-sess-00.txt
>      Thomas Talpey, Spencer Shepler (20 minutes)
> 
>   - Open requirements discussion (30 minutes)
> 
> BREAK (15 minutes)
> 
> 2:45PM EDT Start
> ----------------
> 
> - "A Namespace For NFS Version 4"
>   http://www.ietf.org/internet-drafts/draft-thurlow-nfsv4-namespace-00.txt
>   Rob Thurlow (15 minutes)
> 
> - "Mapping Between NFSv4 and Posix Draft ACLs"
>   http://www.ietf.org/internet-drafts/draft-eriksen-nfsv4-acl-01.txt
>   Marius Eriksen (15 minutes)
> 
> - ACL/modes (20 minutes)
> 
> - Owner/Group mappings in multiple security contexts (30 minutes)
> 
> - Callback path use of client's established connection (10 minutes)
> 
> - NFSv4 (RFC3530) interpretation discussions/clarifications (30 minutes)
> 
> - NFSv4 implementation and test plans for moving to Draft Standard (5 minutes)
> 
> 
> END
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www1.ietf.org/mailman/listinfo/nfsv4

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Mon Jun  2 17:54:44 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA25740
	for <nfsv4-archive@odin.ietf.org>; Mon, 2 Jun 2003 17:54:44 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h52LsK126758
	for nfsv4-archive@odin.ietf.org; Mon, 2 Jun 2003 17:54:20 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52LsJB26755
	for <nfsv4-web-archive@optimus.ietf.org>; Mon, 2 Jun 2003 17:54:19 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA25710
	for <nfsv4-web-archive@ietf.org>; Mon, 2 Jun 2003 17:54:14 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19MxED-0006qX-00
	for nfsv4-web-archive@ietf.org; Mon, 02 Jun 2003 17:52:29 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19MxEC-0006qU-00
	for nfsv4-web-archive@ietf.org; Mon, 02 Jun 2003 17:52:28 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52LreB26687;
	Mon, 2 Jun 2003 17:53:40 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52LnlB26539
	for <nfsv4@optimus.ietf.org>; Mon, 2 Jun 2003 17:49:47 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA25643
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 17:49:41 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Mx9o-0006pT-00
	for nfsv4@ietf.org; Mon, 02 Jun 2003 17:47:56 -0400
Received: from e32.co.us.ibm.com ([32.97.110.130])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Mx9n-0006pG-00
	for nfsv4@ietf.org; Mon, 02 Jun 2003 17:47:55 -0400
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e32.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h52LnBkc131380
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 17:49:11 -0400
Received: from d03nm121.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h52Lmwba052268
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 15:48:58 -0600
Importance: Normal
To: <nfsv4@ietf.org>
X-Mailer: Lotus Notes Release 5.0.6  December 14, 2000
Message-ID: <OF7EDC7E3B.61A29E8C-ON87256D39.005EBFFB@us.ibm.com>
From: Ronald E Bretschneider <bret@us.ibm.com>
X-MIMETrack: Serialize by Router on D03NM121/03/M/IBM(Release 6.0.1 [IBM]|April 28, 2003) at
 06/02/2003 15:48:58
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Subject: [nfsv4] random locking questions
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Mon, 2 Jun 2003 14:48:17 -0700
Date: Mon, 2 Jun 2003 14:48:17 -0700





Hi,
   I am sorry to ask so many questions but we have some controversary here
with various interpretations of some locking issues. It seems that when
ever we have two people read something we come up with at least three
interpretations.  I would appreciate it if you could clear up our vision.

thanks,
Ron

1. I assume that NFS V4 does not preclude reads and writes without a
preceeding open. I.e. a client could issue V4 lookup operation to determine
a file handle and then use it with stateid of 0s or 1s to read or write. Is
it correct to allow this behavior?  Is this valid only to an advisory
locking file?
   1. if we allow V4 read or write without open to a mandatory locking
   file, I assume that we get a share reservation for the duration of the
   read or write request. Is this correct?
   2. Certainly a client cannot issue V4 locks without valid open,  the "
   locker parameter " on the lock operation does not make sense otherwise.
   Is this correct?

2. mandatory vs advisory locking questions:
   1. it seems that the stateids (as an indication of what locks are held)
   are only interesting if V4 reads or writes are issued for a mandatory
   locking file. If access is done to an advisory locking file, a byte
   range access conflict is determined during the lock operation. V4 read
   and write operations to an advisory locking file should not check for
   valid lock ranges being held.  If the server did check, there is no
   error code (not_locked for example) to indicate the error. Is this
   correct?
      1. It seems that for special stateids (either stateid = 0s or 1s),
      read or write access to an advisory locking file would simply perform
      the read operation,  just as any other read. Is this correct? I.e.
      for advisory locking files, there is no byte range lock verification
      on a read or write.
   2. it seems for mandatory locking files, if a read or write with a valid
   stateid does not have the requested byte range locked (either none of
   the range is locked or only part of the range is locked) an implicit
   lock for the duration of the operation should be obtained. I come to
   this conclusion because there is no "not_locked" error code on read or
   write. Is this correct?
      1. If an implicit lock is to be obtained, how should it (the implicit
      lock request) behave when a conflict is detected with an explicitly
      obtained lock? Similarily, how should an implicit lock behave when a
      conflict with another implicit lock is detected?  (i.e. should the
      implicit lock always wait? or do we assume that a lock request might
      take some time to be released and, as this is a read, we should not
      always wait. does a client have some expectation that a read will
      finish faster than a lock request?)
      2. If the a conflict is detected between the implicit lock and
      another lock because part, but not all, of the requested range is
      held by another user, would you read or write to the range that could
      be successfully locked (i.e. only perform a partial read or write)?
      Obviously at least the first byte of the range would have to be
      lockable. Or would you return an error of locked?
   3. Section 8.1.4 contains the following sentence "Regardless whether a
   stateid of all bits 0, or a stateid returned by the server is used, if
   there is a conflicting share reservation or mandatory record lock held
   on the file, the server MUST refuse to service the READ or WRITE
   operation."  What does the term manditory record lock mean?  Again, is
   this an indication that stateids are only interesting for mandatory
   locking files?
   4. It seems that for stateid = 0s, read or write to a mandatory locking
   file would generate a temporary lock for the range requested. It seems
   that for read or write to an advisory locking file, no temporary lock
   would be obtained. Is this correct?
   5. If no open was issued and a stateid = 0s is used on a read or a write
   to a mandatory locking file, is a temporary share reservation to be
   obtained?
   6. I assume that you allow a nfs v2/v3 protocol client to access a
   mandatory locking file if he has obtained valid byte range locks. But
   what if he has not obtained file share reservations in a NFS V4
   environment (i.e. the operating environment is supporting access from
   V2, V3, and V4 to the same mandatory locking file), do you obtain an
   implicit tempory file share (deny_none, access = read or write) for the
   duration of the read or write RPC?  or because V2/V3 read/write does not
   define an error of locked, do you ignore this. We thought of returning
   ACCES if byte range locks were not held in this case, but do you handle
   share violations the same way?

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Mon Jun  2 19:30:48 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA29846
	for <nfsv4-archive@odin.ietf.org>; Mon, 2 Jun 2003 19:30:48 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h52NULD01275
	for nfsv4-archive@odin.ietf.org; Mon, 2 Jun 2003 19:30:21 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52NULB01272
	for <nfsv4-web-archive@optimus.ietf.org>; Mon, 2 Jun 2003 19:30:21 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA29843
	for <nfsv4-web-archive@ietf.org>; Mon, 2 Jun 2003 19:30:18 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19MyjB-0007Y5-00
	for nfsv4-web-archive@ietf.org; Mon, 02 Jun 2003 19:28:33 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19MyjA-0007Y2-00
	for nfsv4-web-archive@ietf.org; Mon, 02 Jun 2003 19:28:32 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52NTlB01219;
	Mon, 2 Jun 2003 19:29:47 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h52NPqB01094
	for <nfsv4@optimus.ietf.org>; Mon, 2 Jun 2003 19:25:52 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA29779
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 19:25:48 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Myeq-0007WN-00
	for nfsv4@ietf.org; Mon, 02 Jun 2003 19:24:04 -0400
Received: from nwkea-mail-1.sun.com ([192.18.42.13])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Myep-0007WI-00
	for nfsv4@ietf.org; Mon, 02 Jun 2003 19:24:03 -0400
Received: from centralmail1brm.Central.Sun.COM ([129.147.62.1])
	by nwkea-mail-1.sun.com (8.12.9/8.12.9) with ESMTP id h52NPJ4Z029986;
	Mon, 2 Jun 2003 16:25:19 -0700 (PDT)
Received: from Sun.COM (jetsun.Central.Sun.COM [129.153.128.60])
	by centralmail1brm.Central.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h52NPINg026409;
	Mon, 2 Jun 2003 17:25:18 -0600 (MDT)
Message-ID: <3EDBDCDC.4070302@Sun.COM>
From: David Robinson <David.Robinson@Sun.COM>
Reply-To: David.Robinson@Sun.COM
Organization: Sun Microsystems, Inc.
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020827
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Ronald E Bretschneider <bret@us.ibm.com>
CC: nfsv4@ietf.org
Subject: Re: [nfsv4] random locking questions
References: <OF7EDC7E3B.61A29E8C-ON87256D39.005EBFFB@us.ibm.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Mon, 02 Jun 2003 18:25:16 -0500
Date: Mon, 02 Jun 2003 18:25:16 -0500
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

[IBM sure asks a lot of locking questions...]

Ronald E Bretschneider wrote:
> 1. I assume that NFS V4 does not preclude reads and writes without a
> preceeding open. I.e. a client could issue V4 lookup operation to determine
> a file handle and then use it with stateid of 0s or 1s to read or write. Is
> it correct to allow this behavior?  Is this valid only to an advisory
> locking file?

Yes, and Maybe. Bottom line is that a server may reject any use
of all 0's or all 1's stateids for any reason.  But it is expected
that doing I/O via a LOOKUP and READ/WRITE without an OPEN will
generally be allowed. It is up to the server to determine how it
interacts with other locking mechanisms and if it will allow
it in the face of an outstanding lock, be it mandatory or advisory.
The design encourages I/O operations that will not corrupt an
active lock, such as reading a read or write locked file but not
allowing a write to a file with any locks. But again, it is up to
the server to define the behavior.

>    1. if we allow V4 read or write without open to a mandatory locking
>    file, I assume that we get a share reservation for the duration of the
>    read or write request. Is this correct?

No, there are no "implicit" locks for any operation (this was hinted in
early drafts that just confused things). How the server allows
interaction from a client without an OPEN to one with a current share
resv is server defined.  Some servers may never cause a request to be
denied, other may always. In general, share reservations are orthogonal
to byte range locks, one controls access to OPEN a file, the other
to perform I/O. It is logical that a server that allows I/Os without
an OPEN would simply disregard any existing share reservations, but
it would also be consistent that a server may also any access to
a file OPENed with deny-all. These design decisions may be determined
by the underlying operating system, one that has strict native
enforcement of shares may not be able to allow bypass while an OS
that doesn't have native support (e.g. Unix) may allow it.

>    2. Certainly a client cannot issue V4 locks without valid open,  the "
>    locker parameter " on the lock operation does not make sense otherwise.
>    Is this correct?

In principle it should be possible to lock a file without performing an
OPEN. The only oddity is that the stateid has no meaning because one
has not been established yet, but the server should know it.  What
makes this really strange is that we normally use OPEN to establish
the nfs_lockowner by the server issuing an OPEN_CONFIRM, but that
won't happen in this case. But OPEN_CONFIRM is designed to recover
from a replay of OPEN, which won't happen in this case. But you
can reply LOCK requests because there is a sequence number.

I am not an implementor, but I can see logic in rejecting a LOCK on
a file that was not OPENed.

> 2. mandatory vs advisory locking questions:
>    1. it seems that the stateids (as an indication of what locks are held)
>    are only interesting if V4 reads or writes are issued for a mandatory
>    locking file. If access is done to an advisory locking file, a byte
>    range access conflict is determined during the lock operation. V4 read
>    and write operations to an advisory locking file should not check for
>    valid lock ranges being held.  If the server did check, there is no
>    error code (not_locked for example) to indicate the error. Is this
>    correct?

No, there is value in checking for advisory locks to specifically catch
the case where a READ/WRITE gets reordered around a LOCK operation. The
stateid will allow the server to determine if the operation is from
a client that is participating in locking or not.

>    2. it seems for mandatory locking files, if a read or write with a valid
>    stateid does not have the requested byte range locked (either none of
>    the range is locked or only part of the range is locked) an implicit
>    lock for the duration of the operation should be obtained. I come to
>    this conclusion because there is no "not_locked" error code on read or
>    write. Is this correct?

There are no "implicit" locks in NFSv4 from a protocol definition
perspective.  A server may choose to use its own internal locking
structures to serialize requests to manage its internal data structures,
but that is not visible in the protocol.  An implict lock would
define that an error could be returned that implied a lock was
being held when one was not explicitly created, that cannot happen.

>    4. It seems that for stateid = 0s, read or write to a mandatory locking
>    file would generate a temporary lock for the range requested. It seems
>    that for read or write to an advisory locking file, no temporary lock
>    would be obtained. Is this correct?

Again, there is no temporary locks.

>    5. If no open was issued and a stateid = 0s is used on a read or a write
>    to a mandatory locking file, is a temporary share reservation to be
>    obtained?

No.

>    6. I assume that you allow a nfs v2/v3 protocol client to access a
>    mandatory locking file if he has obtained valid byte range locks. But
>    what if he has not obtained file share reservations in a NFS V4
>    environment (i.e. the operating environment is supporting access from
>    V2, V3, and V4 to the same mandatory locking file), do you obtain an
>    implicit tempory file share (deny_none, access = read or write) for the
>    duration of the read or write RPC?  or because V2/V3 read/write does not
>    define an error of locked, do you ignore this. We thought of returning
>    ACCES if byte range locks were not held in this case, but do you handle
>    share violations the same way?

Interoperability between V2 or V3 and V4 is undefined, it is up to the
implementor to decide what, if any, interaction occurs.  I expect that
many implementations will have no interaction, similar to how many
CIFS implementations do not interact with NFS.

	-David

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Tue Jun  3 00:00:47 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA06323
	for <nfsv4-archive@odin.ietf.org>; Tue, 3 Jun 2003 00:00:47 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5340KJ21022
	for nfsv4-archive@odin.ietf.org; Tue, 3 Jun 2003 00:00:20 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5340KB21019
	for <nfsv4-web-archive@optimus.ietf.org>; Tue, 3 Jun 2003 00:00:20 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA06313
	for <nfsv4-web-archive@ietf.org>; Tue, 3 Jun 2003 00:00:16 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19N2wR-0001Pm-00
	for nfsv4-web-archive@ietf.org; Mon, 02 Jun 2003 23:58:31 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19N2wQ-0001Pj-00
	for nfsv4-web-archive@ietf.org; Mon, 02 Jun 2003 23:58:30 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h533xcB20954;
	Mon, 2 Jun 2003 23:59:38 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h533tkB20832
	for <nfsv4@optimus.ietf.org>; Mon, 2 Jun 2003 23:55:46 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA06256
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 23:55:43 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19N2s1-0001P4-00
	for nfsv4@ietf.org; Mon, 02 Jun 2003 23:53:57 -0400
Received: from nwkea-mail-1.sun.com ([192.18.42.13])
	by ietf-mx with esmtp (Exim 4.12)
	id 19N2s1-0001Ot-00
	for nfsv4@ietf.org; Mon, 02 Jun 2003 23:53:57 -0400
Received: from engmail1mpk.Eng.Sun.COM ([129.146.1.45])
	by nwkea-mail-1.sun.com (8.12.9/8.12.9) with ESMTP id h533tE4Z008428
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 20:55:14 -0700 (PDT)
Received: from shepler.eng.sun.com (vpn-129-147-154-143.Central.Sun.COM [129.147.154.143])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h533tCNh025521
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 20:55:13 -0700 (PDT)
Received: from shepler.eng.sun.com (localhost [127.0.0.1])
	by shepler.eng.sun.com (8.12.9+Sun/8.12.9) with ESMTP id h533t8FS101731
	for <nfsv4@ietf.org>; Mon, 2 Jun 2003 22:55:08 -0500 (CDT)
Received: (from shepler@localhost)
	by shepler.eng.sun.com (8.12.9+Sun/8.12.9/Submit) id h533t8QQ101730
	for nfsv4@ietf.org; Mon, 2 Jun 2003 22:55:08 -0500 (CDT)
From: Spencer Shepler <spencer.shepler@sun.com>
To: nfsv4@ietf.org
Subject: Re: [nfsv4] random locking questions
Message-ID: <20030603035507.GZ101094@shepler.central.sun.com>
Reply-To: spencer.shepler@sun.com
Mail-Followup-To: Spencer Shepler <spencer.shepler@sun.com>, nfsv4@ietf.org
References: <OF7EDC7E3B.61A29E8C-ON87256D39.005EBFFB@us.ibm.com> <3EDBDCDC.4070302@Sun.COM>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3EDBDCDC.4070302@Sun.COM>
User-Agent: Mutt/1.4i
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Mon, 2 Jun 2003 22:55:07 -0500
Date: Mon, 2 Jun 2003 22:55:07 -0500

On Mon, David Robinson wrote:
> [IBM sure asks a lot of locking questions...]
> 
> Ronald E Bretschneider wrote:
> >1. I assume that NFS V4 does not preclude reads and writes without a
> >preceeding open. I.e. a client could issue V4 lookup operation to determine
> >a file handle and then use it with stateid of 0s or 1s to read or write. Is
> >it correct to allow this behavior?  Is this valid only to an advisory
> >locking file?
> 
> Yes, and Maybe. Bottom line is that a server may reject any use
> of all 0's or all 1's stateids for any reason.  But it is expected
> that doing I/O via a LOOKUP and READ/WRITE without an OPEN will
> generally be allowed. It is up to the server to determine how it
> interacts with other locking mechanisms and if it will allow
> it in the face of an outstanding lock, be it mandatory or advisory.
> The design encourages I/O operations that will not corrupt an
> active lock, such as reading a read or write locked file but not
> allowing a write to a file with any locks. But again, it is up to
> the server to define the behavior.
> 
> >   1. if we allow V4 read or write without open to a mandatory locking
> >   file, I assume that we get a share reservation for the duration of the
> >   read or write request. Is this correct?
> 
> No, there are no "implicit" locks for any operation (this was hinted in
> early drafts that just confused things). How the server allows
> interaction from a client without an OPEN to one with a current share
> resv is server defined.  Some servers may never cause a request to be
> denied, other may always. In general, share reservations are orthogonal
> to byte range locks, one controls access to OPEN a file, the other
> to perform I/O. It is logical that a server that allows I/Os without
> an OPEN would simply disregard any existing share reservations, but
> it would also be consistent that a server may also any access to
> a file OPENed with deny-all. These design decisions may be determined
> by the underlying operating system, one that has strict native
> enforcement of shares may not be able to allow bypass while an OS
> that doesn't have native support (e.g. Unix) may allow it.
> 
> >   2. Certainly a client cannot issue V4 locks without valid open,  the "
> >   locker parameter " on the lock operation does not make sense otherwise.
> >   Is this correct?
> 
> In principle it should be possible to lock a file without performing an
> OPEN. The only oddity is that the stateid has no meaning because one
> has not been established yet, but the server should know it.  What
> makes this really strange is that we normally use OPEN to establish
> the nfs_lockowner by the server issuing an OPEN_CONFIRM, but that
> won't happen in this case. But OPEN_CONFIRM is designed to recover
> from a replay of OPEN, which won't happen in this case. But you
> can reply LOCK requests because there is a sequence number.
> 
> I am not an implementor, but I can see logic in rejecting a LOCK on
> a file that was not OPENed.

Rejecting a LOCK request that does not use a valid open_stateid is
required of the server.  The file does need to be OPEN before a LOCK
is attempted.

> >2. mandatory vs advisory locking questions:
> >   1. it seems that the stateids (as an indication of what locks are held)
> >   are only interesting if V4 reads or writes are issued for a mandatory
> >   locking file. If access is done to an advisory locking file, a byte
> >   range access conflict is determined during the lock operation. V4 read
> >   and write operations to an advisory locking file should not check for
> >   valid lock ranges being held.  If the server did check, there is no
> >   error code (not_locked for example) to indicate the error. Is this
> >   correct?
> 
> No, there is value in checking for advisory locks to specifically catch
> the case where a READ/WRITE gets reordered around a LOCK operation. The
> stateid will allow the server to determine if the operation is from
> a client that is participating in locking or not.

Reordered or the READ/WRITE request is retransmitted.  It could also
be the case that the client is doing something like read-ahead (even
though it should refrain from this behavior when file locks are being
used) and the READ requests are received after a LOCK/LOCKU request.
I see this as a requirement of the server (stateid checking)
regardless of the type of locking being provided (mandatory or
advisory).  This checking and provision for correctness (appropriate
ordering) was one of the main reasons why stateids were added to the
protocol.  In the scenario I just described, the error
NFS4ERR_OLD_STATEID is an appropriate return.

The following issue is whether the server checks the actual ranges
after verifying that the stateid is current valid.  This is where the
advisory/mandatory issue arises.  Mandatory says the server is
checking ranges/advisory -- no.  Therefore, if the server is checking
ranges, it is providing mandatory file locking and therefore has the
appropriate error to return.

> >   2. it seems for mandatory locking files, if a read or write with a valid
> >   stateid does not have the requested byte range locked (either none of
> >   the range is locked or only part of the range is locked) an implicit
> >   lock for the duration of the operation should be obtained. I come to
> >   this conclusion because there is no "not_locked" error code on read or
> >   write. Is this correct?
> 
> There are no "implicit" locks in NFSv4 from a protocol definition
> perspective.  A server may choose to use its own internal locking
> structures to serialize requests to manage its internal data structures,
> but that is not visible in the protocol.  An implict lock would
> define that an error could be returned that implied a lock was
> being held when one was not explicitly created, that cannot happen.

David is correct.  I would also suggest search the RFC for
NFS4ERR_LOCKED and read the surrounding text.  It covers the various
scenarios and places the onus on the client to obtain locks if
NFS4ERR_LOCKED is returned as a result of a mismatch between WRITE
range and held LOCK range.

> >   4. It seems that for stateid = 0s, read or write to a mandatory locking
> >   file would generate a temporary lock for the range requested. It seems
> >   that for read or write to an advisory locking file, no temporary lock
> >   would be obtained. Is this correct?
> 
> Again, there is no temporary locks.
> 
> >   5. If no open was issued and a stateid = 0s is used on a read or a write
> >   to a mandatory locking file, is a temporary share reservation to be
> >   obtained?
> 
> No.
> 
> >   6. I assume that you allow a nfs v2/v3 protocol client to access a
> >   mandatory locking file if he has obtained valid byte range locks. But
> >   what if he has not obtained file share reservations in a NFS V4
> >   environment (i.e. the operating environment is supporting access from
> >   V2, V3, and V4 to the same mandatory locking file), do you obtain an
> >   implicit tempory file share (deny_none, access = read or write) for the
> >   duration of the read or write RPC?  or because V2/V3 read/write does not
> >   define an error of locked, do you ignore this. We thought of returning
> >   ACCES if byte range locks were not held in this case, but do you handle
> >   share violations the same way?
> 
> Interoperability between V2 or V3 and V4 is undefined, it is up to the
> implementor to decide what, if any, interaction occurs.  I expect that
> many implementations will have no interaction, similar to how many
> CIFS implementations do not interact with NFS.

It should also be noted that NFSv2/v3 do not support mandatory file
locking because there is a lack of information provided on the
READ/WRITE operations that allows them to be associated with the LOCK
requests (yet another reason for stateids in NFSv4).  Therefore, there
is no way that an NFSv2/v3 server can provide generic mandatory file
locking to a NFSv2/v3 client regardless of NFSv4 support at the server.

-- 
Spencer

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Tue Jun  3 10:52:35 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA07782
	for <nfsv4-archive@odin.ietf.org>; Tue, 3 Jun 2003 10:52:35 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h53EqCq21346
	for nfsv4-archive@odin.ietf.org; Tue, 3 Jun 2003 10:52:12 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53EqCB21343
	for <nfsv4-web-archive@optimus.ietf.org>; Tue, 3 Jun 2003 10:52:12 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA07761
	for <nfsv4-web-archive@ietf.org>; Tue, 3 Jun 2003 10:52:05 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19ND7C-0006he-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 10:50:18 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19ND78-0006hY-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 10:50:14 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53EpiB21218;
	Tue, 3 Jun 2003 10:51:44 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53ElFB20945
	for <nfsv4@optimus.ietf.org>; Tue, 3 Jun 2003 10:47:15 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA07570
	for <nfsv4@ietf.org>; Tue, 3 Jun 2003 10:47:09 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19ND2Q-0006e5-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 10:45:22 -0400
Received: from brmea-mail-2.sun.com ([192.18.98.43])
	by ietf-mx with esmtp (Exim 4.12)
	id 19ND2P-0006e2-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 10:45:21 -0400
Received: from engmail1mpk.Eng.Sun.COM ([129.146.1.45])
	by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h53El9YU014172
	for <nfsv4@ietf.org>; Tue, 3 Jun 2003 08:47:09 -0600 (MDT)
Received: from shepler.eng.sun.com (vpn-129-147-152-242.Central.Sun.COM [129.147.152.242])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h53El8Nh008608
	for <nfsv4@ietf.org>; Tue, 3 Jun 2003 07:47:08 -0700 (PDT)
Received: from shepler.eng.sun.com (localhost [127.0.0.1])
	by shepler.eng.sun.com (8.12.9+Sun/8.12.9) with ESMTP id h53El3Ts100790
	for <nfsv4@ietf.org>; Tue, 3 Jun 2003 09:47:03 -0500 (CDT)
Received: (from shepler@localhost)
	by shepler.eng.sun.com (8.12.9+Sun/8.12.9/Submit) id h53El2qT100789
	for nfsv4@ietf.org; Tue, 3 Jun 2003 09:47:02 -0500 (CDT)
From: Spencer Shepler <spencer.shepler@sun.com>
To: nfsv4@ietf.org
Message-ID: <20030603144702.GA100775@shepler.central.sun.com>
Reply-To: spencer.shepler@sun.com
Mail-Followup-To: Spencer Shepler <spencer.shepler@sun.com>, nfsv4@ietf.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Subject: [nfsv4] Recent individual drafts (ACL and ACE mappings)
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 3 Jun 2003 09:47:02 -0500
Date: Tue, 3 Jun 2003 09:47:02 -0500


Two personal draft were announced today (summaries are includede
below).  These arrived too late to be fully considered for tomorrow's
interim meeting but there are agenda items already present related to
these.  Therefore, the I-Ds will not be fully considered but the
topics on the agenda still hold.

-- 
Spencer

---------------------------------------------------------------------------
A New Internet-Draft is available from the on-line Internet-Drafts directories.


	Title		: Mapping Between NFSv4 and Posix Draft ACLs
	Author(s)	: M. Eriksen
	Filename	: draft-eriksen-nfsv4-acl-02.txt
	Pages		: 10
	Date		: 2003-6-2
	
The NFS (Network File System) version 4[rfc3530] (NFSv4) specifies a
flavor of Access Control Lists (ACLs) that apply to file system
objects.  ACLs specify an access level for a number of entities. The
NFSv4 ACLs model resembles that of Windows NT.  A POSIX
draft[posixacl] proposes another, more restrictive ACL model.  Many
systems implement this proposed standard.  Differing in syntax,
semantics and extensiveness, it is only feasible to create a correct
representation for POSIX ACLs with NFSv4 ACLs.  This does not hold
for an attempt to represent arbitrary NFSv4 ACLs with POSIX ACLs.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-eriksen-nfsv4-acl-02.txt

---------------------------------------------------------------------------
A New Internet-Draft is available from the on-line Internet-Drafts directories.


	Title		: A Method and Protocol for Mapping of Multi-Realm NFSv4
                          ACE Names to Internal Security Entity Identifiers
	Author(s)	: N. Williams
	Filename	: draft-williams-nfsv4-ace-mapping-00.txt
	Pages		: 18
	Date		: 2003-6-2
	
NFSv4 Access Control List (ACL) Element (ACE) 'who' names identify
users and groups and support a non-flat namespace where each user and
group belongs to a given domain.  Servers usually do not store NFSv4
ACL ACE names but internal forms, often as fixed sized binary values
(e.g., as integers).
For some operating system standards, such as POSIX, those internal
ACE forms have a flat namespace (e.g., from 0 to 2^32 -1).  In order
to properly support non-flat NFSv4 ACE names some method is needed to
map ACE names from multiple domains to internal forms.  Other

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-williams-nfsv4-ace-mapping-00.txt
---------------------------------------------------------------------------
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Tue Jun  3 13:47:20 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA16239
	for <nfsv4-archive@odin.ietf.org>; Tue, 3 Jun 2003 13:47:20 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h53HksB07318
	for nfsv4-archive@odin.ietf.org; Tue, 3 Jun 2003 13:46:54 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53HksB07315
	for <nfsv4-web-archive@optimus.ietf.org>; Tue, 3 Jun 2003 13:46:54 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA16212
	for <nfsv4-web-archive@ietf.org>; Tue, 3 Jun 2003 13:46:49 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NFqH-000102-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 13:45:01 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19NFqH-0000zy-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 13:45:01 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53HjnB07209;
	Tue, 3 Jun 2003 13:45:49 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53HfgB06932
	for <nfsv4@optimus.ietf.org>; Tue, 3 Jun 2003 13:41:42 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA16032
	for <nfsv4@ietf.org>; Tue, 3 Jun 2003 13:41:36 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NFlG-0000xh-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 13:39:50 -0400
Received: from mx01.netapp.com ([198.95.226.53])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NFlF-0000xd-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 13:39:49 -0400
Received: from frejya.corp.netapp.com (frejya [10.10.20.91])
	by mx01.netapp.com (8.12.9/8.12.9/NTAP-1.4) with ESMTP id h53Hf6Jo013588;
	Tue, 3 Jun 2003 10:41:06 -0700 (PDT)
Received: from svlexc01.hq.netapp.com (svlexc01.corp.netapp.com [10.10.22.171])
	by frejya.corp.netapp.com (8.12.9/8.12.9/NTAP-1.5) with ESMTP id h53Hf6tf026188;
	Tue, 3 Jun 2003 10:41:06 -0700 (PDT)
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: RE: [nfsv4] random locking questions
Message-ID: <C8CF60CFC4D8A74E9945E32CF096548A6D3409@silver.nane.netapp.com>
Thread-Topic: [nfsv4] random locking questions
Thread-Index: AcMpYS62EHHTdzJUTb6TFIUvW3na1wAkrt9Q
From: "Noveck, Dave" <Dave.Noveck@netapp.com>
To: <David.Robinson@sun.com>, "Ronald E Bretschneider" <bret@us.ibm.com>
Cc: <nfsv4@ietf.org>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by www1.ietf.org id h53HfgB06933
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 3 Jun 2003 10:41:02 -0700
Date: Tue, 3 Jun 2003 10:41:02 -0700
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit

David Robinson worte: 
> Ronald E Bretschneider wrote:
> > 1. I assume that NFS V4 does not preclude reads and writes without a
> > preceeding open. I.e. a client could issue V4 lookup operation to determine
> > a file handle and then use it with stateid of 0s or 1s to read or write. Is
> > it correct to allow this behavior?  Is this valid only to an advisory
> > locking file?

> Yes, and Maybe. Bottom line is that a server may reject any use
> of all 0's or all 1's stateids for any reason.  

I don't see this in the spec anywhere.  The spec leaves a lot of
room for server semantics, but I don't see any special freedom for
the all 0's or all 1's case.  

> But it is expected
> that doing I/O via a LOOKUP and READ/WRITE without an OPEN will
> generally be allowed.

The spec is ambivalent about this issue.  It says:

   To provide correct share semantics, a client MUST use the OPEN
   operation to obtain the initial filehandle and indicate the desired
   access and what if any access to deny.  Even if the client intends to
   use a stateid of all 0's or all 1's, it must still obtain the
   filehandle for the regular file with the OPEN operation so the
   appropriate share semantics can be applied.

On the other hand, if you are always going to do an OPEN, you have
a stateid (other than all 0's) with which to do the IO so there is no
point in defining a stateid of all 0's.

So my server (and all the others I know about) do support this, simply
because clients do do this.  Whether they should feel guilty about this 
is a matter best left to individual implementor conscience. 

> It is up to the server to determine how it
> interacts with other locking mechanisms and if it will allow
> it in the face of an outstanding lock, be it mandatory or advisory.

Well the spec says,

   If the lock_owner performs a READ or WRITE in a situation in which it
   has established a lock or share reservation on the server (any OPEN
   constitutes a share reservation) the stateid (previously returned by
   the server) must be used to indicate what locks, including both
   record locks and share reservations, are held by the lockowner.  If
   no state is established by the client, either record lock or share
   reservation, a stateid of all bits 0 is used.  Regardless whether a
   stateid of all bits 0, or a stateid returned by the server is used,
   if there is a conflicting share reservation or mandatory record lock
   held on the file, the server MUST refuse to service the READ or WRITE
   operation.

> The design encourages I/O operations that will not corrupt an
> active lock, such as reading a read or write locked file but not
> allowing a write to a file with any locks. But again, it is up to
> the server to define the behavior.

 
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Tue Jun  3 14:12:26 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA17570
	for <nfsv4-archive@odin.ietf.org>; Tue, 3 Jun 2003 14:12:26 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h53IC1510906
	for nfsv4-archive@odin.ietf.org; Tue, 3 Jun 2003 14:12:01 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53IC1B10901
	for <nfsv4-web-archive@optimus.ietf.org>; Tue, 3 Jun 2003 14:12:01 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA17527
	for <nfsv4-web-archive@ietf.org>; Tue, 3 Jun 2003 14:11:56 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NGEa-0001Ic-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 14:10:08 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19NGEa-0001IZ-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 14:10:08 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53IBZB10791;
	Tue, 3 Jun 2003 14:11:35 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53I7JB09844
	for <nfsv4@optimus.ietf.org>; Tue, 3 Jun 2003 14:07:19 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA17350
	for <nfsv4@ietf.org>; Tue, 3 Jun 2003 14:07:14 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NGA2-0001EV-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 14:05:27 -0400
Received: from nwkea-mail-2.sun.com ([192.18.42.14])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NGA2-0001E9-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 14:05:26 -0400
Received: from centralmail2brm.Central.Sun.COM ([129.147.62.14])
	by nwkea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h53I6hLv016709
	for <nfsv4@ietf.org>; Tue, 3 Jun 2003 11:06:44 -0700 (PDT)
Received: from binky.central.sun.com (binky.Central.Sun.COM [129.153.128.104])
	by centralmail2brm.Central.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h53I6huP029128;
	Tue, 3 Jun 2003 12:06:43 -0600 (MDT)
Received: from binky.central.sun.com (localhost [127.0.0.1])
	by binky.central.sun.com (8.12.5+Sun/8.12.3) with ESMTP id h53I3vQx022444;
	Tue, 3 Jun 2003 11:03:57 -0700 (PDT)
Received: (from nw141292@localhost)
	by binky.central.sun.com (8.12.5+Sun/8.12.3/Submit) id h53I3vY9022443;
	Tue, 3 Jun 2003 11:03:57 -0700 (PDT)
From: Nicolas Williams <Nicolas.Williams@sun.com>
To: Spencer Shepler <spencer.shepler@sun.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] Recent individual drafts (ACL and ACE mappings)
Message-ID: <20030603110357.U19455@binky.central.sun.com>
Mail-Followup-To: Spencer Shepler <spencer.shepler@sun.com>, nfsv4@ietf.org
References: <20030603144702.GA100775@shepler.central.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.2.5i
In-Reply-To: <20030603144702.GA100775@shepler.central.sun.com>; from spencer.shepler@sun.com on Tue, Jun 03, 2003 at 09:47:02AM -0500
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 3 Jun 2003 11:03:57 -0700
Date: Tue, 3 Jun 2003 11:03:57 -0700

On Tue, Jun 03, 2003 at 09:47:02AM -0500, Spencer Shepler wrote:
> 
> Two personal draft were announced today (summaries are includede
> below).  These arrived too late to be fully considered for tomorrow's
> interim meeting but there are agenda items already present related to
> these.  Therefore, the I-Ds will not be fully considered but the
> topics on the agenda still hold.

BTW, I submitted my draft last week (on Wednesday), but for some reason
the I-D submission took four business days to be processed.  Sigh.

Nico
-- 
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Tue Jun  3 15:39:19 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA21940
	for <nfsv4-archive@odin.ietf.org>; Tue, 3 Jun 2003 15:39:19 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h53JcpT21953
	for nfsv4-archive@odin.ietf.org; Tue, 3 Jun 2003 15:38:51 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53JcpB21950
	for <nfsv4-web-archive@optimus.ietf.org>; Tue, 3 Jun 2003 15:38:51 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA21926
	for <nfsv4-web-archive@ietf.org>; Tue, 3 Jun 2003 15:38:48 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NHaf-00027F-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 15:37:01 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19NHae-00027C-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 15:37:00 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53JbvB21899;
	Tue, 3 Jun 2003 15:37:57 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53JXoB20854
	for <nfsv4@optimus.ietf.org>; Tue, 3 Jun 2003 15:33:50 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA21607
	for <nfsv4@ietf.org>; Tue, 3 Jun 2003 15:33:47 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NHVo-000219-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 15:32:00 -0400
Received: from e31.co.us.ibm.com ([32.97.110.129])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NHVn-00020l-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 15:31:59 -0400
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e31.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h53JXHQs257530;
	Tue, 3 Jun 2003 15:33:17 -0400
Received: from d03nm121.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h53JX1h9141228;
	Tue, 3 Jun 2003 13:33:09 -0600
Importance: Normal
Subject: Re: [nfsv4] random locking questions
To: spencer.shepler@sun.com, David.Robinson@sun.com
Cc: nfsv4@ietf.org
X-Mailer: Lotus Notes Release 5.0.6  December 14, 2000
Message-ID: <OF42D3C494.B12DA7A9-ON87256D3A.005D81E3@us.ibm.com>
From: Ronald E Bretschneider <bret@us.ibm.com>
X-MIMETrack: Serialize by Router on D03NM121/03/M/IBM(Release 6.0.1 [IBM]|April 28, 2003) at
 06/03/2003 13:33:08
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 3 Jun 2003 12:32:54 -0700
Date: Tue, 3 Jun 2003 12:32:54 -0700





On Mon, David Robinson wrote:
> [IBM sure asks a lot of locking questions...]

ron> I don't want to violate any protocol, either by asking too many
ron> questions or by misunderstanding the specification. I hope this
ron> is ok. :)

> Ronald E Bretschneider wrote:
> >1. I assume that NFS V4 does not preclude reads and writes without a
> >preceeding open. I.e. a client could issue V4 lookup operation to
determine
> >a file handle and then use it with stateid of 0s or 1s to read or write.
Is
> >it correct to allow this behavior?  Is this valid only to an advisory
> >locking file?
>
> Yes, and Maybe. Bottom line is that a server may reject any use
> of all 0's or all 1's stateids for any reason.  But it is expected
> that doing I/O via a LOOKUP and READ/WRITE without an OPEN will
> generally be allowed. It is up to the server to determine how it
> interacts with other locking mechanisms and if it will allow
> it in the face of an outstanding lock, be it mandatory or advisory.
> The design encourages I/O operations that will not corrupt an
> active lock, such as reading a read or write locked file but not
> allowing a write to a file with any locks. But again, it is up to
> the server to define the behavior.

ron> given that there is no implicit lock, a stateid of 0s
ron> is simply an admission by the client that it holds no locks.
ron>   The spec says "A lock may not be granted
ron> while a READ or WRITE operation using one
ron> of the special stateids is being performed and the range of the lock
ron> request conflicts with the range of the READ or WRITE operation".
ron> That leads me to believe that implicit locks were at least
ron> at least encouraged, if not mandated. How can a server
ron> insure that a conflicting lock would not be granted without
ron> implicitly obtaining the lock itself?



> >2. mandatory vs advisory locking questions:
> >   1. it seems that the stateids (as an indication of what locks are
held)
> >   are only interesting if V4 reads or writes are issued for a mandatory
> >   locking file. If access is done to an advisory locking file, a byte
> >   range access conflict is determined during the lock operation. V4
read
> >   and write operations to an advisory locking file should not check for
> >   valid lock ranges being held.  If the server did check, there is no
> >   error code (not_locked for example) to indicate the error. Is this
> >   correct?
>
> No, there is value in checking for advisory locks to specifically catch
> the case where a READ/WRITE gets reordered around a LOCK operation. The
> stateid will allow the server to determine if the operation is from
> a client that is participating in locking or not.

Reordered or the READ/WRITE request is retransmitted.  It could also
be the case that the client is doing something like read-ahead (even
though it should refrain from this behavior when file locks are being
used) and the READ requests are received after a LOCK/LOCKU request.
I see this as a requirement of the server (stateid checking)
regardless of the type of locking being provided (mandatory or
advisory).  This checking and provision for correctness (appropriate
ordering) was one of the main reasons why stateids were added to the
protocol.  In the scenario I just described, the error
NFS4ERR_OLD_STATEID is an appropriate return.


ron> Certainly, I understand if a stateid is used and the sequence number
is
ron> out of order, the request is failed.

The following issue is whether the server checks the actual ranges
after verifying that the stateid is current valid.  This is where the
advisory/mandatory issue arises.  Mandatory says the server is
checking ranges/advisory -- no.  Therefore, if the server is checking
ranges, it is providing mandatory file locking and therefore has the
appropriate error to return.

ron> I thought this was exactly my question. Maybe I didn't say it as
clearly,
ron> but I thought your response says what I intended.

> >   2. it seems for mandatory locking files, if a read or write with a
valid
> >   stateid does not have the requested byte range locked (either none of
> >   the range is locked or only part of the range is locked) an implicit
> >   lock for the duration of the operation should be obtained. I come to
> >   this conclusion because there is no "not_locked" error code on read
or
> >   write. Is this correct?
>
> There are no "implicit" locks in NFSv4 from a protocol definition
> perspective.  A server may choose to use its own internal locking
> structures to serialize requests to manage its internal data structures,
> but that is not visible in the protocol.  An implict lock would
> define that an error could be returned that implied a lock was
> being held when one was not explicitly created, that cannot happen.

David is correct.  I would also suggest search the RFC for
NFS4ERR_LOCKED and read the surrounding text.  It covers the various
scenarios and places the onus on the client to obtain locks if
NFS4ERR_LOCKED is returned as a result of a mismatch between WRITE
range and held LOCK range.

ron> perhaps this section is the most relevant here. This is from the spec:
ron> 9.3.3.  Data Caching and Mandatory File Locking
ron>
ron>   Client side data caching needs to respect mandatory file locking
when
ron>   it is in effect.  The presence of mandatory file locking for a given
ron>   file is indicated when the client gets back NFS4ERR_LOCKED from a
ron>   READ or WRITE on a file it has an appropriate share reservation for.
ron>   When mandatory locking is in effect for a file, the client must
check
ron>   for an appropriate file lock for data being read or written.  If a
ron>   lock exists for the range being read or written, the client may
ron>   satisfy the request using the client's validated cache.  If an
ron>   appropriate file lock is not held for the range of the read or
write,
ron>   the read or write request must not be satisfied by the client's
cache
ron>   and the request must be sent to the server for processing.  When a
ron>   read or write request partially overlaps a locked region, the
request
ron>   should be subdivided into multiple pieces with each region (locked
or
ron>   not) treated appropriately.
ron> This seems to indicate to me that the server should return
NFS4ERR_LOCKED
ron> when a client read/write range is either not covered by an appropriate
ron> lock or partially covered by appropriate locks.
ron> Is this correct? I would not have thought so from the definition of
ron> "NFS4ERR_LOCKED        A read or write operation was attempted on a
ron>                         locked file."

Any comments are appreciated, thanks,
Ron

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Tue Jun  3 18:15:00 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA27597
	for <nfsv4-archive@odin.ietf.org>; Tue, 3 Jun 2003 18:15:00 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h53MEao02283
	for nfsv4-archive@odin.ietf.org; Tue, 3 Jun 2003 18:14:36 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53MEaB02280
	for <nfsv4-web-archive@optimus.ietf.org>; Tue, 3 Jun 2003 18:14:36 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA27543
	for <nfsv4-web-archive@ietf.org>; Tue, 3 Jun 2003 18:14:29 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NK1L-0003N5-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 18:12:43 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19NK1K-0003N2-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 18:12:42 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53MDxB02243;
	Tue, 3 Jun 2003 18:13:59 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53M9HB02090
	for <nfsv4@optimus.ietf.org>; Tue, 3 Jun 2003 18:09:17 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA27005
	for <nfsv4@ietf.org>; Tue, 3 Jun 2003 18:09:10 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NJwB-0003LM-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 18:07:23 -0400
Received: from mx01.netapp.com ([198.95.226.53])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NJwB-0003LI-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 18:07:23 -0400
Received: from hawk.corp.netapp.com (hawk [10.10.20.101])
	by mx01.netapp.com (8.12.9/8.12.9/NTAP-1.4) with ESMTP id h53M8fJo006120;
	Tue, 3 Jun 2003 15:08:41 -0700 (PDT)
Received: from svlexc01.hq.netapp.com (svlexc01.corp.netapp.com [10.10.22.171])
	by hawk.corp.netapp.com (8.12.9/8.12.9/NTAP-1.5) with ESMTP id h53M8emW027994;
	Tue, 3 Jun 2003 15:08:40 -0700 (PDT)
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: RE: [nfsv4] random locking questions
Message-ID: <C8CF60CFC4D8A74E9945E32CF096548A6D340A@silver.nane.netapp.com>
Thread-Topic: [nfsv4] random locking questions
Thread-Index: AcMqCom7LEaepszjQ2Sd8UumiQGzpQABIIjw
From: "Noveck, Dave" <Dave.Noveck@netapp.com>
To: "Ronald E Bretschneider" <bret@us.ibm.com>, <spencer.shepler@sun.com>,
        <David.Robinson@sun.com>
Cc: <nfsv4@ietf.org>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by www1.ietf.org id h53M9HB02091
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 3 Jun 2003 15:08:35 -0700
Date: Tue, 3 Jun 2003 15:08:35 -0700
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit

 

> On Mon, David Robinson wrote:
> > [IBM sure asks a lot of locking questions...]
> 
> ron> I don't want to violate any protocol, either by asking too many
> ron> questions or by misunderstanding the specification. I hope this
> ron> is ok. :)

Misunderstanding the specification definitely does not violate the
the protocol.  It seems to be inherent to the spec.

> > Ronald E Bretschneider wrote:
> > >1. I assume that NFS V4 does not preclude reads and writes without a
> > >preceeding open. I.e. a client could issue V4 lookup operation to
determine
> > >a file handle and then use it with stateid of 0s or 1s to read or write.
Is
> > >it correct to allow this behavior?  Is this valid only to an advisory
> > >locking file?
> >
> > Yes, and Maybe. Bottom line is that a server may reject any use
> > of all 0's or all 1's stateids for any reason.  But it is expected
> > that doing I/O via a LOOKUP and READ/WRITE without an OPEN will
> > generally be allowed. It is up to the server to determine how it
> > interacts with other locking mechanisms and if it will allow
> > it in the face of an outstanding lock, be it mandatory or advisory.
> > The design encourages I/O operations that will not corrupt an
> > active lock, such as reading a read or write locked file but not
> > allowing a write to a file with any locks. But again, it is up to
> > the server to define the behavior.
> 
> ron> given that there is no implicit lock, a stateid of 0s
> ron> is simply an admission by the client that it holds no locks.
> ron>   The spec says "A lock may not be granted
> ron> while a READ or WRITE operation using one
> ron> of the special stateids is being performed and the range of the lock
> ron> request conflicts with the range of the READ or WRITE operation".
> ron> That leads me to believe that implicit locks were at least
> ron> at least encouraged, if not mandated. How can a server
> ron> insure that a conflicting lock would not be granted without
> ron> implicitly obtaining the lock itself?

It depends on what you mean by "implicit lock".  If by that you mean
a piece of internal state that prevents for a time invalid combinations
of simultaneous operations, then I think you need something like this
in your server, to deal with the issue above.

The problem is that the implicit lock must not be visible as an nfsv4 
lock, because it isn't one.  Consider the case in which you are doing
a WRITE on a range and then doing a LOCK on that same range.  If this
were two locks that conflicted, then one would fail, while I don't
think you would want the LOCK to fail because of the WRITE.  So any
implicit lock associated with the write has to be invisible to the
clients.  Such a lock can delay other operations but is not the 
same as an actual lock.

Similarly, if you had mandatory byte-range locking and you had two 
WRITEs, implicit locks would serialize the writes making them obey
POSIC atomicity, which is OK if you like that sort of thing :-)  However,
rejecting one of the writes in the same way that would occur with two 
conflicting LOCK's would most definitely not be OK.

<Stuff deleted>

> > >   2. it seems for mandatory locking files, if a read or write with a
valid
> > >   stateid does not have the requested byte range locked (either none of
> > >   the range is locked or only part of the range is locked) an implicit
> > >   lock for the duration of the operation should be obtained. I come to
> > >   this conclusion because there is no "not_locked" error code on read
or
> > >   write. Is this correct?
> >
> > There are no "implicit" locks in NFSv4 from a protocol definition
> > perspective.  A server may choose to use its own internal locking
> > structures to serialize requests to manage its internal data structures,
> > but that is not visible in the protocol.  An implict lock would
> > define that an error could be returned that implied a lock was
> >  being held when one was not explicitly created, that cannot happen.

> David is correct.  I would also suggest search the RFC for
> NFS4ERR_LOCKED and read the surrounding text.  It covers the various
> scenarios and places the onus on the client to obtain locks if
> NFS4ERR_LOCKED is returned as a result of a mismatch between WRITE
> range and held LOCK range.

> ron> perhaps this section is the most relevant here. This is from the spec:
> ron> 9.3.3.  Data Caching and Mandatory File Locking
> ron>
> ron>   Client side data caching needs to respect mandatory file locking
when
> ron>   it is in effect.  The presence of mandatory file locking for a given
> ron>   file is indicated when the client gets back NFS4ERR_LOCKED from a
> ron>   READ or WRITE on a file it has an appropriate share reservation for.
> ron>   When mandatory locking is in effect for a file, the client must
check
> ron>   for an appropriate file lock for data being read or written.  If a
> ron>   lock exists for the range being read or written, the client may
> ron>   satisfy the request using the client's validated cache.  If an
> ron>   appropriate file lock is not held for the range of the read or
write,
> ron>   the read or write request must not be satisfied by the client's
cache
> ron>   and the request must be sent to the server for processing.  When a
> ron>   read or write request partially overlaps a locked region, the
request
> ron>   should be subdivided into multiple pieces with each region (locked
or
> ron>   not) treated appropriately.
> ron> This seems to indicate to me that the server should return
> NFS4ERR_LOCKED
> ron> when a client read/write range is either not covered by an appropriate
> ron> lock or partially covered by appropriate locks.

I don't see how it indicates that.  What this indicates is that if mandatory
locking is in effect, the client can use the knowledge of its own locks
to determine when it can use cached data.  Thus, if I have a mandatory
lock on a region, I know another client cannot change it, so I can use my 
cached copy of the data.

I assume that for mandatory locking the server gives NFS4ERR_LOCKED iff
there is conflicting lock for any part of the region.  If the whole
region is unlocked, I am OK.  If I have the appropriate lock, I am
OK.  If someone else has a conflicting lock for the whole region or 
a conflicting lock for a part of it, I get an error.

> ron> Is this correct? I would not have thought so from the definition of
> ron> "NFS4ERR_LOCKED        A read or write operation was attempted on a
> ron>                        locked file."

I think "or on region with a conflicting lock held" should be appended.

>
> Any comments are appreciated, thanks,
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Tue Jun  3 18:25:20 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA27927
	for <nfsv4-archive@odin.ietf.org>; Tue, 3 Jun 2003 18:25:20 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h53MOu602739
	for nfsv4-archive@odin.ietf.org; Tue, 3 Jun 2003 18:24:56 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53MOuB02736
	for <nfsv4-web-archive@optimus.ietf.org>; Tue, 3 Jun 2003 18:24:56 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA27916
	for <nfsv4-web-archive@ietf.org>; Tue, 3 Jun 2003 18:24:49 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NKBK-0003Px-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 18:23:03 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19NKBK-0003Pu-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 18:23:02 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53MOpB02727;
	Tue, 3 Jun 2003 18:24:51 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53MFNB02386
	for <nfsv4@optimus.ietf.org>; Tue, 3 Jun 2003 18:15:23 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA27651
	for <nfsv4@ietf.org>; Tue, 3 Jun 2003 18:15:16 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NK26-0003Nj-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 18:13:30 -0400
Received: from brmea-mail-3.sun.com ([192.18.98.34])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NK25-0003Ng-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 18:13:29 -0400
Received: from jurassic.eng.sun.com ([129.146.17.55])
	by brmea-mail-3.sun.com (8.12.9/8.12.9) with ESMTP id h53MFHep006621
	for <nfsv4@ietf.org>; Tue, 3 Jun 2003 16:15:17 -0600 (MDT)
Received: from sun.com (Administrator@vpn-129-150-16-235.SFBay.Sun.COM [129.150.16.235])
	by jurassic.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h53MFH6J689611
	for <nfsv4@ietf.org>; Tue, 3 Jun 2003 15:15:17 -0700 (PDT)
Message-ID: <3EDD3A0C.286D3C40@sun.com>
From: Spencer Shepler <spencer.shepler@sun.com>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: nfsv4@ietf.org
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [nfsv4] NFSv4 Interim meeting location and time (reminder and room change)
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 03 Jun 2003 17:15:08 -0700
Date: Tue, 03 Jun 2003 17:15:08 -0700
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit


Just a reminder about location: 

The Michigan League
911 N. University
http://www.umich.edu/~league

We will be in the Hussey Room.

Continental breakfast will be available at 9:30am
and agenda/meeting starts at 10am.

Spencer
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Tue Jun  3 19:48:54 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA00430
	for <nfsv4-archive@odin.ietf.org>; Tue, 3 Jun 2003 19:48:54 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h53NmRP09159
	for nfsv4-archive@odin.ietf.org; Tue, 3 Jun 2003 19:48:27 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53NmRB09154
	for <nfsv4-web-archive@optimus.ietf.org>; Tue, 3 Jun 2003 19:48:27 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA00397
	for <nfsv4-web-archive@ietf.org>; Tue, 3 Jun 2003 19:48:23 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NLUD-00047d-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 19:46:37 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19NLUC-00047a-00
	for nfsv4-web-archive@ietf.org; Tue, 03 Jun 2003 19:46:36 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53NlxB09084;
	Tue, 3 Jun 2003 19:47:59 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h53Nh6B08969
	for <nfsv4@optimus.ietf.org>; Tue, 3 Jun 2003 19:43:06 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA00321
	for <nfsv4@ietf.org>; Tue, 3 Jun 2003 19:43:02 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NLP2-00045q-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 19:41:16 -0400
Received: from e31.co.us.ibm.com ([32.97.110.129])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NLOz-00045f-00
	for nfsv4@ietf.org; Tue, 03 Jun 2003 19:41:14 -0400
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11])
	by e31.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h53NgJQs270516;
	Tue, 3 Jun 2003 19:42:19 -0400
Received: from d03nm121.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay02.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h53NgHux064714;
	Tue, 3 Jun 2003 17:42:18 -0600
Importance: Normal
Subject: RE: [nfsv4] random locking questions
To: "Noveck, Dave" <Dave.Noveck@netapp.com>
Cc: <nfsv4@ietf.org>
X-Mailer: Lotus Notes Release 5.0.6  December 14, 2000
Message-ID: <OFFBC03B15.E6DE89E1-ON87256D3A.0080F180@us.ibm.com>
From: Ronald E Bretschneider <bret@us.ibm.com>
X-MIMETrack: Serialize by Router on D03NM121/03/M/IBM(Release 6.0.1 [IBM]|April 28, 2003) at
 06/03/2003 17:42:17
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 3 Jun 2003 16:42:02 -0700
Date: Tue, 3 Jun 2003 16:42:02 -0700





> > Ronald E Bretschneider wrote:
> > >1. I assume that NFS V4 does not preclude reads and writes without a
> > >preceeding open. I.e. a client could issue V4 lookup operation to
determine
> > >a file handle and then use it with stateid of 0s or 1s to read or
write.
Is
> > >it correct to allow this behavior?  Is this valid only to an advisory
> > >locking file?
> >
> > Yes, and Maybe. Bottom line is that a server may reject any use
> > of all 0's or all 1's stateids for any reason.  But it is expected
> > that doing I/O via a LOOKUP and READ/WRITE without an OPEN will
> > generally be allowed. It is up to the server to determine how it
> > interacts with other locking mechanisms and if it will allow
> > it in the face of an outstanding lock, be it mandatory or advisory.
> > The design encourages I/O operations that will not corrupt an
> > active lock, such as reading a read or write locked file but not
> > allowing a write to a file with any locks. But again, it is up to
> > the server to define the behavior.
>
> ron> given that there is no implicit lock, a stateid of 0s
> ron> is simply an admission by the client that it holds no locks.
> ron>   The spec says "A lock may not be granted
> ron> while a READ or WRITE operation using one
> ron> of the special stateids is being performed and the range of the lock
> ron> request conflicts with the range of the READ or WRITE operation".
> ron> That leads me to believe that implicit locks were at least
> ron> at least encouraged, if not mandated. How can a server
> ron> insure that a conflicting lock would not be granted without
> ron> implicitly obtaining the lock itself?

It depends on what you mean by "implicit lock".  If by that you mean
a piece of internal state that prevents for a time invalid combinations
of simultaneous operations, then I think you need something like this
in your server, to deal with the issue above.

The problem is that the implicit lock must not be visible as an nfsv4
lock, because it isn't one.  Consider the case in which you are doing
a WRITE on a range and then doing a LOCK on that same range.  If this
were two locks that conflicted, then one would fail, while I don't
think you would want the LOCK to fail because of the WRITE.  So any
implicit lock associated with the write has to be invisible to the
clients.  Such a lock can delay other operations but is not the
same as an actual lock.

Similarly, if you had mandatory byte-range locking and you had two
WRITEs, implicit locks would serialize the writes making them obey
POSIC atomicity, which is OK if you like that sort of thing :-)  However,
rejecting one of the writes in the same way that would occur with two
conflicting LOCK's would most definitely not be OK.

ron> I totally agree with everything you say. It is exactly what we
ron> intended to do. I was very confused for 24 hours with the idea that
ron> there was no "implicit lock", but you are correct, it is all in
ron> how you define terms (or not).

<Stuff deleted>

> > >   2. it seems for mandatory locking files, if a read or write with a
valid
> > >   stateid does not have the requested byte range locked (either none
of
> > >   the range is locked or only part of the range is locked) an
implicit
> > >   lock for the duration of the operation should be obtained. I come
to
> > >   this conclusion because there is no "not_locked" error code on read
or
> > >   write. Is this correct?
> >
> > There are no "implicit" locks in NFSv4 from a protocol definition
> > perspective.  A server may choose to use its own internal locking
> > structures to serialize requests to manage its internal data
structures,
> > but that is not visible in the protocol.  An implict lock would
> > define that an error could be returned that implied a lock was
> >  being held when one was not explicitly created, that cannot happen.

> David is correct.  I would also suggest search the RFC for
> NFS4ERR_LOCKED and read the surrounding text.  It covers the various
> scenarios and places the onus on the client to obtain locks if
> NFS4ERR_LOCKED is returned as a result of a mismatch between WRITE
> range and held LOCK range.

> ron> perhaps this section is the most relevant here. This is from the
spec:
> ron> 9.3.3.  Data Caching and Mandatory File Locking
> ron>
> ron>   Client side data caching needs to respect mandatory file locking
when
> ron>   it is in effect.  The presence of mandatory file locking for a
given
> ron>   file is indicated when the client gets back NFS4ERR_LOCKED from a
> ron>   READ or WRITE on a file it has an appropriate share reservation
for.
> ron>   When mandatory locking is in effect for a file, the client must
check
> ron>   for an appropriate file lock for data being read or written.  If a
> ron>   lock exists for the range being read or written, the client may
> ron>   satisfy the request using the client's validated cache.  If an
> ron>   appropriate file lock is not held for the range of the read or
write,
> ron>   the read or write request must not be satisfied by the client's
cache
> ron>   and the request must be sent to the server for processing.  When a
> ron>   read or write request partially overlaps a locked region, the
request
> ron>   should be subdivided into multiple pieces with each region (locked
or
> ron>   not) treated appropriately.
> ron> This seems to indicate to me that the server should return
> NFS4ERR_LOCKED
> ron> when a client read/write range is either not covered by an
appropriate
> ron> lock or partially covered by appropriate locks.

I don't see how it indicates that.  What this indicates is that if
mandatory
locking is in effect, the client can use the knowledge of its own locks
to determine when it can use cached data.  Thus, if I have a mandatory
lock on a region, I know another client cannot change it, so I can use my
cached copy of the data.

I assume that for mandatory locking the server gives NFS4ERR_LOCKED iff
there is conflicting lock for any part of the region.  If the whole
region is unlocked, I am OK.  If I have the appropriate lock, I am
OK.  If someone else has a conflicting lock for the whole region or
a conflicting lock for a part of it, I get an error.

ron> I agree, I was looking for something that would help me based on
ron> Spenser's suggestion that I review the references to NFS4ERR_LOCKED.
ron> I agree this was a stretch.
ron> It seems that we are expecting that client lockers will be well
ron> behaved (i.e. follow the rules). I am asking what to do with the
ron> client that does not follow the rules. The client passes a valid
ron> stateid, has valid share reservations, is accessing a mandatory
ron> locking file, and writes offset 1000 for a length of 1000.
ron> What error does a server set if the client ONLY holds a lock for
ron> offset 1000 length 500? What error is set if the client ONLY holds a
ron> lock for offset 1500 for a length of 500? What error is set if the
ron> client ONLY holds a lock for offset 3000 for a length of 1000?


> ron> Is this correct? I would not have thought so from the definition of
> ron> "NFS4ERR_LOCKED        A read or write operation was attempted on a
> ron>                        locked file."

I think "or on region with a conflicting lock held" should be appended.

ron> Certainly.

ron> Do you have any comment on how you are handling V3 access to a
mandatory locking file?

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From owner-nfsv4-wg@sunroof.eng.sun.com  Wed Jun  4 02:53:28 2003
Received: from nwkea-mail-1.sun.com (nwkea-mail-1.sun.com [192.18.42.13])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id CAA05836
	for <nfsv4-archive@lists.ietf.org>; Wed, 4 Jun 2003 02:53:28 -0400 (EDT)
Received: from engmail1mpk.Eng.Sun.COM ([129.146.1.45])
	by nwkea-mail-1.sun.com (8.12.9/8.12.9) with ESMTP id h546kL4Z021292;
	Tue, 3 Jun 2003 23:46:21 -0700 (PDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h546kDNh017439;
	Tue, 3 Jun 2003 23:46:13 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h546lrTX010840
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Tue, 3 Jun 2003 23:47:53 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h546lrM9010839
	for nfsv4-wg-dist; Tue, 3 Jun 2003 23:47:53 -0700 (PDT)
Received: from engmail1mpk.Eng.Sun.COM (engmail1mpk [129.146.1.45])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h546lpTX010832
	for <nfsv4-wg@sunroof.eng.sun.com>; Tue, 3 Jun 2003 23:47:51 -0700 (PDT)
Received: from brmea-mail-2.sun.com (brmea-mail-2.Central.Sun.COM [129.147.5.43])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h546k8Nh017425
	for <nfsv4-wg@sunroof.eng.sun.com>; Tue, 3 Jun 2003 23:46:08 -0700 (PDT)
Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.130])
	by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h546k2YU003694
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 00:46:02 -0600 (MDT)
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e32.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h546k2kc270192
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 02:46:02 -0400
Received: from d03nm113.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h546k1h7134206
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 00:46:01 -0600
Subject: Benefits of Mandatory Locking
To: nfsv4-wg@sunroof.eng.sun.com
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OF7CF28DAE.5E01CA20-ON87256D3B.001F2445-88256D3B.00254C35@us.ibm.com>
From: Stevan Steve Allen <scallen@us.ibm.com>
Date: Tue, 3 Jun 2003 23:46:00 -0700
X-MIMETrack: Serialize by Router on D03NM113/03/M/IBM(Release 6.0.1 [IBM]|May 27, 2003) at
 06/04/2003 00:46:00
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>




Given the following mandatory locking scenario using magic stateid's, I'm
having difficulty listing any claims or benefits the mandatory locking
model provides which the advisory model does not.

1. Appl 1 issues a large write
2. Large range is broken into two RPCs
3. 1st half of write is sent to the server with a zero stateid
4. No lock conflicts, partial write is successful and completes

5. Appl 2 successfully locks the entire range of Appl 1's write
6. Appl 2 successfully writes entire range overlaying Appl 1 partial write
7. Appl 2 releases associated lock

8. 2nd half of Appl 1 write is sent to the server with zero stateid
9. No lock conflicts, partial write overlays Appl 2 change

If the above scenario describes writing an image file, the resulting
picture can be described as a mans head on a ducks body.

To ask the question in another way,  could an advisory locking server using
ACLs to limit access to trusted applications provide the same benefits as
an mandatory locking server?  If not, what is missing?


On a different topic....  Someone once said unless a lock conflict is
detected and nfs4err_locked is returned, the NFS client and client
application will not be aware that a mandatory or advisory locking
environment is in effect.  e.g. the application can perform all it's
operations and end successfully without ever knowing.  Given this, I assume
any application written to handle the mandatory locking error will also run
unknowingly and unaffected in an advisory locking environment.  e.g.
mandatory applications have no problems with advisory servers.


Thanks,
Stevan C. Allen



From owner-nfsv4-wg@sunroof.eng.sun.com  Wed Jun  4 10:42:25 2003
Received: from brmea-mail-2.sun.com (brmea-mail-2.Sun.COM [192.18.98.43])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA24018
	for <nfsv4-archive@lists.ietf.org>; Wed, 4 Jun 2003 10:42:25 -0400 (EDT)
Received: from engmail1mpk.Eng.Sun.COM ([129.146.1.45])
	by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h54EcBYU029910;
	Wed, 4 Jun 2003 08:38:11 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h54Ec1Nh027799;
	Wed, 4 Jun 2003 07:38:01 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54EddTX013902
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Wed, 4 Jun 2003 07:39:40 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h54EddJu013901
	for nfsv4-wg-dist; Wed, 4 Jun 2003 07:39:39 -0700 (PDT)
Received: from centralmail1brm.Central.Sun.COM (centralmail1brm.Central.Sun.COM [129.147.62.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54EdbTX013894
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 07:39:38 -0700 (PDT)
Received: from Sun.COM (sr1-ubrm-01.Central.Sun.COM [129.147.4.10])
	by centralmail1brm.Central.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h54EbuNg000773;
	Wed, 4 Jun 2003 08:37:56 -0600 (MDT)
Message-ID: <3EDE0443.300@Sun.COM>
Date: Wed, 04 Jun 2003 08:37:55 -0600
From: David Robinson <David.Robinson@sun.com>
Reply-To: David.Robinson@sun.com
Organization: Sun Microsystems, Inc.
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020827
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stevan Steve Allen <scallen@us.ibm.com>
CC: nfsv4-wg@sunroof.eng.sun.com
Subject: Re: Benefits of Mandatory Locking
References: <OF7CF28DAE.5E01CA20-ON87256D3B.001F2445-88256D3B.00254C35@us.ibm.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Stevan Steve Allen wrote:
> Given the following mandatory locking scenario using magic stateid's, I'm
> having difficulty listing any claims or benefits the mandatory locking
> model provides which the advisory model does not.
> 
> 1. Appl 1 issues a large write
> 2. Large range is broken into two RPCs
> 3. 1st half of write is sent to the server with a zero stateid
> 4. No lock conflicts, partial write is successful and completes
> 
> 5. Appl 2 successfully locks the entire range of Appl 1's write
> 6. Appl 2 successfully writes entire range overlaying Appl 1 partial write
> 7. Appl 2 releases associated lock
> 
> 8. 2nd half of Appl 1 write is sent to the server with zero stateid
> 9. No lock conflicts, partial write overlays Appl 2 change

This demonstrates the risk of using a zero stateid and why
it should not be encouraged when data consistency is needed.
This problem exists today with NFSv3/NLM, multiple clients
following proper locking protocol can get their data wiped
out by a non-participating client. Even if Appl1 doesn't
use a zero stateid, but instead only locks the subrange
in each request, corruption occurs, in both cases this
is a programming error.

> To ask the question in another way,  could an advisory locking server using
> ACLs to limit access to trusted applications provide the same benefits as
> an mandatory locking server?  If not, what is missing?

If you have applications that are using locking, it is very
reasonable to use ACLs to disallow users that may want
to run applications that don't understand the locking
convention.

I think there may be a difference in the use of the term
"mandatory". (It does have different semantics between
SYSVR3 Unix and Windows). In NFSv4, mandatory means that
an I/O operation using a normal stateid will get an error
back when a conflicting lock exists.  If no locks exists,
no I/O operation will fail with a locking error. Mandatory
doesn't mean that you have to use locking, it only means that
when you do lock a range, for the duration of that lock
you will not get a conflicting I/O operation.  But it is
still the requirement of applications to set locks as
they see fit.

There are two motivations of the design, the first was the
incorporation of a stateid in I/O operations so there
could be a correlation between a client holding a lock
and the I/O.  Before, if a request got reordered or delayed
due to a networking problem, a client diligently following
locking could clobber its own data. But it was still presumed
that the client would still be responsible for determing
what I/O operations will be issued with a lock and those
without.  The stateid just allows the server to catch cases
where I/O issued based on the clients understanding
of the "current" state, are still valid. The second
decision was to decide if we should cause I/O
operations to fail when they conflicted with a lock.
In the core Unix base this was unneeded, and actually
unwanted by a lot of folks.  But in the Windows
world they have the semantic that the I/O must not
complete it a conflicting lock is held.  So we added
mandantory locks to cover all bases.

But what we never did was to setup a mode where the
server can tell a client that it could only do
I/O operations when a lock was held.  Frankly I
never heard anyone even suggest such a thing, although
I now can see how it could be useful. Minor version
anyone?

	-David




From owner-nfsv4-wg@sunroof.eng.sun.com  Wed Jun  4 14:42:30 2003
Received: from brmea-mail-3.sun.com (brmea-mail-3.Sun.COM [192.18.98.34])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA05544
	for <nfsv4-archive@lists.ietf.org>; Wed, 4 Jun 2003 14:42:29 -0400 (EDT)
Received: from engmail2sun.Eng.Sun.COM ([129.144.134.19])
	by brmea-mail-3.sun.com (8.12.9/8.12.9) with ESMTP id h54IbCep017540;
	Wed, 4 Jun 2003 12:37:12 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h54Ib0uc025598;
	Wed, 4 Jun 2003 11:37:00 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54IcbTX015583
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Wed, 4 Jun 2003 11:38:38 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h54IcbdM015582
	for nfsv4-wg-dist; Wed, 4 Jun 2003 11:38:37 -0700 (PDT)
Received: from engmail2sun.Eng.Sun.COM (engmail2sun [129.144.134.19])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54IcYTX015575
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 11:38:35 -0700 (PDT)
Received: from brmea-mail-2.sun.com (brmea-mail-2.Central.Sun.COM [129.147.5.43])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h54Iaruc025530
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 11:36:53 -0700 (PDT)
Received: from mx01.netapp.com (mx01.netapp.com [198.95.226.53])
	by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h54IamYU017820
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 12:36:48 -0600 (MDT)
Received: from frejya.corp.netapp.com (frejya [10.10.20.91])
	by mx01.netapp.com (8.12.9/8.12.9/NTAP-1.4) with ESMTP id h54IagJo018594;
	Wed, 4 Jun 2003 11:36:42 -0700 (PDT)
Received: from svlexc01.hq.netapp.com (svlexc01.corp.netapp.com [10.10.22.171])
	by frejya.corp.netapp.com (8.12.9/8.12.9/NTAP-1.5) with ESMTP id h54Iagtf014615;
	Wed, 4 Jun 2003 11:36:42 -0700 (PDT)
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: RE: Benefits of Mandatory Locking
Date: Wed, 4 Jun 2003 11:36:33 -0700
Message-ID: <6440EA1A6AA1D5118C6900902745938E0B680D66@black.eng.netapp.com>
Thread-Topic: Benefits of Mandatory Locking
Thread-Index: AcMqZTDgkgskCaJLT8iOcJVXwNLONwAXR3pw
From: "Yoder, Alan" <agy@netapp.com>
To: "Stevan Steve Allen" <scallen@us.ibm.com>, <nfsv4-wg@sunroof.eng.sun.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sunroof.eng.sun.com id h54IcZTX015576
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>
   As David said, mandatory locking was implemented
Content-Transfer-Encoding: 8bit

because it's needed to model the locking semantics
of CIFS and other filesystems like it.  However,
after some years of messing around in multiprotocol
environments, I've come to the conclusion that those
dudes who settled on advisory locking in NFS v2 and v3
were pretty darn smart.  There are few things more
annoying than a client that obtains a mandatory lock
and then goes off into the weeds.

   As a noncombatant on this list, my opinion doesn't
count for much, but personally, I'd view a comprehensive 
solution to that problem a lot more favorably than 
"really mandatory locking".  

   Besides, wouldn't a server that implemented really 
mandatory locking break just about every utility program 
in the known world?  Do du, cp, mv, dd, more, dos copy and 
all their thousand brethren all obtain mandatory locks before writing/reading?  Wouldn't the client and server have to 
negotiate the behavior (and hide it from programs) to get 
around this problem?

Alan

===============================================================
Alan G. Yoder                                    agy@netapp.com
Technical Staff                           
Network Appliance, Inc.                            408-822-6919
=============================================================== 

> -----Original Message-----
> From: Stevan Steve Allen [mailto:scallen@us.ibm.com]
> Sent: Tuesday, June 03, 2003 11:46 PM
> To: nfsv4-wg@sunroof.eng.sun.com
> Subject: Benefits of Mandatory Locking
> 
> 
> 
> 
> 
> Given the following mandatory locking scenario using magic 
> stateid's, I'm
> having difficulty listing any claims or benefits the mandatory locking
> model provides which the advisory model does not.
> 
> 1. Appl 1 issues a large write
> 2. Large range is broken into two RPCs
> 3. 1st half of write is sent to the server with a zero stateid
> 4. No lock conflicts, partial write is successful and completes
> 
> 5. Appl 2 successfully locks the entire range of Appl 1's write
> 6. Appl 2 successfully writes entire range overlaying Appl 1 
> partial write
> 7. Appl 2 releases associated lock
> 
> 8. 2nd half of Appl 1 write is sent to the server with zero stateid
> 9. No lock conflicts, partial write overlays Appl 2 change
> 
> If the above scenario describes writing an image file, the resulting
> picture can be described as a mans head on a ducks body.
> 
> To ask the question in another way,  could an advisory 
> locking server using
> ACLs to limit access to trusted applications provide the same 
> benefits as
> an mandatory locking server?  If not, what is missing?
> 
> 
> On a different topic....  Someone once said unless a lock conflict is
> detected and nfs4err_locked is returned, the NFS client and client
> application will not be aware that a mandatory or advisory locking
> environment is in effect.  e.g. the application can perform all it's
> operations and end successfully without ever knowing.  Given 
> this, I assume
> any application written to handle the mandatory locking error 
> will also run
> unknowingly and unaffected in an advisory locking environment.  e.g.
> mandatory applications have no problems with advisory servers.
> 
> 
> Thanks,
> Stevan C. Allen
> 
> 



From owner-nfsv4-wg@sunroof.eng.sun.com  Wed Jun  4 14:45:06 2003
Received: from brmea-mail-3.sun.com (brmea-mail-3.Sun.COM [192.18.98.34])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA05815
	for <nfsv4-archive@lists.ietf.org>; Wed, 4 Jun 2003 14:45:06 -0400 (EDT)
Received: from engmail2sun.Eng.Sun.COM ([129.144.134.19])
	by brmea-mail-3.sun.com (8.12.9/8.12.9) with ESMTP id h54Ifkep020247;
	Wed, 4 Jun 2003 12:41:46 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h54IfZuc027366;
	Wed, 4 Jun 2003 11:41:35 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54IhDTX015620
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Wed, 4 Jun 2003 11:43:13 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h54IhD96015619
	for nfsv4-wg-dist; Wed, 4 Jun 2003 11:43:13 -0700 (PDT)
Received: from engmail2sun.Eng.Sun.COM (engmail2sun [129.144.134.19])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54IhATX015612
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 11:43:10 -0700 (PDT)
Received: from brmea-mail-2.sun.com (brmea-mail-2.Central.Sun.COM [129.147.5.43])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h54IfTuc027147
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 11:41:29 -0700 (PDT)
Received: from mx01.netapp.com (mx01.netapp.com [198.95.226.53])
	by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h54IfNYU020760
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 12:41:23 -0600 (MDT)
Received: from frejya.corp.netapp.com (frejya [10.10.20.91])
	by mx01.netapp.com (8.12.9/8.12.9/NTAP-1.4) with ESMTP id h54IfNJo018956;
	Wed, 4 Jun 2003 11:41:23 -0700 (PDT)
Received: from svlexc01.hq.netapp.com (svlexc01.corp.netapp.com [10.10.22.171])
	by frejya.corp.netapp.com (8.12.9/8.12.9/NTAP-1.5) with ESMTP id h54IfMth016088;
	Wed, 4 Jun 2003 11:41:23 -0700 (PDT)
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: RE: Benefits of Mandatory Locking
Date: Wed, 4 Jun 2003 11:41:16 -0700
Message-ID: <6440EA1A6AA1D5118C6900902745938E0B680D69@black.eng.netapp.com>
Thread-Topic: Benefits of Mandatory Locking
Thread-Index: AcMqZTDgkgskCaJLT8iOcJVXwNLONwAXR3pwAAGcSRA=
From: "Yoder, Alan" <agy@netapp.com>
To: "Yoder, Alan" <agy@netapp.com>, "Stevan Steve Allen" <scallen@us.ibm.com>,
        <nfsv4-wg@sunroof.eng.sun.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by sunroof.eng.sun.com id h54IhBTX015613
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Grrr.  Let's see if the gremlins can get it wrong
the same way twice....

> -----Original Message-----
> From: Yoder, Alan 
> Sent: Wednesday, June 04, 2003 11:37 AM
> To: 'Stevan Steve Allen'; nfsv4-wg@sunroof.eng.sun.com
> Subject: RE: Benefits of Mandatory Locking
> 
> 
>    As David said, mandatory locking was implemented
> because it's needed to model the locking semantics
> of CIFS and other filesystems like it.  However,
> after some years of messing around in multiprotocol
> environments, I've come to the conclusion that those
> dudes who settled on advisory locking in NFS v2 and v3
> were pretty darn smart.  There are few things more
> annoying than a client that obtains a mandatory lock
> and then goes off into the weeds.
> 
>    As a noncombatant on this list, my opinion doesn't
> count for much, but personally, I'd view a comprehensive 
> solution to that problem a lot more favorably than 
> "really mandatory locking".  
> 
>    Besides, wouldn't a server that implemented really 
> mandatory locking break just about every utility program 
> in the known world?  Do du, cp, mv, dd, more, dos copy and 
> all their thousand brethren all obtain mandatory locks before 
> writing/reading?  Wouldn't the client and server have to 
> negotiate the behavior (and hide it from programs) to get 
> around this problem?
> 
> Alan
> 
> ===============================================================
> Alan G. Yoder                                    agy@netapp.com
> Technical Staff                           
> Network Appliance, Inc.                            408-822-6919
> =============================================================== 
> 
> > -----Original Message-----
> > From: Stevan Steve Allen [mailto:scallen@us.ibm.com]
> > Sent: Tuesday, June 03, 2003 11:46 PM
> > To: nfsv4-wg@sunroof.eng.sun.com
> > Subject: Benefits of Mandatory Locking
> > 
> > 
> > 
> > 
> > 
> > Given the following mandatory locking scenario using magic 
> > stateid's, I'm
> > having difficulty listing any claims or benefits the 
> mandatory locking
> > model provides which the advisory model does not.
> > 
> > 1. Appl 1 issues a large write
> > 2. Large range is broken into two RPCs
> > 3. 1st half of write is sent to the server with a zero stateid
> > 4. No lock conflicts, partial write is successful and completes
> > 
> > 5. Appl 2 successfully locks the entire range of Appl 1's write
> > 6. Appl 2 successfully writes entire range overlaying Appl 1 
> > partial write
> > 7. Appl 2 releases associated lock
> > 
> > 8. 2nd half of Appl 1 write is sent to the server with zero stateid
> > 9. No lock conflicts, partial write overlays Appl 2 change
> > 
> > If the above scenario describes writing an image file, the resulting
> > picture can be described as a mans head on a ducks body.
> > 
> > To ask the question in another way,  could an advisory 
> > locking server using
> > ACLs to limit access to trusted applications provide the same 
> > benefits as
> > an mandatory locking server?  If not, what is missing?
> > 
> > 
> > On a different topic....  Someone once said unless a lock 
> conflict is
> > detected and nfs4err_locked is returned, the NFS client and client
> > application will not be aware that a mandatory or advisory locking
> > environment is in effect.  e.g. the application can perform all it's
> > operations and end successfully without ever knowing.  Given 
> > this, I assume
> > any application written to handle the mandatory locking error 
> > will also run
> > unknowingly and unaffected in an advisory locking environment.  e.g.
> > mandatory applications have no problems with advisory servers.
> > 
> > 
> > Thanks,
> > Stevan C. Allen
> > 
> > 
> 



From mailnull@www1.ietf.org  Wed Jun  4 22:06:27 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA22157
	for <nfsv4-archive@odin.ietf.org>; Wed, 4 Jun 2003 22:06:27 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h55263B08076
	for nfsv4-archive@odin.ietf.org; Wed, 4 Jun 2003 22:06:03 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h55263B08073
	for <nfsv4-web-archive@optimus.ietf.org>; Wed, 4 Jun 2003 22:06:03 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA22137
	for <nfsv4-web-archive@ietf.org>; Wed, 4 Jun 2003 22:05:57 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Nk6p-0002Al-00
	for nfsv4-web-archive@ietf.org; Wed, 04 Jun 2003 22:04:07 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19Nk6p-0002Ah-00
	for nfsv4-web-archive@ietf.org; Wed, 04 Jun 2003 22:04:07 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5525nB08039;
	Wed, 4 Jun 2003 22:05:49 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5521QB07873
	for <nfsv4@optimus.ietf.org>; Wed, 4 Jun 2003 22:01:26 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA22040
	for <nfsv4@ietf.org>; Wed, 4 Jun 2003 22:01:20 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Nk2N-00029N-00
	for nfsv4@ietf.org; Wed, 04 Jun 2003 21:59:31 -0400
Received: from mx.hcl.com ([205.211.178.70] helo=MX.HUMMINGBIRD.COM)
	by ietf-mx with esmtp (Exim 4.12)
	id 19Nk2M-000295-00
	for nfsv4@ietf.org; Wed, 04 Jun 2003 21:59:30 -0400
Received: from hcl2 (hcl-2.hcl.com [10.1.39.146])
	by MX.HUMMINGBIRD.COM (8.12.9/8.12.9) with ESMTP id h5522WYC005858
	for <nfsv4@ietf.org>; Wed, 4 Jun 2003 22:02:32 -0400
From: "Sergey Klyushin" <sergey.klyushin@hummingbird.com>
To: <nfsv4@ietf.org>
Message-ID: <000501c32b06$49568170$9227010a@citi.umich.edu>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4510
Importance: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by www1.ietf.org id h5521QB07874
Subject: [nfsv4] Proposal for ACL changes
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Wed, 4 Jun 2003 22:00:49 -0400
Date: Wed, 4 Jun 2003 22:00:49 -0400
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit


I would like to propose the following changes for ACL in NFSv4 (at least for
next minor version).

1. In paragraph 5.11.4.  ACE who 
Remove "OWNER@" and "GROUP@" from the list of special names.

2. In paragraph 5.11.6.  Mode and ACL Attribute
Remove requirements for synchronization of access granted by ACL and mode.

3. In paragraph 5.11.6.  Mode and ACL Attribute
Add rule the following rule for checking access: 
- Process ACL first. 
- If access is not denied or not fully granted, check mode
- If access is not fully granted, then access is denied.

I believe this proposal will match better into both POSIX and Windows ACL
models.

Thanks for your comments.
Sergey



_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From owner-nfsv4-wg@sunroof.eng.sun.com  Wed Jun  4 23:13:04 2003
Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA24002
	for <nfsv4-archive@lists.ietf.org>; Wed, 4 Jun 2003 23:13:03 -0400 (EDT)
Received: from engmail1mpk.Eng.Sun.COM ([129.146.1.45])
	by nwkea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h5535tLv002053;
	Wed, 4 Jun 2003 20:05:55 -0700 (PDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h5535kNh011631;
	Wed, 4 Jun 2003 20:05:46 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h5537OTX019582
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Wed, 4 Jun 2003 20:07:24 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h5537O8x019581
	for nfsv4-wg-dist; Wed, 4 Jun 2003 20:07:24 -0700 (PDT)
Received: from engmail2sun.Eng.Sun.COM (engmail2sun [129.144.134.19])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h5537MTX019574
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 20:07:22 -0700 (PDT)
Received: from nwkea-mail-1.sun.com ([192.18.42.13])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h5535fuc011531
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 20:05:41 -0700 (PDT)
Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.133])
	by nwkea-mail-1.sun.com (8.12.9/8.12.9) with ESMTP id h5535Z4Z002395
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 20:05:35 -0700 (PDT)
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11])
	by e35.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h5535XuT032338;
	Wed, 4 Jun 2003 23:05:33 -0400
Received: from d03nm113.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay02.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h5535XF0094348;
	Wed, 4 Jun 2003 21:05:33 -0600
Subject: Fw: Benefits of Mandatory Locking
To: nfsv4-wg@sunroof.eng.sun.com
Cc: David.Robinson@sun.com
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OFD3209D34.C599A503-ON87256D3C.000FB19E-88256D3C.00111E27@us.ibm.com>
From: Stevan Steve Allen <scallen@us.ibm.com>
Date: Wed, 4 Jun 2003 20:05:33 -0700
X-MIMETrack: Serialize by Router on D03NM113/03/M/IBM(Release 6.0.1 [IBM]|May 27, 2003) at
 06/04/2003 21:05:33
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>





David Robinson wrote:
|Stevan Steve Allen wrote:
|> Given the following mandatory locking scenario using magic stateid's,
I'm
|> having difficulty listing any claims or benefits the mandatory locking
|> model provides which the advisory model does not.
|>
|> 1. Appl 1 issues a large write
|> 2. Large range is broken into two RPCs
|> 3. 1st half of write is sent to the server with a zero stateid
|> 4. No lock conflicts, partial write is successful and completes
|>
|> 5. Appl 2 successfully locks the entire range of Appl 1's write
|> 6. Appl 2 successfully writes entire range overlaying Appl 1 partial
write
|> 7. Appl 2 releases associated lock
|>
|> 8. 2nd half of Appl 1 write is sent to the server with zero stateid
|> 9. No lock conflicts, partial write overlays Appl 2 change
|
|This demonstrates the risk of using a zero stateid and why
|it should not be encouraged when data consistency is needed.
|This problem exists today with NFSv3/NLM, multiple clients
|following proper locking protocol can get their data wiped
|out by a non-participating client. Even if Appl1 doesn't
|use a zero stateid, but instead only locks the subrange
|in each request, corruption occurs, in both cases this
|is a programming error.

In a data consistency environment, you just described a client which locks
on the application behalf but does not know the full range of the appl
write request as a buggy client.  I agree.

|> To ask the question in another way,  could an advisory locking server
using
|> ACLs to limit access to trusted applications provide the same benefits
as
|> an mandatory locking server?  If not, what is missing?
|
|If you have applications that are using locking, it is very
|reasonable to use ACLs to disallow users that may want
|to run applications that don't understand the locking
|convention.
|
|I think there may be a difference in the use of the term
|"mandatory". (It does have different semantics between
|SYSVR3 Unix and Windows). In NFSv4, mandatory means that
|an I/O operation using a normal stateid will get an error
|back when a conflicting lock exists.  If no locks exists,
|no I/O operation will fail with a locking error. Mandatory
|doesn't mean that you have to use locking, it only means that
|when you do lock a range, for the duration of that lock
|you will not get a conflicting I/O operation.  But it is
|still the requirement of applications to set locks as
|they see fit.
|
|There are two motivations of the design, the first was the
|incorporation of a stateid in I/O operations so there
|could be a correlation between a client holding a lock
|and the I/O.  Before, if a request got reordered or delayed
|due to a networking problem, a client diligently following
|locking could clobber its own data. But it was still presumed
|that the client would still be responsible for determining
|what I/O operations will be issued with a lock and those
|without.  The stateid just allows the server to catch cases
|where I/O issued based on the clients understanding
|of the "current" state, are still valid.

That was interesting and helpful.  If I interpreted your response
correctly, the problem/solution you just described refers to data
consistency.  i.e...

Mandatory locking provides the NFS server the ability to detect
transmission reordering.  In an environment of knowledgeable applications
performing expected locking semantics, the NFS mandatory locking protocol
will verify the i/o to the lockowner & file share to detect transmission
reordering.  NFS4ERR_LOCKED will be returned when an incorrect transmission
order condition is detected.  Mandatory locking provides a reasonable
expectation of data consistency given a stable environment limited to
trusted applications.   Servers which grant a write using a special stateid
negates the data consistency benefit just described.

For reorder detection, I would assume a no lock held condition also must
indicate a reorder problem (or buggy appl) and an error will be returned.

|----------------------------------------------------
|The second
|decision was to decide if we should cause I/O
|operations to fail when they conflicted with a lock.
|In the core Unix base this was unneeded, and actually
|unwanted by a lot of folks.  But in the Windows
|world they have the semantic that the I/O must not
|complete it a conflicting lock is held.  So we added
|mandantory locks to cover all bases.

To limit my initial topic..  Given a different mandatory environment where
the server is a core Unix (not Windows), and data consistency is "not"
enforced, and non lockers using special stateid's are allowed as defined in
the draft, I do not see a server claim or benefit being provided by
implementing the mandatory locking model  "with" special stateid's that an
advisory locking model can not provide.  It seems the only servers which
benefit from mandatory locking is Windows & some Posix implementations
which require data integrity.

I don't see any of the core Unix base platforms you mentioned will benefit
from these two locking decisions and suspect they will not implement
mandatory locking based on these decisions.  If they do, I would still
setup advisory locking for performance without fear of loosing any ability
or compatibility concerns.  Basically, if your going to allow magic
stateid's I don't see any benefits.

I'm also interested in what problem/solution Windows implementations are
solving with NFS mandatory locking if they are allowing magic stateid's
(it's won't be data consistency).

|But what we never did was to setup a mode where the
|server can tell a client that it could only do
|I/O operations when a lock was held.  Frankly I
|never heard anyone even suggest such a thing, although
|I now can see how it could be useful. Minor version
|anyone?

             -David





From owner-nfsv4-wg@sunroof.eng.sun.com  Thu Jun  5 00:13:43 2003
Received: from nwkea-mail-1.sun.com (nwkea-mail-1.sun.com [192.18.42.13])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id AAA24850
	for <nfsv4-archive@lists.ietf.org>; Thu, 5 Jun 2003 00:13:43 -0400 (EDT)
Received: from engmail2sun.Eng.Sun.COM ([129.144.134.19])
	by nwkea-mail-1.sun.com (8.12.9/8.12.9) with ESMTP id h5547F4Z023889;
	Wed, 4 Jun 2003 21:07:15 -0700 (PDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h55473uc001721;
	Wed, 4 Jun 2003 21:07:03 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h5548fTX019937
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Wed, 4 Jun 2003 21:08:41 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h5548fYO019936
	for nfsv4-wg-dist; Wed, 4 Jun 2003 21:08:41 -0700 (PDT)
Received: from engmail1mpk.Eng.Sun.COM (engmail1mpk [129.146.1.45])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h5548dTX019929
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 21:08:39 -0700 (PDT)
Received: from nwkea-mail-1.sun.com ([192.18.42.13])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h5546wNh028236
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 21:06:58 -0700 (PDT)
Received: from e34.co.us.ibm.com (e34.co.us.ibm.com [32.97.110.132])
	by nwkea-mail-1.sun.com (8.12.9/8.12.9) with ESMTP id h5546q4Z023763
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 21:06:53 -0700 (PDT)
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11])
	by e34.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h5546qYp232728
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 00:06:52 -0400
Received: from d03nm113.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay02.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h5546pF0041580
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 22:06:51 -0600
Subject: Fw: Benefits of Mandatory Locking (Windows)
To: nfsv4-wg@sunroof.eng.sun.com
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OF239CF493.F34DF176-ON87256D3C.0015EB0D-88256D3C.0016BAFF@us.ibm.com>
From: Stevan Steve Allen <scallen@us.ibm.com>
Date: Wed, 4 Jun 2003 21:06:51 -0700
X-MIMETrack: Serialize by Router on D03NM113/03/M/IBM(Release 6.0.1 [IBM]|May 27, 2003) at
 06/04/2003 22:06:51
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>





---------- skipped, see previous post -----------

me>I'm also interested in what problem/solution Windows implementations
me>are solving with NFS mandatory locking if they are also allowing
me>magic stateid's (it won't be data consistency).

I retract the data consistency comment for nfs4err_openmode conditions.

- Stevan C Allen





From mailnull@www1.ietf.org  Thu Jun  5 03:52:39 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA10468
	for <nfsv4-archive@odin.ietf.org>; Thu, 5 Jun 2003 03:52:39 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h557qBw09974
	for nfsv4-archive@odin.ietf.org; Thu, 5 Jun 2003 03:52:11 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h557qAB09971
	for <nfsv4-web-archive@optimus.ietf.org>; Thu, 5 Jun 2003 03:52:10 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA10453
	for <nfsv4-web-archive@ietf.org>; Thu, 5 Jun 2003 03:52:08 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NpVp-00040n-00
	for nfsv4-web-archive@ietf.org; Thu, 05 Jun 2003 03:50:17 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19NpVo-00040k-00
	for nfsv4-web-archive@ietf.org; Thu, 05 Jun 2003 03:50:16 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h557pdB09931;
	Thu, 5 Jun 2003 03:51:39 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h557lRB09768
	for <nfsv4@optimus.ietf.org>; Thu, 5 Jun 2003 03:47:27 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id DAA10340
	for <nfsv4@ietf.org>; Thu, 5 Jun 2003 03:47:25 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NpRG-0003yL-00
	for nfsv4@ietf.org; Thu, 05 Jun 2003 03:45:34 -0400
Received: from ns.suse.de ([213.95.15.193] helo=Cantor.suse.de)
	by ietf-mx with esmtp (Exim 4.12)
	id 19NpRF-0003yF-00
	for nfsv4@ietf.org; Thu, 05 Jun 2003 03:45:33 -0400
Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136])
	by Cantor.suse.de (Postfix) with ESMTP
	id 8E7A4149F7; Thu,  5 Jun 2003 09:46:49 +0200 (MEST)
From: Andreas Gruenbacher <agruen@suse.de>
To: "Sergey Klyushin" <sergey.klyushin@hummingbird.com>
Subject: Re: [nfsv4] Proposal for ACL changes
User-Agent: KMail/1.5.1
References: <000501c32b06$49568170$9227010a@citi.umich.edu>
In-Reply-To: <000501c32b06$49568170$9227010a@citi.umich.edu>
Cc: nfsv4@ietf.org
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200306050947.07144.agruen@suse.de>
Content-Transfer-Encoding: 7bit
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Thu, 5 Jun 2003 09:47:07 +0200
Date: Thu, 5 Jun 2003 09:47:07 +0200
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

On Thursday 05 June 2003 04:00, Sergey Klyushin wrote:
> I would like to propose the following changes for ACL in NFSv4 (at least
> for next minor version).
>
> 1. In paragraph 5.11.4.  ACE who
> Remove "OWNER@" and "GROUP@" from the list of special names.
>
> 2. In paragraph 5.11.6.  Mode and ACL Attribute
> Remove requirements for synchronization of access granted by ACL and mode.
>
> 3. In paragraph 5.11.6.  Mode and ACL Attribute
> Add the following rule for checking access:
> - Process ACL first.
> - If access is not denied or not fully granted, check mode
> - If access is not fully granted, then access is denied.
>
> I believe this proposal will match better into both POSIX and Windows ACL
> models.

Why do you believe that? From the point of view of POSIX (-like) ACLs this 
would indeed worsen the situation with NFSv4.


Regards,
Andreas Gruenbacher.

------------------------------------------------------------------
 Andreas Gruenbacher                                SuSE Linux AG
 mailto:agruen@suse.de                     Deutschherrnstr. 15-19
 http://www.suse.de/                   D-90429 Nuernberg, Germany

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Thu Jun  5 09:04:24 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA23222
	for <nfsv4-archive@odin.ietf.org>; Thu, 5 Jun 2003 09:04:24 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h55D3vC01530
	for nfsv4-archive@odin.ietf.org; Thu, 5 Jun 2003 09:03:57 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h55D3vB01527
	for <nfsv4-web-archive@optimus.ietf.org>; Thu, 5 Jun 2003 09:03:57 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA23198
	for <nfsv4-web-archive@ietf.org>; Thu, 5 Jun 2003 09:03:54 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NuNW-0006av-00
	for nfsv4-web-archive@ietf.org; Thu, 05 Jun 2003 09:02:02 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19NuNV-0006as-00
	for nfsv4-web-archive@ietf.org; Thu, 05 Jun 2003 09:02:01 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h55D2pB01438;
	Thu, 5 Jun 2003 09:02:51 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h55CwZB01225
	for <nfsv4@optimus.ietf.org>; Thu, 5 Jun 2003 08:58:35 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA22941
	for <nfsv4@ietf.org>; Thu, 5 Jun 2003 08:58:32 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NuIK-0006Xe-00
	for nfsv4@ietf.org; Thu, 05 Jun 2003 08:56:40 -0400
Received: from [168.159.100.12] (helo=mercury.eng.emc.com)
	by ietf-mx with esmtp (Exim 4.12)
	id 19NuIJ-0006XV-00
	for nfsv4@ietf.org; Thu, 05 Jun 2003 08:56:39 -0400
Received: by mercury.eng.emc.com with Internet Mail Service (5.5.2656.59)
	id <K8ZHM29Z>; Thu, 5 Jun 2003 08:58:01 -0400
Message-ID: <FA2F59D0E55B4B4892EA076FF8704F5505544667@srgraham.eng.emc.com>
From: "wurzl, mario" <wurzl_mario@emc.com>
To: "'Sergey Klyushin '" <sergey.klyushin@hummingbird.com>,
        "'nfsv4@ietf.org '" <nfsv4@ietf.org>
Subject: RE: [nfsv4] Proposal for ACL changes
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2656.59)
Content-Type: text/plain;
	charset="iso-8859-1"
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Thu, 5 Jun 2003 08:58:00 -0400
Date: Thu, 5 Jun 2003 08:58:00 -0400

It will certainly make the NFSv4 ACL mode more compatible with Windows, but
I do not see how it would be more compatible with Posix.

If you remove OWNER@ and GROUP@ you may as well remove EVERYONE@ (OTHERS),
which may be the cause of some interesting incompatibility problems.

Have two sets of permission attributes and not synchronizing them, will make
things worse for the end user. And, in a heterogeneous environment, if you
check both sets of permission attributes when accessing a file from NFSv4,
you will have to do the same with CIFS, else one may have access denied
through NFS but not with CIFS.

Mario
 

-----Original Message-----
From: Sergey Klyushin
To: nfsv4@ietf.org
Sent: 6/4/2003 10:00 PM
Subject: [nfsv4] Proposal for ACL changes


I would like to propose the following changes for ACL in NFSv4 (at least
for
next minor version).

1. In paragraph 5.11.4.  ACE who 
Remove "OWNER@" and "GROUP@" from the list of special names.

2. In paragraph 5.11.6.  Mode and ACL Attribute
Remove requirements for synchronization of access granted by ACL and
mode.

3. In paragraph 5.11.6.  Mode and ACL Attribute
Add rule the following rule for checking access: 
- Process ACL first. 
- If access is not denied or not fully granted, check mode
- If access is not fully granted, then access is denied.

I believe this proposal will match better into both POSIX and Windows
ACL
models.

Thanks for your comments.
Sergey



_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Thu Jun  5 10:17:13 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA27632
	for <nfsv4-archive@odin.ietf.org>; Thu, 5 Jun 2003 10:17:13 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h55EGlR07789
	for nfsv4-archive@odin.ietf.org; Thu, 5 Jun 2003 10:16:47 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h55EGlB07786
	for <nfsv4-web-archive@optimus.ietf.org>; Thu, 5 Jun 2003 10:16:47 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA27583
	for <nfsv4-web-archive@ietf.org>; Thu, 5 Jun 2003 10:16:42 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NvVz-0007Ie-00
	for nfsv4-web-archive@ietf.org; Thu, 05 Jun 2003 10:14:51 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19NvVy-0007Ib-00
	for nfsv4-web-archive@ietf.org; Thu, 05 Jun 2003 10:14:50 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h55EGfB07776;
	Thu, 5 Jun 2003 10:16:41 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h551DqB05328
	for <nfsv4@optimus.ietf.org>; Wed, 4 Jun 2003 21:13:52 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id VAA21091
	for <nfsv4@ietf.org>; Wed, 4 Jun 2003 21:13:47 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19NjIM-0001xk-00
	for nfsv4@ietf.org; Wed, 04 Jun 2003 21:11:58 -0400
Received: from mx.hcl.com ([205.211.178.70] helo=MX.HUMMINGBIRD.COM)
	by ietf-mx with esmtp (Exim 4.12)
	id 19NjIL-0001xg-00
	for nfsv4@ietf.org; Wed, 04 Jun 2003 21:11:57 -0400
Received: from hcl2 (hcl-2.hcl.com [10.1.39.146])
	by MX.HUMMINGBIRD.COM (8.12.9/8.12.9) with ESMTP id h551EmYC003475
	for <nfsv4@ietf.org>; Wed, 4 Jun 2003 21:14:53 -0400
From: "Sergey Klyushin" <sergey.klyushin@hummingbird.com>
To: <nfsv4@ietf.org>
Message-ID: <000301c32aff$a183c3a0$9227010a@citi.umich.edu>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="us-ascii"
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook, Build 10.0.4510
Importance: Normal
In-Reply-To: <20030312202953.GH4488@dhcp-uaus08-128-191.Central.Sun.COM>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by www1.ietf.org id h551DqB05329
Subject: [nfsv4] Proposal for ACL changes
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Wed, 4 Jun 2003 21:13:05 -0400
Date: Wed, 4 Jun 2003 21:13:05 -0400
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit


I would like to propose the following changes for ACL in NFSv4 (at least for
next minor version).

1. In paragraph 5.11.4.  ACE who 
Remove "OWNER@" and "GROUP@" from the list of special names.

2. In paragraph 5.11.6.  Mode and ACL Attribute
Remove requirements for synchronization of access granted by ACL and mode.

3. In paragraph 5.11.6.  Mode and ACL Attribute
Add rule the following rule for checking access: 
- Process ACL first. 
- If access is not denied or not fully granted, check mode
- If access is not fully granted, then access is denied.

I believe this proposal will match better into both POSIX and Windows ACL
models.

Thanks for your comments.
Sergey



_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From owner-nfsv4-wg@sunroof.eng.sun.com  Thu Jun  5 13:37:01 2003
Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA07470
	for <nfsv4-archive@lists.ietf.org>; Thu, 5 Jun 2003 13:37:00 -0400 (EDT)
Received: from engmail2sun.Eng.Sun.COM ([129.144.134.19])
	by nwkea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h55HS0Lv011038;
	Thu, 5 Jun 2003 10:28:00 -0700 (PDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h55HRnuc004324;
	Thu, 5 Jun 2003 10:27:49 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h55HTTTX023693
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Thu, 5 Jun 2003 10:29:29 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h55HTTGR023692
	for nfsv4-wg-dist; Thu, 5 Jun 2003 10:29:29 -0700 (PDT)
Received: from centralmail2brm.Central.Sun.COM (centralmail2brm.Central.Sun.COM [129.147.62.14])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h55HTRTX023685
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 10:29:27 -0700 (PDT)
Received: from Sun.COM (jetsun.Central.Sun.COM [129.153.128.60])
	by centralmail2brm.Central.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h55HRhuP024136;
	Thu, 5 Jun 2003 11:27:43 -0600 (MDT)
Message-ID: <3EDF7D8F.8050207@Sun.COM>
Date: Thu, 05 Jun 2003 12:27:43 -0500
From: David Robinson <David.Robinson@sun.com>
Reply-To: David.Robinson@sun.com
Organization: Sun Microsystems, Inc.
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020827
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: nfsv4-wg@sunroof.eng.sun.com
CC: Stevan Steve Allen <scallen@us.ibm.com>
Subject: Re: Fw: Benefits of Mandatory Locking
References: <OFD3209D34.C599A503-ON87256D3C.000FB19E-88256D3C.00111E27@us.ibm.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Stevan Steve Allen wrote:

> That was interesting and helpful.  If I interpreted your response
> correctly, the problem/solution you just described refers to data
> consistency.  i.e...
> 
> Mandatory locking provides the NFS server the ability to detect
> transmission reordering.  In an environment of knowledgeable applications
> performing expected locking semantics, the NFS mandatory locking protocol
> will verify the i/o to the lockowner & file share to detect transmission
> reordering.  NFS4ERR_LOCKED will be returned when an incorrect transmission
> order condition is detected.  Mandatory locking provides a reasonable
> expectation of data consistency given a stable environment limited to
> trusted applications.   Servers which grant a write using a special stateid
> negates the data consistency benefit just described.
> 
> For reorder detection, I would assume a no lock held condition also must
> indicate a reorder problem (or buggy appl) and an error will be returned.

Close, the actual error will be NFS4ERR_OLD_STATEID as every operation
that causes locks to change issues a new stateid effectively
invalidating and outstanding I/O requests. I would changed the
term "trusted" to "cooperating" applications, trust has more
implications than I would be willing to make.

Whether there is no lock held or a different lock really is
not important. The server is receiving an I/O request that
indicates it was made during a state that no longer exists
on the server, thus an error is returned even if the current
state would not otherwise cause and error (e.g. no locks held).

> To limit my initial topic..  Given a different mandatory environment where
> the server is a core Unix (not Windows), and data consistency is "not"
> enforced, and non lockers using special stateid's are allowed as defined in
> the draft, I do not see a server claim or benefit being provided by
> implementing the mandatory locking model  "with" special stateid's that an
> advisory locking model can not provide.  It seems the only servers which
> benefit from mandatory locking is Windows & some Posix implementations
> which require data integrity.
> 
> I don't see any of the core Unix base platforms you mentioned will benefit
> from these two locking decisions and suspect they will not implement
> mandatory locking based on these decisions.  If they do, I would still
> setup advisory locking for performance without fear of loosing any ability
> or compatibility concerns.  Basically, if your going to allow magic
> stateid's I don't see any benefits.

Pretty much most Unix implementations have no use for mandatory
locking and we will see how widely it is implemented. It has
nasty implications when something leaves a mandatory write lock
on a file such as /etc/passwd causing a massive denial of
service.  Conversely, without mandatory locking an interesting
number of Windows applications will be unsupportable, magic stateids
were the hack to bridge the gap.

> I'm also interested in what problem/solution Windows implementations are
> solving with NFS mandatory locking if they are allowing magic stateid's
> (it's won't be data consistency).

I don't know how the Windows implementers will handle this...

	-David




From owner-nfsv4-wg@sunroof.eng.sun.com  Thu Jun  5 14:11:37 2003
Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA08913
	for <nfsv4-archive@lists.ietf.org>; Thu, 5 Jun 2003 14:11:37 -0400 (EDT)
Received: from engmail1mpk.Eng.Sun.COM ([129.146.1.45])
	by nwkea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h55I54Lv002443;
	Thu, 5 Jun 2003 11:05:04 -0700 (PDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h55I4tNh029098;
	Thu, 5 Jun 2003 11:04:55 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h55I6YTX023800
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Thu, 5 Jun 2003 11:06:34 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h55I6Yac023799
	for nfsv4-wg-dist; Thu, 5 Jun 2003 11:06:34 -0700 (PDT)
Received: from engmail1mpk.Eng.Sun.COM (engmail1mpk [129.146.1.45])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h55I6WTX023792
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 11:06:33 -0700 (PDT)
Received: from brmea-mail-4.sun.com (brmea-mail-4.Central.Sun.COM [129.147.5.36])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h55I4oNh029039
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 11:04:50 -0700 (PDT)
Received: from e34.co.us.ibm.com (e34.co.us.ibm.com [32.97.110.132])
	by brmea-mail-4.sun.com (8.12.9/8.12.9) with ESMTP id h55I4iht022781
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 12:04:44 -0600 (MDT)
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11])
	by e34.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h55I3gAC204520
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 14:04:33 -0400
Received: from d03nm113.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay02.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h55I3UEG107618
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 12:03:31 -0600
In-Reply-To: <6440EA1A6AA1D5118C6900902745938E0B680D66@black.eng.netapp.com>
Subject: RE: Benefits of Mandatory Locking
To: nfsv4-wg@sunroof.eng.sun.com
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OFF1D651A1.973A10A6-ON87256D3C.00602CF9-88256D3C.00635158@us.ibm.com>
From: Stevan Steve Allen <scallen@us.ibm.com>
Date: Thu, 5 Jun 2003 11:03:24 -0700
X-MIMETrack: Serialize by Router on D03NM113/03/M/IBM(Release 6.0.1 [IBM]|May 27, 2003) at
 06/05/2003 12:03:31
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>





Alan Yoder wrote:
|   As David said, mandatory locking was implemented
|because it's needed to model the locking semantics
|of CIFS and other filesystems like it.  However,
|after some years of messing around in multiprotocol
|environments, I've come to the conclusion that those
|dudes who settled on advisory locking in NFS v2 and v3
|were pretty darn smart.  There are few things more
|annoying than a client that obtains a mandatory lock
|and then goes off into the weeds.
|
|   As a noncombatant on this list, my opinion doesn't
|count for much, but personally, I'd view a comprehensive
|solution to that problem a lot more favorably than
|"really mandatory locking".
|
|   Besides, wouldn't a server that implemented really
|mandatory locking break just about every utility program
|in the known world?  Do du, cp, mv, dd, more, dos copy and
|all their thousand brethren all obtain mandatory locks
|before writing/reading?  Wouldn't the client and server have
|to negotiate the behavior (and hide it from programs) to get
|around this problem?

I agree the usage of more restrictive mandatory implementations is rare
until you start playing with enterprise mission critical data environment.
A scenario may likely describe a solution where access is limited to a few
(probably internal) client applications & platforms which follow the rules.
Access to all the worlds platforms in not needed when only a few
applications like finance are expected to participate.  Historically, it is
likely they will migrate a couple applications to another platform in order
to satisfy a needed solution such as the mission critical requirements of
their data.

I support the openness of NFS but I struggle with statements which hint of
NFS locking semantics taking precedence over platform semantics and
customer solutions.  For any customer needed solution which NFS can not
address, the customer will peruse alternative products (CIFS smiles).

- Steve

> -----Original Message-----
> From: Stevan Steve Allen [mailto:scallen@us.ibm.com]
> Sent: Tuesday, June 03, 2003 11:46 PM
> To: nfsv4-wg@sunroof.eng.sun.com
> Subject: Benefits of Mandatory Locking
>
>
>
>
>
> Given the following mandatory locking scenario using magic
> stateid's, I'm
> having difficulty listing any claims or benefits the mandatory locking
> model provides which the advisory model does not.
>
> 1. Appl 1 issues a large write
> 2. Large range is broken into two RPCs
> 3. 1st half of write is sent to the server with a zero stateid
> 4. No lock conflicts, partial write is successful and completes
>
> 5. Appl 2 successfully locks the entire range of Appl 1's write
> 6. Appl 2 successfully writes entire range overlaying Appl 1
> partial write
> 7. Appl 2 releases associated lock
>
> 8. 2nd half of Appl 1 write is sent to the server with zero stateid
> 9. No lock conflicts, partial write overlays Appl 2 change
>
> If the above scenario describes writing an image file, the resulting
> picture can be described as a mans head on a ducks body.
>
> To ask the question in another way,  could an advisory
> locking server using
> ACLs to limit access to trusted applications provide the same
> benefits as
> an mandatory locking server?  If not, what is missing?
>
>
> On a different topic....  Someone once said unless a lock conflict is
> detected and nfs4err_locked is returned, the NFS client and client
> application will not be aware that a mandatory or advisory locking
> environment is in effect.  e.g. the application can perform all it's
> operations and end successfully without ever knowing.  Given
> this, I assume
> any application written to handle the mandatory locking error
> will also run
> unknowingly and unaffected in an advisory locking environment.  e.g.
> mandatory applications have no problems with advisory servers.
>
>
> Thanks,
> Stevan C. Allen
>
>




From owner-nfsv4-wg@sunroof.eng.sun.com  Thu Jun  5 16:09:52 2003
Received: from nwkea-mail-2.sun.com (nwkea-mail-2.sun.com [192.18.42.14])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA15183
	for <nfsv4-archive@lists.ietf.org>; Thu, 5 Jun 2003 16:09:51 -0400 (EDT)
Received: from engmail2sun.Eng.Sun.COM ([129.144.134.19])
	by nwkea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h55K1iLv006910;
	Thu, 5 Jun 2003 13:01:44 -0700 (PDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h55K1Wuc015217;
	Thu, 5 Jun 2003 13:01:32 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h55K32TX024198
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Thu, 5 Jun 2003 13:03:02 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h55K32Sx024197
	for nfsv4-wg-dist; Thu, 5 Jun 2003 13:03:02 -0700 (PDT)
Received: from engmail2sun.Eng.Sun.COM (engmail2sun [129.144.134.19])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h55K2xTX024190
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 13:02:59 -0700 (PDT)
Received: from nwkea-mail-1.sun.com ([192.18.42.13])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h55K1Guc014945
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 13:01:16 -0700 (PDT)
Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.133])
	by nwkea-mail-1.sun.com (8.12.9/8.12.9) with ESMTP id h55K1A4Z021231
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 13:01:10 -0700 (PDT)
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e35.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h55K182R264194
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 16:01:09 -0400
Received: from d03nm113.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h55K0tOI088498
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 14:00:56 -0600
Subject: Re: Benefits of Mandatory Locking
To: nfsv4-wg@sunroof.eng.sun.com
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OFE1D23C08.AB241A49-ON87256D3C.006DC028-88256D3C.006E1506@us.ibm.com>
From: Stevan Steve Allen <scallen@us.ibm.com>
Date: Thu, 5 Jun 2003 13:00:58 -0700
X-MIMETrack: Serialize by Router on D03NM113/03/M/IBM(Release 6.0.1 [IBM]|May 27, 2003) at
 06/05/2003 14:00:55
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>




Misdirected email, re-posting on forum.

David Robinson wrote:
|Stevan Steve Allen wrote:
|> To limit my initial topic..  Given a different mandatory environment
where
|> the server is a core Unix (not Windows), and data consistency is "not"
|> enforced, and non lockers using special stateid's are allowed as defined
in
|> the draft, I do not see a server claim or benefit being provided by
|> implementing the mandatory locking model  "with" special stateid's that
an
|> advisory locking model can not provide.  It seems the only servers which
|> benefit from mandatory locking is Windows & some Posix implementations
|> which require data integrity.
|>
|> I don't see any of the core Unix base platforms you mentioned will
benefit
|> from these two locking decisions and suspect they will not implement
|> mandatory locking based on these decisions.  If they do, I would still
|> setup advisory locking for performance without fear of loosing any
ability
|> or compatibility concerns.  Basically, if your going to allow magic
|> stateid's I don't see any benefits.
|
|Pretty much most Unix implementations have no use for mandatory
|locking and we will see how widely it is implemented. It has
|nasty implications when something leaves a mandatory write lock
|on a file such as /etc/passwd causing a massive denial of
|service.  Conversely, without mandatory locking an interesting
|number of Windows applications will be unsupportable, magic stateids
|were the hack to bridge the gap.


Are you describing a Windows server implementation to support Unix clients,
or Unix server implementations to support windows clients? Or both?  I
suspect the first one due to the recent discussion.

Regarding a server allowing magic stateid's on write
i.e. implementing lock contention rules outlined in the draft:

The following illustrates the dilemma of dedicating effort to mandatory
locking.

Lets pretend we both provide NFS server products for the same unix platform
whose kernel does not enforce data consistency.  If one product provided
mandatory locking where they enabled reorder detection by not allowing
magic stateid's, the product could claim a benefit over an advisory only
product.  But if a Unix NFS server product claims to support mandatory
locking, and magic stateid's, the product would not be able to claim any
benefits to persuade customers not to migrate to a competitive advisory
only product.

The issue is, I see no benefits of allowing magic write stateid's as
described in the draft on a unix server.  If a Unix server product allows
magic writes, they can not claim any solution benefits over competing NFS
server products which are advisory only.

Please prove me wrong.

-Steve







From mailnull@www1.ietf.org  Thu Jun  5 17:08:00 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA17220
	for <nfsv4-archive@odin.ietf.org>; Thu, 5 Jun 2003 17:08:00 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h55L7Y110949
	for nfsv4-archive@odin.ietf.org; Thu, 5 Jun 2003 17:07:34 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h55L7YB10937
	for <nfsv4-web-archive@optimus.ietf.org>; Thu, 5 Jun 2003 17:07:34 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA17212
	for <nfsv4-web-archive@ietf.org>; Thu, 5 Jun 2003 17:07:30 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19O1vW-0003aY-00
	for nfsv4-web-archive@ietf.org; Thu, 05 Jun 2003 17:05:38 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19O1vV-0003aV-00
	for nfsv4-web-archive@ietf.org; Thu, 05 Jun 2003 17:05:37 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h55L6rB10238;
	Thu, 5 Jun 2003 17:06:53 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h55L2mB10056
	for <nfsv4@optimus.ietf.org>; Thu, 5 Jun 2003 17:02:48 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA17044
	for <nfsv4@ietf.org>; Thu, 5 Jun 2003 17:02:44 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19O1qu-0003XY-00
	for nfsv4@ietf.org; Thu, 05 Jun 2003 17:00:52 -0400
Received: from nwkea-mail-2.sun.com ([192.18.42.14])
	by ietf-mx with esmtp (Exim 4.12)
	id 19O1qt-0003XL-00
	for nfsv4@ietf.org; Thu, 05 Jun 2003 17:00:51 -0400
Received: from engmail1mpk.Eng.Sun.COM ([129.146.1.45])
	by nwkea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h55L2DLv007669
	for <nfsv4@ietf.org>; Thu, 5 Jun 2003 14:02:13 -0700 (PDT)
Received: from shepler.eng.sun.com (vpn-129-150-16-161.SFBay.Sun.COM [129.150.16.161])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h55L2CNh003472
	for <nfsv4@ietf.org>; Thu, 5 Jun 2003 14:02:12 -0700 (PDT)
Received: from shepler.eng.sun.com (localhost [127.0.0.1])
	by shepler.eng.sun.com (8.12.9+Sun/8.12.9) with ESMTP id h55L27gH100788
	for <nfsv4@ietf.org>; Thu, 5 Jun 2003 16:02:07 -0500 (CDT)
Received: (from shepler@localhost)
	by shepler.eng.sun.com (8.12.9+Sun/8.12.9/Submit) id h55L27pr100787
	for nfsv4@ietf.org; Thu, 5 Jun 2003 16:02:07 -0500 (CDT)
From: Spencer Shepler <spencer.shepler@sun.com>
To: nfsv4@ietf.org
Message-ID: <20030605210206.GC100740@shepler.central.sun.com>
Reply-To: spencer.shepler@sun.com
Mail-Followup-To: Spencer Shepler <spencer.shepler@sun.com>, nfsv4@ietf.org
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="XWOWbaMNXpFDWE00"
Content-Disposition: inline
User-Agent: Mutt/1.4i
Subject: [nfsv4] Forward of misdirected thread on NFSv4 mandatory locking...
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Thu, 5 Jun 2003 16:02:07 -0500
Date: Thu, 5 Jun 2003 16:02:07 -0500


--XWOWbaMNXpFDWE00
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline


I am forwarding a thread that went to the old alias.

Obviously, I will be fully disabling the old alias soon.

-- 
Spencer


--XWOWbaMNXpFDWE00
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <owner-nfsv4-wg@sunroof.eng.sun.com>
Received: from engmail1mpk.Eng.Sun.COM (engmail1mpk.Eng.Sun.COM [129.146.1.45])
	by jurassic.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h546l86J763575;
	Tue, 3 Jun 2003 23:47:08 -0700 (PDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h546kDNh017439;
	Tue, 3 Jun 2003 23:46:13 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h546lrTX010840
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Tue, 3 Jun 2003 23:47:53 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h546lrM9010839
	for nfsv4-wg-dist; Tue, 3 Jun 2003 23:47:53 -0700 (PDT)
Received: from engmail1mpk.Eng.Sun.COM (engmail1mpk [129.146.1.45])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h546lpTX010832
	for <nfsv4-wg@sunroof.eng.sun.com>; Tue, 3 Jun 2003 23:47:51 -0700 (PDT)
Received: from brmea-mail-2.sun.com (brmea-mail-2.Central.Sun.COM [129.147.5.43])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h546k8Nh017425
	for <nfsv4-wg@sunroof.eng.sun.com>; Tue, 3 Jun 2003 23:46:08 -0700 (PDT)
Received: from e32.co.us.ibm.com (e32.co.us.ibm.com [32.97.110.130])
	by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h546k2YU003694
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 00:46:02 -0600 (MDT)
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e32.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h546k2kc270192
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 02:46:02 -0400
Received: from d03nm113.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h546k1h7134206
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 00:46:01 -0600
Subject: Benefits of Mandatory Locking
To: nfsv4-wg@sunroof.eng.sun.com
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OF7CF28DAE.5E01CA20-ON87256D3B.001F2445-88256D3B.00254C35@us.ibm.com>
From: Stevan Steve Allen <scallen@us.ibm.com>
Date: Tue, 3 Jun 2003 23:46:00 -0700
X-MIMETrack: Serialize by Router on D03NM113/03/M/IBM(Release 6.0.1 [IBM]|May 27, 2003) at
 06/04/2003 00:46:00
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>




Given the following mandatory locking scenario using magic stateid's, I'm
having difficulty listing any claims or benefits the mandatory locking
model provides which the advisory model does not.

1. Appl 1 issues a large write
2. Large range is broken into two RPCs
3. 1st half of write is sent to the server with a zero stateid
4. No lock conflicts, partial write is successful and completes

5. Appl 2 successfully locks the entire range of Appl 1's write
6. Appl 2 successfully writes entire range overlaying Appl 1 partial write
7. Appl 2 releases associated lock

8. 2nd half of Appl 1 write is sent to the server with zero stateid
9. No lock conflicts, partial write overlays Appl 2 change

If the above scenario describes writing an image file, the resulting
picture can be described as a mans head on a ducks body.

To ask the question in another way,  could an advisory locking server using
ACLs to limit access to trusted applications provide the same benefits as
an mandatory locking server?  If not, what is missing?


On a different topic....  Someone once said unless a lock conflict is
detected and nfs4err_locked is returned, the NFS client and client
application will not be aware that a mandatory or advisory locking
environment is in effect.  e.g. the application can perform all it's
operations and end successfully without ever knowing.  Given this, I assume
any application written to handle the mandatory locking error will also run
unknowingly and unaffected in an advisory locking environment.  e.g.
mandatory applications have no problems with advisory servers.


Thanks,
Stevan C. Allen


--XWOWbaMNXpFDWE00
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <owner-nfsv4-wg@sunroof.eng.sun.com>
Received: from engmail1mpk.Eng.Sun.COM (engmail1mpk.Eng.Sun.COM [129.146.1.45])
	by jurassic.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54Ecx6J824395;
	Wed, 4 Jun 2003 07:38:59 -0700 (PDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h54Ec1Nh027799;
	Wed, 4 Jun 2003 07:38:01 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54EddTX013902
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Wed, 4 Jun 2003 07:39:40 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h54EddJu013901
	for nfsv4-wg-dist; Wed, 4 Jun 2003 07:39:39 -0700 (PDT)
Received: from centralmail1brm.Central.Sun.COM (centralmail1brm.Central.Sun.COM [129.147.62.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54EdbTX013894
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 07:39:38 -0700 (PDT)
Received: from Sun.COM (sr1-ubrm-01.Central.Sun.COM [129.147.4.10])
	by centralmail1brm.Central.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h54EbuNg000773;
	Wed, 4 Jun 2003 08:37:56 -0600 (MDT)
Message-ID: <3EDE0443.300@Sun.COM>
Date: Wed, 04 Jun 2003 08:37:55 -0600
From: David Robinson <David.Robinson@sun.com>
Reply-To: David.Robinson@sun.com
Organization: Sun Microsystems, Inc.
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.1) Gecko/20020827
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Stevan Steve Allen <scallen@us.ibm.com>
CC: nfsv4-wg@sunroof.eng.sun.com
Subject: Re: Benefits of Mandatory Locking
References: <OF7CF28DAE.5E01CA20-ON87256D3B.001F2445-88256D3B.00254C35@us.ibm.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>
Content-Transfer-Encoding: 7bit

Stevan Steve Allen wrote:
> Given the following mandatory locking scenario using magic stateid's, I'm
> having difficulty listing any claims or benefits the mandatory locking
> model provides which the advisory model does not.
> 
> 1. Appl 1 issues a large write
> 2. Large range is broken into two RPCs
> 3. 1st half of write is sent to the server with a zero stateid
> 4. No lock conflicts, partial write is successful and completes
> 
> 5. Appl 2 successfully locks the entire range of Appl 1's write
> 6. Appl 2 successfully writes entire range overlaying Appl 1 partial write
> 7. Appl 2 releases associated lock
> 
> 8. 2nd half of Appl 1 write is sent to the server with zero stateid
> 9. No lock conflicts, partial write overlays Appl 2 change

This demonstrates the risk of using a zero stateid and why
it should not be encouraged when data consistency is needed.
This problem exists today with NFSv3/NLM, multiple clients
following proper locking protocol can get their data wiped
out by a non-participating client. Even if Appl1 doesn't
use a zero stateid, but instead only locks the subrange
in each request, corruption occurs, in both cases this
is a programming error.

> To ask the question in another way,  could an advisory locking server using
> ACLs to limit access to trusted applications provide the same benefits as
> an mandatory locking server?  If not, what is missing?

If you have applications that are using locking, it is very
reasonable to use ACLs to disallow users that may want
to run applications that don't understand the locking
convention.

I think there may be a difference in the use of the term
"mandatory". (It does have different semantics between
SYSVR3 Unix and Windows). In NFSv4, mandatory means that
an I/O operation using a normal stateid will get an error
back when a conflicting lock exists.  If no locks exists,
no I/O operation will fail with a locking error. Mandatory
doesn't mean that you have to use locking, it only means that
when you do lock a range, for the duration of that lock
you will not get a conflicting I/O operation.  But it is
still the requirement of applications to set locks as
they see fit.

There are two motivations of the design, the first was the
incorporation of a stateid in I/O operations so there
could be a correlation between a client holding a lock
and the I/O.  Before, if a request got reordered or delayed
due to a networking problem, a client diligently following
locking could clobber its own data. But it was still presumed
that the client would still be responsible for determing
what I/O operations will be issued with a lock and those
without.  The stateid just allows the server to catch cases
where I/O issued based on the clients understanding
of the "current" state, are still valid. The second
decision was to decide if we should cause I/O
operations to fail when they conflicted with a lock.
In the core Unix base this was unneeded, and actually
unwanted by a lot of folks.  But in the Windows
world they have the semantic that the I/O must not
complete it a conflicting lock is held.  So we added
mandantory locks to cover all bases.

But what we never did was to setup a mode where the
server can tell a client that it could only do
I/O operations when a lock was held.  Frankly I
never heard anyone even suggest such a thing, although
I now can see how it could be useful. Minor version
anyone?

	-David



--XWOWbaMNXpFDWE00
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <owner-nfsv4-wg@sunroof.eng.sun.com>
Received: from engmail2sun.Eng.Sun.COM (engmail2sun.Eng.Sun.COM [129.144.134.19])
	by jurassic.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54Ic96J898751;
	Wed, 4 Jun 2003 11:38:09 -0700 (PDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h54Ib0uc025598;
	Wed, 4 Jun 2003 11:37:00 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54IcbTX015583
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Wed, 4 Jun 2003 11:38:38 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h54IcbdM015582
	for nfsv4-wg-dist; Wed, 4 Jun 2003 11:38:37 -0700 (PDT)
Received: from engmail2sun.Eng.Sun.COM (engmail2sun [129.144.134.19])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54IcYTX015575
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 11:38:35 -0700 (PDT)
Received: from brmea-mail-2.sun.com (brmea-mail-2.Central.Sun.COM [129.147.5.43])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h54Iaruc025530
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 11:36:53 -0700 (PDT)
Received: from mx01.netapp.com (mx01.netapp.com [198.95.226.53])
	by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h54IamYU017820
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 12:36:48 -0600 (MDT)
Received: from frejya.corp.netapp.com (frejya [10.10.20.91])
	by mx01.netapp.com (8.12.9/8.12.9/NTAP-1.4) with ESMTP id h54IagJo018594;
	Wed, 4 Jun 2003 11:36:42 -0700 (PDT)
Received: from svlexc01.hq.netapp.com (svlexc01.corp.netapp.com [10.10.22.171])
	by frejya.corp.netapp.com (8.12.9/8.12.9/NTAP-1.5) with ESMTP id h54Iagtf014615;
	Wed, 4 Jun 2003 11:36:42 -0700 (PDT)
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: RE: Benefits of Mandatory Locking
Date: Wed, 4 Jun 2003 11:36:33 -0700
Message-ID: <6440EA1A6AA1D5118C6900902745938E0B680D66@black.eng.netapp.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Benefits of Mandatory Locking
Thread-Index: AcMqZTDgkgskCaJLT8iOcJVXwNLONwAXR3pw
From: "Yoder, Alan" <agy@netapp.com>
To: "Stevan Steve Allen" <scallen@us.ibm.com>, <nfsv4-wg@sunroof.eng.sun.com>
X-MIME-Autoconverted: from quoted-printable to 8bit by sunroof.eng.sun.com id h54IcZTX015576
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>
   As David said, mandatory locking was implemented
Content-Transfer-Encoding: 8bit

because it's needed to model the locking semantics
of CIFS and other filesystems like it.  However,
after some years of messing around in multiprotocol
environments, I've come to the conclusion that those
dudes who settled on advisory locking in NFS v2 and v3
were pretty darn smart.  There are few things more
annoying than a client that obtains a mandatory lock
and then goes off into the weeds.

   As a noncombatant on this list, my opinion doesn't
count for much, but personally, I'd view a comprehensive 
solution to that problem a lot more favorably than 
"really mandatory locking".  

   Besides, wouldn't a server that implemented really 
mandatory locking break just about every utility program 
in the known world?  Do du, cp, mv, dd, more, dos copy and 
all their thousand brethren all obtain mandatory locks before writing/reading?  Wouldn't the client and server have to 
negotiate the behavior (and hide it from programs) to get 
around this problem?

Alan

===============================================================
Alan G. Yoder                                    agy@netapp.com
Technical Staff                           
Network Appliance, Inc.                            408-822-6919
=============================================================== 

> -----Original Message-----
> From: Stevan Steve Allen [mailto:scallen@us.ibm.com]
> Sent: Tuesday, June 03, 2003 11:46 PM
> To: nfsv4-wg@sunroof.eng.sun.com
> Subject: Benefits of Mandatory Locking
> 
> 
> 
> 
> 
> Given the following mandatory locking scenario using magic 
> stateid's, I'm
> having difficulty listing any claims or benefits the mandatory locking
> model provides which the advisory model does not.
> 
> 1. Appl 1 issues a large write
> 2. Large range is broken into two RPCs
> 3. 1st half of write is sent to the server with a zero stateid
> 4. No lock conflicts, partial write is successful and completes
> 
> 5. Appl 2 successfully locks the entire range of Appl 1's write
> 6. Appl 2 successfully writes entire range overlaying Appl 1 
> partial write
> 7. Appl 2 releases associated lock
> 
> 8. 2nd half of Appl 1 write is sent to the server with zero stateid
> 9. No lock conflicts, partial write overlays Appl 2 change
> 
> If the above scenario describes writing an image file, the resulting
> picture can be described as a mans head on a ducks body.
> 
> To ask the question in another way,  could an advisory 
> locking server using
> ACLs to limit access to trusted applications provide the same 
> benefits as
> an mandatory locking server?  If not, what is missing?
> 
> 
> On a different topic....  Someone once said unless a lock conflict is
> detected and nfs4err_locked is returned, the NFS client and client
> application will not be aware that a mandatory or advisory locking
> environment is in effect.  e.g. the application can perform all it's
> operations and end successfully without ever knowing.  Given 
> this, I assume
> any application written to handle the mandatory locking error 
> will also run
> unknowingly and unaffected in an advisory locking environment.  e.g.
> mandatory applications have no problems with advisory servers.
> 
> 
> Thanks,
> Stevan C. Allen
> 
> 


--XWOWbaMNXpFDWE00
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <owner-nfsv4-wg@sunroof.eng.sun.com>
Received: from engmail1mpk.Eng.Sun.COM (engmail1mpk.Eng.Sun.COM [129.146.1.45])
	by jurassic.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h55I5R6J263525;
	Thu, 5 Jun 2003 11:05:27 -0700 (PDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h55I4tNh029098;
	Thu, 5 Jun 2003 11:04:55 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h55I6YTX023800
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Thu, 5 Jun 2003 11:06:34 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h55I6Yac023799
	for nfsv4-wg-dist; Thu, 5 Jun 2003 11:06:34 -0700 (PDT)
Received: from engmail1mpk.Eng.Sun.COM (engmail1mpk [129.146.1.45])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h55I6WTX023792
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 11:06:33 -0700 (PDT)
Received: from brmea-mail-4.sun.com (brmea-mail-4.Central.Sun.COM [129.147.5.36])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h55I4oNh029039
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 11:04:50 -0700 (PDT)
Received: from e34.co.us.ibm.com (e34.co.us.ibm.com [32.97.110.132])
	by brmea-mail-4.sun.com (8.12.9/8.12.9) with ESMTP id h55I4iht022781
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 12:04:44 -0600 (MDT)
Received: from westrelay02.boulder.ibm.com (westrelay02.boulder.ibm.com [9.17.195.11])
	by e34.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h55I3gAC204520
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 14:04:33 -0400
Received: from d03nm113.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay02.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h55I3UEG107618
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 12:03:31 -0600
In-Reply-To: <6440EA1A6AA1D5118C6900902745938E0B680D66@black.eng.netapp.com>
Subject: RE: Benefits of Mandatory Locking
To: nfsv4-wg@sunroof.eng.sun.com
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OFF1D651A1.973A10A6-ON87256D3C.00602CF9-88256D3C.00635158@us.ibm.com>
From: Stevan Steve Allen <scallen@us.ibm.com>
Date: Thu, 5 Jun 2003 11:03:24 -0700
X-MIMETrack: Serialize by Router on D03NM113/03/M/IBM(Release 6.0.1 [IBM]|May 27, 2003) at
 06/05/2003 12:03:31
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>





Alan Yoder wrote:
|   As David said, mandatory locking was implemented
|because it's needed to model the locking semantics
|of CIFS and other filesystems like it.  However,
|after some years of messing around in multiprotocol
|environments, I've come to the conclusion that those
|dudes who settled on advisory locking in NFS v2 and v3
|were pretty darn smart.  There are few things more
|annoying than a client that obtains a mandatory lock
|and then goes off into the weeds.
|
|   As a noncombatant on this list, my opinion doesn't
|count for much, but personally, I'd view a comprehensive
|solution to that problem a lot more favorably than
|"really mandatory locking".
|
|   Besides, wouldn't a server that implemented really
|mandatory locking break just about every utility program
|in the known world?  Do du, cp, mv, dd, more, dos copy and
|all their thousand brethren all obtain mandatory locks
|before writing/reading?  Wouldn't the client and server have
|to negotiate the behavior (and hide it from programs) to get
|around this problem?

I agree the usage of more restrictive mandatory implementations is rare
until you start playing with enterprise mission critical data environment.
A scenario may likely describe a solution where access is limited to a few
(probably internal) client applications & platforms which follow the rules.
Access to all the worlds platforms in not needed when only a few
applications like finance are expected to participate.  Historically, it is
likely they will migrate a couple applications to another platform in order
to satisfy a needed solution such as the mission critical requirements of
their data.

I support the openness of NFS but I struggle with statements which hint of
NFS locking semantics taking precedence over platform semantics and
customer solutions.  For any customer needed solution which NFS can not
address, the customer will peruse alternative products (CIFS smiles).

- Steve

> -----Original Message-----
> From: Stevan Steve Allen [mailto:scallen@us.ibm.com]
> Sent: Tuesday, June 03, 2003 11:46 PM
> To: nfsv4-wg@sunroof.eng.sun.com
> Subject: Benefits of Mandatory Locking
>
>
>
>
>
> Given the following mandatory locking scenario using magic
> stateid's, I'm
> having difficulty listing any claims or benefits the mandatory locking
> model provides which the advisory model does not.
>
> 1. Appl 1 issues a large write
> 2. Large range is broken into two RPCs
> 3. 1st half of write is sent to the server with a zero stateid
> 4. No lock conflicts, partial write is successful and completes
>
> 5. Appl 2 successfully locks the entire range of Appl 1's write
> 6. Appl 2 successfully writes entire range overlaying Appl 1
> partial write
> 7. Appl 2 releases associated lock
>
> 8. 2nd half of Appl 1 write is sent to the server with zero stateid
> 9. No lock conflicts, partial write overlays Appl 2 change
>
> If the above scenario describes writing an image file, the resulting
> picture can be described as a mans head on a ducks body.
>
> To ask the question in another way,  could an advisory
> locking server using
> ACLs to limit access to trusted applications provide the same
> benefits as
> an mandatory locking server?  If not, what is missing?
>
>
> On a different topic....  Someone once said unless a lock conflict is
> detected and nfs4err_locked is returned, the NFS client and client
> application will not be aware that a mandatory or advisory locking
> environment is in effect.  e.g. the application can perform all it's
> operations and end successfully without ever knowing.  Given
> this, I assume
> any application written to handle the mandatory locking error
> will also run
> unknowingly and unaffected in an advisory locking environment.  e.g.
> mandatory applications have no problems with advisory servers.
>
>
> Thanks,
> Stevan C. Allen
>
>



--XWOWbaMNXpFDWE00
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <owner-nfsv4-wg@sunroof.eng.sun.com>
Received: from engmail2sun.Eng.Sun.COM (engmail2sun.Eng.Sun.COM [129.144.134.19])
	by jurassic.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54IgE6J899693;
	Wed, 4 Jun 2003 11:42:14 -0700 (PDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h54IfZuc027366;
	Wed, 4 Jun 2003 11:41:35 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54IhDTX015620
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Wed, 4 Jun 2003 11:43:13 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h54IhD96015619
	for nfsv4-wg-dist; Wed, 4 Jun 2003 11:43:13 -0700 (PDT)
Received: from engmail2sun.Eng.Sun.COM (engmail2sun [129.144.134.19])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h54IhATX015612
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 11:43:10 -0700 (PDT)
Received: from brmea-mail-2.sun.com (brmea-mail-2.Central.Sun.COM [129.147.5.43])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h54IfTuc027147
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 11:41:29 -0700 (PDT)
Received: from mx01.netapp.com (mx01.netapp.com [198.95.226.53])
	by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h54IfNYU020760
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 4 Jun 2003 12:41:23 -0600 (MDT)
Received: from frejya.corp.netapp.com (frejya [10.10.20.91])
	by mx01.netapp.com (8.12.9/8.12.9/NTAP-1.4) with ESMTP id h54IfNJo018956;
	Wed, 4 Jun 2003 11:41:23 -0700 (PDT)
Received: from svlexc01.hq.netapp.com (svlexc01.corp.netapp.com [10.10.22.171])
	by frejya.corp.netapp.com (8.12.9/8.12.9/NTAP-1.5) with ESMTP id h54IfMth016088;
	Wed, 4 Jun 2003 11:41:23 -0700 (PDT)
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: RE: Benefits of Mandatory Locking
Date: Wed, 4 Jun 2003 11:41:16 -0700
Message-ID: <6440EA1A6AA1D5118C6900902745938E0B680D69@black.eng.netapp.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: Benefits of Mandatory Locking
Thread-Index: AcMqZTDgkgskCaJLT8iOcJVXwNLONwAXR3pwAAGcSRA=
From: "Yoder, Alan" <agy@netapp.com>
To: "Yoder, Alan" <agy@netapp.com>, "Stevan Steve Allen" <scallen@us.ibm.com>,
        <nfsv4-wg@sunroof.eng.sun.com>
X-MIME-Autoconverted: from quoted-printable to 8bit by sunroof.eng.sun.com id h54IhBTX015613
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>
Content-Transfer-Encoding: 8bit

Grrr.  Let's see if the gremlins can get it wrong
the same way twice....

> -----Original Message-----
> From: Yoder, Alan 
> Sent: Wednesday, June 04, 2003 11:37 AM
> To: 'Stevan Steve Allen'; nfsv4-wg@sunroof.eng.sun.com
> Subject: RE: Benefits of Mandatory Locking
> 
> 
>    As David said, mandatory locking was implemented
> because it's needed to model the locking semantics
> of CIFS and other filesystems like it.  However,
> after some years of messing around in multiprotocol
> environments, I've come to the conclusion that those
> dudes who settled on advisory locking in NFS v2 and v3
> were pretty darn smart.  There are few things more
> annoying than a client that obtains a mandatory lock
> and then goes off into the weeds.
> 
>    As a noncombatant on this list, my opinion doesn't
> count for much, but personally, I'd view a comprehensive 
> solution to that problem a lot more favorably than 
> "really mandatory locking".  
> 
>    Besides, wouldn't a server that implemented really 
> mandatory locking break just about every utility program 
> in the known world?  Do du, cp, mv, dd, more, dos copy and 
> all their thousand brethren all obtain mandatory locks before 
> writing/reading?  Wouldn't the client and server have to 
> negotiate the behavior (and hide it from programs) to get 
> around this problem?
> 
> Alan
> 
> ===============================================================
> Alan G. Yoder                                    agy@netapp.com
> Technical Staff                           
> Network Appliance, Inc.                            408-822-6919
> =============================================================== 
> 
> > -----Original Message-----
> > From: Stevan Steve Allen [mailto:scallen@us.ibm.com]
> > Sent: Tuesday, June 03, 2003 11:46 PM
> > To: nfsv4-wg@sunroof.eng.sun.com
> > Subject: Benefits of Mandatory Locking
> > 
> > 
> > 
> > 
> > 
> > Given the following mandatory locking scenario using magic 
> > stateid's, I'm
> > having difficulty listing any claims or benefits the 
> mandatory locking
> > model provides which the advisory model does not.
> > 
> > 1. Appl 1 issues a large write
> > 2. Large range is broken into two RPCs
> > 3. 1st half of write is sent to the server with a zero stateid
> > 4. No lock conflicts, partial write is successful and completes
> > 
> > 5. Appl 2 successfully locks the entire range of Appl 1's write
> > 6. Appl 2 successfully writes entire range overlaying Appl 1 
> > partial write
> > 7. Appl 2 releases associated lock
> > 
> > 8. 2nd half of Appl 1 write is sent to the server with zero stateid
> > 9. No lock conflicts, partial write overlays Appl 2 change
> > 
> > If the above scenario describes writing an image file, the resulting
> > picture can be described as a mans head on a ducks body.
> > 
> > To ask the question in another way,  could an advisory 
> > locking server using
> > ACLs to limit access to trusted applications provide the same 
> > benefits as
> > an mandatory locking server?  If not, what is missing?
> > 
> > 
> > On a different topic....  Someone once said unless a lock 
> conflict is
> > detected and nfs4err_locked is returned, the NFS client and client
> > application will not be aware that a mandatory or advisory locking
> > environment is in effect.  e.g. the application can perform all it's
> > operations and end successfully without ever knowing.  Given 
> > this, I assume
> > any application written to handle the mandatory locking error 
> > will also run
> > unknowingly and unaffected in an advisory locking environment.  e.g.
> > mandatory applications have no problems with advisory servers.
> > 
> > 
> > Thanks,
> > Stevan C. Allen
> > 
> > 
> 


--XWOWbaMNXpFDWE00
Content-Type: message/rfc822
Content-Disposition: inline

Return-Path: <owner-nfsv4-wg@sunroof.eng.sun.com>
Received: from engmail2sun.Eng.Sun.COM (engmail2sun.Eng.Sun.COM [129.144.134.19])
	by jurassic.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h55K2B6J302603;
	Thu, 5 Jun 2003 13:02:11 -0700 (PDT)
Received: from sunroof.eng.sun.com (sunroof.SFBay.Sun.COM [129.146.168.88])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h55K1Wuc015217;
	Thu, 5 Jun 2003 13:01:32 -0700 (PDT)
Received: from sunroof.eng.sun.com (localhost [127.0.0.1])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h55K32TX024198
	for <nfsv4-wg-dist@sunroof.eng.sun.com>; Thu, 5 Jun 2003 13:03:02 -0700 (PDT)
Received: (from majordomo@localhost)
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0/Submit) id h55K32Sx024197
	for nfsv4-wg-dist; Thu, 5 Jun 2003 13:03:02 -0700 (PDT)
Received: from engmail2sun.Eng.Sun.COM (engmail2sun [129.144.134.19])
	by sunroof.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h55K2xTX024190
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 13:02:59 -0700 (PDT)
Received: from nwkea-mail-1.sun.com ([192.18.42.13])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h55K1Guc014945
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 13:01:16 -0700 (PDT)
Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.133])
	by nwkea-mail-1.sun.com (8.12.9/8.12.9) with ESMTP id h55K1A4Z021231
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 13:01:10 -0700 (PDT)
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e35.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h55K182R264194
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 16:01:09 -0400
Received: from d03nm113.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h55K0tOI088498
	for <nfsv4-wg@sunroof.eng.sun.com>; Thu, 5 Jun 2003 14:00:56 -0600
Subject: Re: Benefits of Mandatory Locking
To: nfsv4-wg@sunroof.eng.sun.com
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OFE1D23C08.AB241A49-ON87256D3C.006DC028-88256D3C.006E1506@us.ibm.com>
From: Stevan Steve Allen <scallen@us.ibm.com>
Date: Thu, 5 Jun 2003 13:00:58 -0700
X-MIMETrack: Serialize by Router on D03NM113/03/M/IBM(Release 6.0.1 [IBM]|May 27, 2003) at
 06/05/2003 14:00:55
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: owner-nfsv4-wg@sunroof.eng.sun.com
Precedence: bulk
List-Archive: </var/mail/nfsv4-wg.archive/>
List-Owner: <mailto:owner-nfsv4-wg@sunroof.eng.sun.com>
List-Subscribe: <mailto:majordomo@sunroof.eng.sun.com?body=subscribe>
List-Unsubscribe: <mailto:majordomo@sunroof.eng.sun.com?body=unsubscribe>




Misdirected email, re-posting on forum.

David Robinson wrote:
|Stevan Steve Allen wrote:
|> To limit my initial topic..  Given a different mandatory environment
where
|> the server is a core Unix (not Windows), and data consistency is "not"
|> enforced, and non lockers using special stateid's are allowed as defined
in
|> the draft, I do not see a server claim or benefit being provided by
|> implementing the mandatory locking model  "with" special stateid's that
an
|> advisory locking model can not provide.  It seems the only servers which
|> benefit from mandatory locking is Windows & some Posix implementations
|> which require data integrity.
|>
|> I don't see any of the core Unix base platforms you mentioned will
benefit
|> from these two locking decisions and suspect they will not implement
|> mandatory locking based on these decisions.  If they do, I would still
|> setup advisory locking for performance without fear of loosing any
ability
|> or compatibility concerns.  Basically, if your going to allow magic
|> stateid's I don't see any benefits.
|
|Pretty much most Unix implementations have no use for mandatory
|locking and we will see how widely it is implemented. It has
|nasty implications when something leaves a mandatory write lock
|on a file such as /etc/passwd causing a massive denial of
|service.  Conversely, without mandatory locking an interesting
|number of Windows applications will be unsupportable, magic stateids
|were the hack to bridge the gap.


Are you describing a Windows server implementation to support Unix clients,
or Unix server implementations to support windows clients? Or both?  I
suspect the first one due to the recent discussion.

Regarding a server allowing magic stateid's on write
i.e. implementing lock contention rules outlined in the draft:

The following illustrates the dilemma of dedicating effort to mandatory
locking.

Lets pretend we both provide NFS server products for the same unix platform
whose kernel does not enforce data consistency.  If one product provided
mandatory locking where they enabled reorder detection by not allowing
magic stateid's, the product could claim a benefit over an advisory only
product.  But if a Unix NFS server product claims to support mandatory
locking, and magic stateid's, the product would not be able to claim any
benefits to persuade customers not to migrate to a competitive advisory
only product.

The issue is, I see no benefits of allowing magic write stateid's as
described in the draft on a unix server.  If a Unix server product allows
magic writes, they can not claim any solution benefits over competing NFS
server products which are advisory only.

Please prove me wrong.

-Steve






--XWOWbaMNXpFDWE00--
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Thu Jun  5 22:56:18 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA26325
	for <nfsv4-archive@odin.ietf.org>; Thu, 5 Jun 2003 22:56:17 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h562tra02101
	for nfsv4-archive@odin.ietf.org; Thu, 5 Jun 2003 22:55:53 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h562trB02098
	for <nfsv4-web-archive@optimus.ietf.org>; Thu, 5 Jun 2003 22:55:53 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA26294
	for <nfsv4-web-archive@ietf.org>; Thu, 5 Jun 2003 22:55:47 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19O7MZ-0005d3-00
	for nfsv4-web-archive@ietf.org; Thu, 05 Jun 2003 22:53:55 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19O7MY-0005cz-00
	for nfsv4-web-archive@ietf.org; Thu, 05 Jun 2003 22:53:54 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h562tiB02088;
	Thu, 5 Jun 2003 22:55:44 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h562oEB01891
	for <nfsv4@optimus.ietf.org>; Thu, 5 Jun 2003 22:50:14 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA26219
	for <nfsv4@ietf.org>; Thu, 5 Jun 2003 22:50:08 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19O7H6-0005b9-00
	for nfsv4@ietf.org; Thu, 05 Jun 2003 22:48:16 -0400
Received: from nwkea-mail-2.sun.com ([192.18.42.14])
	by ietf-mx with esmtp (Exim 4.12)
	id 19O7H5-0005ax-00
	for nfsv4@ietf.org; Thu, 05 Jun 2003 22:48:15 -0400
Received: from engmail1mpk.Eng.Sun.COM ([129.146.1.45])
	by nwkea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h562nbLv012486
	for <nfsv4@ietf.org>; Thu, 5 Jun 2003 19:49:37 -0700 (PDT)
Received: from shepler.eng.sun.com (vpn-129-150-16-161.SFBay.Sun.COM [129.150.16.161])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h562naNh022178
	for <nfsv4@ietf.org>; Thu, 5 Jun 2003 19:49:36 -0700 (PDT)
Received: from shepler.eng.sun.com (localhost [127.0.0.1])
	by shepler.eng.sun.com (8.12.9+Sun/8.12.9) with ESMTP id h562nUgH101864
	for <nfsv4@ietf.org>; Thu, 5 Jun 2003 21:49:31 -0500 (CDT)
Received: (from shepler@localhost)
	by shepler.eng.sun.com (8.12.9+Sun/8.12.9/Submit) id h562nUae101863
	for nfsv4@ietf.org; Thu, 5 Jun 2003 21:49:30 -0500 (CDT)
From: Spencer Shepler <spencer.shepler@sun.com>
To: nfsv4@ietf.org
Message-ID: <20030606024929.GZ100740@shepler.central.sun.com>
Reply-To: spencer.shepler@sun.com
Mail-Followup-To: Spencer Shepler <spencer.shepler@sun.com>, nfsv4@ietf.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Subject: [nfsv4] Poll for NFSv4 WG meeting in Vienna
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Thu, 5 Jun 2003 21:49:30 -0500
Date: Thu, 5 Jun 2003 21:49:30 -0500


I have been asked by the working group co-chairs to poll the NFSv4 WG
about the potential attendee list for the Vienna meeting.

We are attempting to determine if there will be a critical mass of
attendees to for a valuable meeting.

Please let me know by Tuesday, June 10th, if you plan to attend if a
NFSv4 WG were to be held in Vienna.

-- 
Spencer

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Mon Jun  9 17:10:08 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA21534
	for <nfsv4-archive@odin.ietf.org>; Mon, 9 Jun 2003 17:10:08 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h59L9gD05494
	for nfsv4-archive@odin.ietf.org; Mon, 9 Jun 2003 17:09:42 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h59L9gB05491
	for <nfsv4-web-archive@optimus.ietf.org>; Mon, 9 Jun 2003 17:09:42 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA21507
	for <nfsv4-web-archive@ietf.org>; Mon, 9 Jun 2003 17:09:37 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19PTre-00078J-00
	for nfsv4-web-archive@ietf.org; Mon, 09 Jun 2003 17:07:38 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19PTrd-00078F-00
	for nfsv4-web-archive@ietf.org; Mon, 09 Jun 2003 17:07:37 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h59L9FB05419;
	Mon, 9 Jun 2003 17:09:15 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h59L2nB04348
	for <nfsv4@optimus.ietf.org>; Mon, 9 Jun 2003 17:02:49 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA21436
	for <nfsv4@ietf.org>; Mon, 9 Jun 2003 17:02:45 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19PTkz-000779-00
	for nfsv4@ietf.org; Mon, 09 Jun 2003 17:00:45 -0400
Received: from brmea-mail-2.sun.com ([192.18.98.43])
	by ietf-mx with esmtp (Exim 4.12)
	id 19PTky-000775-00
	for nfsv4@ietf.org; Mon, 09 Jun 2003 17:00:44 -0400
Received: from jurassic.eng.sun.com ([129.146.17.55])
	by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h59L2iYU020109;
	Mon, 9 Jun 2003 15:02:44 -0600 (MDT)
Received: from peyto (vpn-129-147-152-90.Central.Sun.COM [129.147.152.90])
	by jurassic.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with SMTP id h59L2g6K259851;
	Mon, 9 Jun 2003 14:02:43 -0700 (PDT)
From: Robert Thurlow <Robert.Thurlow@eng.sun.com>
Reply-To: Robert Thurlow <Robert.Thurlow@eng.sun.com>
Subject: Re: [nfsv4] WG last call requested on draft-ietf-nfsv4-rfc1832bis-01.txt
To: nfsv4@ietf.org
Cc: Mike Eisler <mike@eisler.com>
In-Reply-To: "Your message with ID" <200306011501.h51F1pPs023216@eagle.webpros.com>
Message-ID: <Roam.SIMC.2.0.6.1055192557.27073.thurlow@jurassic.eng>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Mon, 9 Jun 2003 15:02:37 -0600 (MDT)
Date: Mon, 9 Jun 2003 15:02:37 -0600 (MDT)

> Please issue a working group last call on this document, so that it
> may be submitted to IESG as a full Standard.

Thanks, Mike; we agree this is ready for WG last call.

Working group last call starts today, June 9 2003, and will
end June 23, 2003 (two weeks from today).

The I-D contains minor edits to RFC1832 to permit advancement,
including splitting out normative/informative references
and noting IANA considerations.  Please review this and
send any comments to the WG alias.

Rob T

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Tue Jun 10 17:45:21 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA19388
	for <nfsv4-archive@odin.ietf.org>; Tue, 10 Jun 2003 17:45:21 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5ALiuJ30206
	for nfsv4-archive@odin.ietf.org; Tue, 10 Jun 2003 17:44:56 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5ALiuB30203
	for <nfsv4-web-archive@optimus.ietf.org>; Tue, 10 Jun 2003 17:44:56 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA19379
	for <nfsv4-web-archive@ietf.org>; Tue, 10 Jun 2003 17:44:50 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19PqtE-0002UT-00
	for nfsv4-web-archive@ietf.org; Tue, 10 Jun 2003 17:42:49 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19PqtE-0002UP-00
	for nfsv4-web-archive@ietf.org; Tue, 10 Jun 2003 17:42:48 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5ALiEB30166;
	Tue, 10 Jun 2003 17:44:14 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5ALWXB28884
	for <nfsv4@optimus.ietf.org>; Tue, 10 Jun 2003 17:32:33 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA18981
	for <nfsv4@ietf.org>; Tue, 10 Jun 2003 17:32:28 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19PqhG-0002NG-00
	for nfsv4@ietf.org; Tue, 10 Jun 2003 17:30:26 -0400
Received: from mx01.netapp.com ([198.95.226.53])
	by ietf-mx with esmtp (Exim 4.12)
	id 19PqhF-0002N8-00
	for nfsv4@ietf.org; Tue, 10 Jun 2003 17:30:25 -0400
Received: from frejya.corp.netapp.com (frejya [10.10.20.91])
	by mx01.netapp.com (8.12.9/8.12.9/NTAP-1.4) with ESMTP id h5ALVwJo029823
	for <nfsv4@ietf.org>; Tue, 10 Jun 2003 14:31:58 -0700 (PDT)
Received: from orbit-fe.eng.netapp.com (orbit-fe.eng.netapp.com [10.56.10.113])
	by frejya.corp.netapp.com (8.12.9/8.12.9/NTAP-1.5) with ESMTP id h5ALVwtf018288
	for <nfsv4@ietf.org>; Tue, 10 Jun 2003 14:31:58 -0700 (PDT)
Received: (from beepy@localhost)
	by orbit-fe.eng.netapp.com (8.11.6+Sun/8.11.6) id h5ALVvk09865
	for nfsv4@ietf.org; Tue, 10 Jun 2003 14:31:57 -0700 (PDT)
From: Brian Pawlowski <beepy@netapp.com>
Message-Id: <200306102131.h5ALVvk09865@orbit-fe.eng.netapp.com>
To: nfsv4@ietf.org
X-Mailer: ELM [version 2.4ME++ PL40 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Subject: [nfsv4] Draft minutes and presentations from interim meeting for review
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 10 Jun 2003 14:31:57 -0700 (PDT)
Date: Tue, 10 Jun 2003 14:31:57 -0700 (PDT)
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

http://www.beepy.com/20030604-ietf/minutes.html

Hopefully the notes make sense when considered with the slides.

Will move to get these posted on IETF site.

beepy
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Tue Jun 10 20:11:25 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA23651
	for <nfsv4-archive@odin.ietf.org>; Tue, 10 Jun 2003 20:11:25 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5B0AvG07256
	for nfsv4-archive@odin.ietf.org; Tue, 10 Jun 2003 20:10:57 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5B0AvB07253
	for <nfsv4-web-archive@optimus.ietf.org>; Tue, 10 Jun 2003 20:10:57 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA23626
	for <nfsv4-web-archive@ietf.org>; Tue, 10 Jun 2003 20:10:54 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19PtAZ-0003Kz-00
	for nfsv4-web-archive@ietf.org; Tue, 10 Jun 2003 20:08:51 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19PtAY-0003Kw-00
	for nfsv4-web-archive@ietf.org; Tue, 10 Jun 2003 20:08:50 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5B0ANB07225;
	Tue, 10 Jun 2003 20:10:23 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5B07FB06744
	for <nfsv4@optimus.ietf.org>; Tue, 10 Jun 2003 20:07:15 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA23515
	for <nfsv4@ietf.org>; Tue, 10 Jun 2003 20:07:13 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Pt6z-0003JG-00
	for nfsv4@ietf.org; Tue, 10 Jun 2003 20:05:09 -0400
Received: from brmea-mail-2.sun.com ([192.18.98.43])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Pt6y-0003JA-00
	for nfsv4@ietf.org; Tue, 10 Jun 2003 20:05:08 -0400
Received: from centralmail2brm.Central.Sun.COM ([129.147.62.14])
	by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h5B079YU027905
	for <nfsv4@ietf.org>; Tue, 10 Jun 2003 18:07:09 -0600 (MDT)
Received: from dhcp-uaus08-128-191.Central.Sun.COM (dhcp-uaus08-128-191.Central.Sun.COM [129.153.128.191])
	by centralmail2brm.Central.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h5B079uP028578
	for <nfsv4@ietf.org>; Tue, 10 Jun 2003 18:07:09 -0600 (MDT)
Received: from dhcp-uaus08-128-191.Central.Sun.COM (localhost [127.0.0.1])
	by dhcp-uaus08-128-191.Central.Sun.COM (8.12.9+Sun/8.12.9) with ESMTP id h5B09W6I008794
	for <nfsv4@ietf.org>; Tue, 10 Jun 2003 19:09:32 -0500 (CDT)
Received: (from shepler@localhost)
	by dhcp-uaus08-128-191.Central.Sun.COM (8.12.9+Sun/8.12.9/Submit) id h5B09Wfq008793
	for nfsv4@ietf.org; Tue, 10 Jun 2003 19:09:32 -0500 (CDT)
From: Spencer Shepler <spencer.shepler@sun.com>
To: nfsv4@ietf.org
Message-ID: <20030611000932.GB8747@dhcp-uaus08-128-191.Central.Sun.COM>
Reply-To: spencer.shepler@sun.com
Mail-Followup-To: Spencer Shepler <spencer.shepler@sun.com>, nfsv4@ietf.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Subject: [nfsv4] Next NFSv4 bakeathon (Oct 20-24, 2003)
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 10 Jun 2003 19:09:32 -0500
Date: Tue, 10 Jun 2003 19:09:32 -0500


Now that we have just finished one bakeathon it is time to start
planning for the next one. :-)

Sun will be hosting the next bakeathon in Austin, Texas the week of
Oct 20th.  If you happen to know you will be attending at this point,
please let me know.  Obviously, I will be posting again in the future
as a reminder.

-- 
Spencer

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Wed Jun 11 07:33:29 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA03267
	for <nfsv4-archive@odin.ietf.org>; Wed, 11 Jun 2003 07:33:28 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5BBX0r30601
	for nfsv4-archive@odin.ietf.org; Wed, 11 Jun 2003 07:33:00 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5BBX0B30598
	for <nfsv4-web-archive@optimus.ietf.org>; Wed, 11 Jun 2003 07:33:00 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id HAA03256
	for <nfsv4-web-archive@ietf.org>; Wed, 11 Jun 2003 07:32:58 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Q3oc-0006lI-00
	for nfsv4-web-archive@ietf.org; Wed, 11 Jun 2003 07:30:54 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19Q3ob-0006lF-00
	for nfsv4-web-archive@ietf.org; Wed, 11 Jun 2003 07:30:53 -0400
Received: from www1.ietf.org (localhost.localdomain [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5BBWPB30588;
	Wed, 11 Jun 2003 07:32:25 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5B3VIB20153
	for <nfsv4@optimus.ietf.org>; Tue, 10 Jun 2003 23:31:18 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id XAA28038
	for <nfsv4@ietf.org>; Tue, 10 Jun 2003 23:31:16 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19PwIT-0004Lm-00
	for nfsv4@ietf.org; Tue, 10 Jun 2003 23:29:13 -0400
Received: from mx01.netapp.com ([198.95.226.53])
	by ietf-mx with esmtp (Exim 4.12)
	id 19PwIS-0004LZ-00
	for nfsv4@ietf.org; Tue, 10 Jun 2003 23:29:13 -0400
Received: from frejya.corp.netapp.com (frejya [10.10.20.91])
	by mx01.netapp.com (8.12.9/8.12.9/NTAP-1.4) with ESMTP id h5B3UkJo023920
	for <nfsv4@ietf.org>; Tue, 10 Jun 2003 20:30:46 -0700 (PDT)
Received: from orbit-fe.eng.netapp.com (orbit-fe.eng.netapp.com [10.56.10.113])
	by frejya.corp.netapp.com (8.12.9/8.12.9/NTAP-1.5) with ESMTP id h5B3Ujtf023959;
	Tue, 10 Jun 2003 20:30:45 -0700 (PDT)
Received: (from beepy@localhost)
	by orbit-fe.eng.netapp.com (8.11.6+Sun/8.11.6) id h5B3Uj720405;
	Tue, 10 Jun 2003 20:30:45 -0700 (PDT)
From: Brian Pawlowski <beepy@netapp.com>
Message-Id: <200306110330.h5B3Uj720405@orbit-fe.eng.netapp.com>
Subject: Re: [nfsv4] Draft minutes and presentations from interim meeting for review
In-Reply-To: <200306102131.h5ALVvk09865@orbit-fe.eng.netapp.com> from Brian Pawlowski at "Jun 10, 3 02:31:57 pm"
To: beepy@netapp.com (Brian Pawlowski)
Cc: nfsv4@ietf.org
X-Mailer: ELM [version 2.4ME++ PL40 (25)]
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 10 Jun 2003 20:30:45 -0700 (PDT)
Date: Tue, 10 Jun 2003 20:30:45 -0700 (PDT)
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

So, I was misunderstood.

The slides are posted and link from the web page below. Enjoy.

> http://www.beepy.com/20030604-ietf/minutes.html
> 
> Hopefully the notes make sense when considered with the slides.
> 
> Will move to get these posted on IETF site.
> 
> beepy
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www1.ietf.org/mailman/listinfo/nfsv4

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From mailnull@www1.ietf.org  Mon Jun 16 17:48:31 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA04129
	for <nfsv4-archive@odin.ietf.org>; Mon, 16 Jun 2003 17:48:31 -0400 (EDT)
Received: (from mailnull@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5GLm4i07754
	for nfsv4-archive@odin.ietf.org; Mon, 16 Jun 2003 17:48:04 -0400
Received: from ietf.org (lists.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5GLm4m07751
	for <nfsv4-web-archive@optimus.ietf.org>; Mon, 16 Jun 2003 17:48:04 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA04101
	for <nfsv4-web-archive@ietf.org>; Mon, 16 Jun 2003 17:48:01 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19S1nP-0007IB-00
	for nfsv4-web-archive@ietf.org; Mon, 16 Jun 2003 17:45:47 -0400
Received: from ietf.org ([132.151.1.19] helo=www1.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19S1nO-0007I7-00
	for nfsv4-web-archive@ietf.org; Mon, 16 Jun 2003 17:45:46 -0400
Received: from www1.ietf.org (a.mx.viagraonlinenow.biz [127.0.0.1])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5GIn1a26342;
	Mon, 16 Jun 2003 14:49:01 -0400
Received: from ietf.org (odin.ietf.org [132.151.1.176])
	by www1.ietf.org (8.11.6/8.11.6) with ESMTP id h5GImHm26305
	for <nfsv4@optimus.ietf.org>; Mon, 16 Jun 2003 14:48:17 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA25154
	for <nfsv4@ietf.org>; Mon, 16 Jun 2003 14:48:14 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19RyzP-00059J-00
	for nfsv4@ietf.org; Mon, 16 Jun 2003 14:45:59 -0400
Received: from nwkea-mail-1.sun.com ([192.18.42.13])
	by ietf-mx with esmtp (Exim 4.12)
	id 19RyzO-000593-00
	for nfsv4@ietf.org; Mon, 16 Jun 2003 14:45:58 -0400
Received: from jurassic.eng.sun.com ([129.146.17.55])
	by nwkea-mail-1.sun.com (8.12.9/8.12.9) with ESMTP id h5GIlf4Z009372
	for <nfsv4@ietf.org>; Mon, 16 Jun 2003 11:47:41 -0700 (PDT)
Received: from peyto (vpn-129-147-154-218.Central.Sun.COM [129.147.154.218])
	by jurassic.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with SMTP id h5GIleqQ309479;
	Mon, 16 Jun 2003 11:47:41 -0700 (PDT)
From: Robert Thurlow <Robert.Thurlow@eng.sun.com>
Reply-To: Robert Thurlow <Robert.Thurlow@eng.sun.com>
To: nfsv4@ietf.org
Message-ID: <Roam.SIMC.2.0.6.1055789251.2670.thurlow@jurassic.eng>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII
Subject: [nfsv4] NFSv4 working group co-chair change
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Mon, 16 Jun 2003 12:47:31 -0600 (MDT)
Date: Mon, 16 Jun 2003 12:47:31 -0600 (MDT)

Greetings, all:

With regrets, I will be stepping down as co-chair of
the WG.  I am finding the travel required as co-chair
to be difficult, and think I can make a greater overall
contribution to NFS and related technologies in other
ways.  I'm not going far, and will continue working on
NFS.

In discussions with Brian and the Area Directors, we have
agreed on the new leadership.  Brian Pawlowski will remain
our founding co-chair, and Spencer Shepler, our long-time
document editor, will replace me as WG co-chair.  He is
eminently well-qualified, as everyone on the list knows.
I wish Spencer success in this new role.

Rob T

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Fri Jun 20 22:52:41 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA17791
	for <nfsv4-archive@odin.ietf.org>; Fri, 20 Jun 2003 22:52:41 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5L2qEI30724
	for nfsv4-archive@odin.ietf.org; Fri, 20 Jun 2003 22:52:14 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19TYU9-0007zS-Jk
	for nfsv4-web-archive@optimus.ietf.org; Fri, 20 Jun 2003 22:52:13 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA17788
	for <nfsv4-web-archive@ietf.org>; Fri, 20 Jun 2003 22:52:09 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19TYU6-000592-00
	for nfsv4-web-archive@ietf.org; Fri, 20 Jun 2003 22:52:10 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19TYU5-00058y-00
	for nfsv4-web-archive@ietf.org; Fri, 20 Jun 2003 22:52:09 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19TYTx-0007yZ-9H; Fri, 20 Jun 2003 22:52:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19TYTd-0007yH-9K
	for nfsv4@optimus.ietf.org; Fri, 20 Jun 2003 22:51:41 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id WAA17764
	for <nfsv4@ietf.org>; Fri, 20 Jun 2003 22:51:36 -0400 (EDT)
From: rick@snowhite.cis.uoguelph.ca
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19TYTZ-00058Q-00
	for nfsv4@ietf.org; Fri, 20 Jun 2003 22:51:37 -0400
Received: from snowhite.cis.uoguelph.ca ([131.104.48.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19TYTY-00058F-00
	for nfsv4@ietf.org; Fri, 20 Jun 2003 22:51:36 -0400
Received: (from rick@localhost)
	by snowhite.cis.uoguelph.ca (8.9.3/8.9.3) id WAA26142
	for nfsv4@ietf.org; Fri, 20 Jun 2003 22:53:13 -0400 (EDT)
Message-Id: <200306210253.WAA26142@snowhite.cis.uoguelph.ca>
To: nfsv4@ietf.org
Subject: [nfsv4] mandatory locking attributes?
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Fri, 20 Jun 2003 22:53:13 -0400 (EDT)
Date: Fri, 20 Jun 2003 22:53:13 -0400 (EDT)

Just a thought loosely related to the discussion w.r.t. mandatory locking.

It might be nice to add a couple of file attributes to a future rev of
the protocol:
- a read-only boolean indicating if mandatory locking is being provided
  for a file
- a write-only attribute that enables/disables mandatory locking for a
  file (This could be problematic if locks are on the file at the time
  the attribute is set, but it could be specified that it return
  NFSERR_LOCKED if there are any current locks on the file?)

Anyhow, just a thought, rick

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Sat Jun 21 16:34:33 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA15008
	for <nfsv4-archive@odin.ietf.org>; Sat, 21 Jun 2003 16:34:33 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5LKY6f00369
	for nfsv4-archive@odin.ietf.org; Sat, 21 Jun 2003 16:34:06 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Tp3l-00005s-Uu
	for nfsv4-web-archive@optimus.ietf.org; Sat, 21 Jun 2003 16:34:05 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA14987
	for <nfsv4-web-archive@ietf.org>; Sat, 21 Jun 2003 16:34:02 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Tp3k-0000vK-00
	for nfsv4-web-archive@ietf.org; Sat, 21 Jun 2003 16:34:04 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19Tp3j-0000vH-00
	for nfsv4-web-archive@ietf.org; Sat, 21 Jun 2003 16:34:03 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Tp3h-00005b-BP; Sat, 21 Jun 2003 16:34:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Tp2l-00005K-Df
	for nfsv4@optimus.ietf.org; Sat, 21 Jun 2003 16:33:03 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA14973
	for <nfsv4@ietf.org>; Sat, 21 Jun 2003 16:33:00 -0400 (EDT)
From: rick@snowhite.cis.uoguelph.ca
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Tp2j-0000v9-00
	for nfsv4@ietf.org; Sat, 21 Jun 2003 16:33:01 -0400
Received: from snowhite.cis.uoguelph.ca ([131.104.48.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Tp2i-0000v6-00
	for nfsv4@ietf.org; Sat, 21 Jun 2003 16:33:00 -0400
Received: (from rick@localhost)
	by snowhite.cis.uoguelph.ca (8.9.3/8.9.3) id QAA10308
	for nfsv4@ietf.org; Sat, 21 Jun 2003 16:34:29 -0400 (EDT)
Message-Id: <200306212034.QAA10308@snowhite.cis.uoguelph.ca>
To: nfsv4@ietf.org
Subject: [nfsv4] rfc3530 clarification
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Sat, 21 Jun 2003 16:34:29 -0400 (EDT)
Date: Sat, 21 Jun 2003 16:34:29 -0400 (EDT)

The first time I read this I assumed that, since it said "in UNIX", that
it was simply FYI, but now that I see it says "must" in it, I'm not so
sure.


   Note that in UNIX, if a file has the MODE4_SGID bit set and no
   MODE4_XGRP bit set, then READ and WRITE must use mandatory file
   locking.

Does this mean that an NFS V4 server should/must obey this convention?

How widely adopted is this tradition?

Thanks in advance for any help, rick
ps: If required, it kind of supersedes my previous email, although an
    attribute that indicates that a file server uses mandatory locking
    for all files, might still be nice?

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Sat Jun 21 17:59:29 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA16364
	for <nfsv4-archive@odin.ietf.org>; Sat, 21 Jun 2003 17:59:29 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5LLx3e09220
	for nfsv4-archive@odin.ietf.org; Sat, 21 Jun 2003 17:59:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19TqNz-0002Od-A0
	for nfsv4-web-archive@optimus.ietf.org; Sat, 21 Jun 2003 17:59:03 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA16353
	for <nfsv4-web-archive@ietf.org>; Sat, 21 Jun 2003 17:58:59 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19TqNw-0001GB-00
	for nfsv4-web-archive@ietf.org; Sat, 21 Jun 2003 17:59:00 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19TqNw-0001G8-00
	for nfsv4-web-archive@ietf.org; Sat, 21 Jun 2003 17:59:00 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19TqNx-0002Nl-4z; Sat, 21 Jun 2003 17:59:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19TqN3-0002NN-KH
	for nfsv4@optimus.ietf.org; Sat, 21 Jun 2003 17:58:09 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA16340
	for <nfsv4@ietf.org>; Sat, 21 Jun 2003 17:58:01 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19TqN1-0001Ft-00
	for nfsv4@ietf.org; Sat, 21 Jun 2003 17:58:03 -0400
Received: from mx01.netapp.com ([198.95.226.53])
	by ietf-mx with esmtp (Exim 4.12)
	id 19TqN0-0001Fm-00
	for nfsv4@ietf.org; Sat, 21 Jun 2003 17:58:02 -0400
Received: from hawk.corp.netapp.com (hawk [10.10.20.101])
	by mx01.netapp.com (8.12.9/8.12.9/NTAP-1.4) with ESMTP id h5LLvQJo010486;
	Sat, 21 Jun 2003 14:57:26 -0700 (PDT)
Received: from svlexc01.hq.netapp.com (svlexc01.corp.netapp.com [10.10.22.171])
	by hawk.corp.netapp.com (8.12.9/8.12.9/NTAP-1.5) with ESMTP id h5LLvQmW022292;
	Sat, 21 Jun 2003 14:57:26 -0700 (PDT)
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C3383F.F85E11F3"
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: RE: [nfsv4] rfc3530 clarification
Message-ID: <C8CF60CFC4D8A74E9945E32CF096548A37942D@silver.nane.netapp.com>
Thread-Topic: [nfsv4] rfc3530 clarification
Thread-Index: AcM4NHt3ply/66XcS9a6H3A3MPEoKQACug/Q
From: "Noveck, Dave" <Dave.Noveck@netapp.com>
To: <rick@snowhite.cis.uoguelph.ca>, <nfsv4@ietf.org>
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Sat, 21 Jun 2003 14:56:29 -0700
Date: Sat, 21 Jun 2003 14:56:29 -0700

This is a multi-part message in MIME format.

------_=_NextPart_001_01C3383F.F85E11F3
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I still interpret it as FYI from the viewpoint of spec
compliance, but I can see that it might support a user's
claim that, if your server is UNIX, or you claim UNIX
suppport, you should do this. =20

-----Original Message-----
From: rick@snowhite.cis.uoguelph.ca
[mailto:rick@snowhite.cis.uoguelph.ca]
Sent: Saturday, June 21, 2003 4:34 PM
To: nfsv4@ietf.org
Subject: [nfsv4] rfc3530 clarification


The first time I read this I assumed that, since it said "in UNIX", that
it was simply FYI, but now that I see it says "must" in it, I'm not so
sure.


   Note that in UNIX, if a file has the MODE4_SGID bit set and no
   MODE4_XGRP bit set, then READ and WRITE must use mandatory file
   locking.

Does this mean that an NFS V4 server should/must obey this convention?

How widely adopted is this tradition?

Thanks in advance for any help, rick
ps: If required, it kind of supersedes my previous email, although an
    attribute that indicates that a file server uses mandatory locking
    for all files, might still be nice?

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4

------_=_NextPart_001_01C3383F.F85E11F3
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
6.0.6249.1">
<TITLE>RE: [nfsv4] rfc3530 clarification</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=3D2>I still interpret it as FYI from the viewpoint of =
spec</FONT>

<BR><FONT SIZE=3D2>compliance, but I can see that it might support a =
user's</FONT>

<BR><FONT SIZE=3D2>claim that, if your server is UNIX, or you claim =
UNIX</FONT>

<BR><FONT SIZE=3D2>suppport, you should do this.&nbsp; </FONT>
</P>

<P><FONT SIZE=3D2>-----Original Message-----</FONT>

<BR><FONT SIZE=3D2>From: rick@snowhite.cis.uoguelph.ca</FONT>

<BR><FONT SIZE=3D2>[<A =
HREF=3D"mailto:rick@snowhite.cis.uoguelph.ca">mailto:rick@snowhite.cis.uo=
guelph.ca</A>]</FONT>

<BR><FONT SIZE=3D2>Sent: Saturday, June 21, 2003 4:34 PM</FONT>

<BR><FONT SIZE=3D2>To: nfsv4@ietf.org</FONT>

<BR><FONT SIZE=3D2>Subject: [nfsv4] rfc3530 clarification</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>The first time I read this I assumed that, since it =
said &quot;in UNIX&quot;, that</FONT>

<BR><FONT SIZE=3D2>it was simply FYI, but now that I see it says =
&quot;must&quot; in it, I'm not so</FONT>

<BR><FONT SIZE=3D2>sure.</FONT>
</P>
<BR>

<P><FONT SIZE=3D2>&nbsp;&nbsp; Note that in UNIX, if a file has the =
MODE4_SGID bit set and no</FONT>

<BR><FONT SIZE=3D2>&nbsp;&nbsp; MODE4_XGRP bit set, then READ and WRITE =
must use mandatory file</FONT>

<BR><FONT SIZE=3D2>&nbsp;&nbsp; locking.</FONT>
</P>

<P><FONT SIZE=3D2>Does this mean that an NFS V4 server should/must obey =
this convention?</FONT>
</P>

<P><FONT SIZE=3D2>How widely adopted is this tradition?</FONT>
</P>

<P><FONT SIZE=3D2>Thanks in advance for any help, rick</FONT>

<BR><FONT SIZE=3D2>ps: If required, it kind of supersedes my previous =
email, although an</FONT>

<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; attribute that indicates that a =
file server uses mandatory locking</FONT>

<BR><FONT SIZE=3D2>&nbsp;&nbsp;&nbsp; for all files, might still be =
nice?</FONT>
</P>

<P><FONT SIZE=3D2>_______________________________________________</FONT>

<BR><FONT SIZE=3D2>nfsv4 mailing list</FONT>

<BR><FONT SIZE=3D2>nfsv4@ietf.org</FONT>

<BR><FONT SIZE=3D2><A =
HREF=3D"https://www1.ietf.org/mailman/listinfo/nfsv4">https://www1.ietf.o=
rg/mailman/listinfo/nfsv4</A></FONT>
</P>

</BODY>
</HTML>
------_=_NextPart_001_01C3383F.F85E11F3--

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Mon Jun 23 19:05:42 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA14637
	for <nfsv4-archive@odin.ietf.org>; Mon, 23 Jun 2003 19:05:42 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5NN5GO31318
	for nfsv4-archive@odin.ietf.org; Mon, 23 Jun 2003 19:05:16 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UaNA-000893-R2
	for nfsv4-web-archive@optimus.ietf.org; Mon, 23 Jun 2003 19:05:16 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA14629
	for <nfsv4-web-archive@ietf.org>; Mon, 23 Jun 2003 19:05:11 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UaN7-0006Rj-00
	for nfsv4-web-archive@ietf.org; Mon, 23 Jun 2003 19:05:13 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19UaN2-0006RY-00
	for nfsv4-web-archive@ietf.org; Mon, 23 Jun 2003 19:05:08 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UaMv-000886-5p; Mon, 23 Jun 2003 19:05:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UaMn-00087b-Uv
	for nfsv4@optimus.ietf.org; Mon, 23 Jun 2003 19:04:53 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id TAA14615
	for <nfsv4@ietf.org>; Mon, 23 Jun 2003 19:04:33 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UaMV-0006RD-00
	for nfsv4@ietf.org; Mon, 23 Jun 2003 19:04:35 -0400
Received: from brmea-mail-3.sun.com ([192.18.98.34])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UaMK-0006R6-00
	for nfsv4@ietf.org; Mon, 23 Jun 2003 19:04:25 -0400
Received: from centralmail2brm.Central.Sun.COM ([129.147.62.14])
	by brmea-mail-3.sun.com (8.12.9/8.12.9) with ESMTP id h5NN3xgr016366
	for <nfsv4@ietf.org>; Mon, 23 Jun 2003 17:03:59 -0600 (MDT)
Received: from dhcp-uaus08-128-193.Central.Sun.COM (dhcp-uaus08-128-193.Central.Sun.COM [129.153.128.193])
	by centralmail2brm.Central.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h5NN3wuP001005
	for <nfsv4@ietf.org>; Mon, 23 Jun 2003 17:03:58 -0600 (MDT)
Received: from dhcp-uaus08-128-193.Central.Sun.COM (localhost [127.0.0.1])
	by dhcp-uaus08-128-193.Central.Sun.COM (8.12.9+Sun/8.12.9) with ESMTP id h5NN3psY101243
	for <nfsv4@ietf.org>; Mon, 23 Jun 2003 18:03:51 -0500 (CDT)
Received: (from shepler@localhost)
	by dhcp-uaus08-128-193.Central.Sun.COM (8.12.9+Sun/8.12.9/Submit) id h5NN3pd3101242
	for nfsv4@ietf.org; Mon, 23 Jun 2003 18:03:51 -0500 (CDT)
From: Spencer Shepler <spencer.shepler@sun.com>
To: nfsv4@ietf.org
Subject: Re: [nfsv4] rfc3530 clarification
Message-ID: <20030623230350.GQ100744@dhcp-uaus08-128-193.central.sun.com>
Reply-To: spencer.shepler@sun.com
Mail-Followup-To: Spencer Shepler <spencer.shepler@sun.com>, nfsv4@ietf.org
References: <C8CF60CFC4D8A74E9945E32CF096548A37942D@silver.nane.netapp.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <C8CF60CFC4D8A74E9945E32CF096548A37942D@silver.nane.netapp.com>
User-Agent: Mutt/1.4i
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Mon, 23 Jun 2003 18:03:51 -0500
Date: Mon, 23 Jun 2003 18:03:51 -0500


The problem with this is that this "unix" may not be the same as that
"unix" in this or other respects.  This particular behavior is a Unix
SVID behavior and not a *BSD behavior.  I would consider it perfectly
reasonable for a *BSD NFSv4 server to not support the SGID/mandatory
file locking semantics.

This specific scenario points to the larger, long term issue of how
does an application determine the support available to it.  Even if
the application can determine it is operating on files via NFSv4, how
does it query for available support for this and other mechanisms
(e.g. ACL support).

While we have provided flexibility in the protocol for varying client
and server environments, we have not discussed the method of providing
capabilities between client/server/applications, etc.

In this specific case, the applications best choice is to use file
locking and assume it is advisory in nature.

Spencer

On Sat, Noveck, Dave wrote:
> I still interpret it as FYI from the viewpoint of spec
> compliance, but I can see that it might support a user's
> claim that, if your server is UNIX, or you claim UNIX
> suppport, you should do this.  
> 
> -----Original Message-----
> From: rick@snowhite.cis.uoguelph.ca
> [mailto:rick@snowhite.cis.uoguelph.ca]
> Sent: Saturday, June 21, 2003 4:34 PM
> To: nfsv4@ietf.org
> Subject: [nfsv4] rfc3530 clarification
> 
> 
> The first time I read this I assumed that, since it said "in UNIX", that
> it was simply FYI, but now that I see it says "must" in it, I'm not so
> sure.
> 
> 
>    Note that in UNIX, if a file has the MODE4_SGID bit set and no
>    MODE4_XGRP bit set, then READ and WRITE must use mandatory file
>    locking.
> 
> Does this mean that an NFS V4 server should/must obey this convention?
> 
> How widely adopted is this tradition?
> 
> Thanks in advance for any help, rick
> ps: If required, it kind of supersedes my previous email, although an
>     attribute that indicates that a file server uses mandatory locking
>     for all files, might still be nice?
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www1.ietf.org/mailman/listinfo/nfsv4

-- 
Spencer


_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Mon Jun 23 20:41:28 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA16514
	for <nfsv4-archive@odin.ietf.org>; Mon, 23 Jun 2003 20:41:28 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5O0f0808587
	for nfsv4-archive@odin.ietf.org; Mon, 23 Jun 2003 20:41:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Ubn6-0001u5-1y
	for nfsv4-web-archive@optimus.ietf.org; Mon, 23 Jun 2003 20:36:08 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA16303
	for <nfsv4-web-archive@ietf.org>; Mon, 23 Jun 2003 20:36:05 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Ubn3-0006rn-00
	for nfsv4-web-archive@ietf.org; Mon, 23 Jun 2003 20:36:05 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19Ubmy-0006rk-00
	for nfsv4-web-archive@ietf.org; Mon, 23 Jun 2003 20:36:00 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Ubmy-0001si-Km; Mon, 23 Jun 2003 20:36:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UbmJ-0001r8-NY
	for nfsv4@optimus.ietf.org; Mon, 23 Jun 2003 20:35:19 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA16275
	for <nfsv4@ietf.org>; Mon, 23 Jun 2003 20:35:17 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UbmH-0006rR-00
	for nfsv4@ietf.org; Mon, 23 Jun 2003 20:35:17 -0400
Received: from snipe.mail.pas.earthlink.net ([207.217.120.62])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Ublw-0006qu-00
	for nfsv4@ietf.org; Mon, 23 Jun 2003 20:34:56 -0400
Received: from user-38ldt9t.dialup.mindspring.com ([209.86.245.61] helo=earthlink.net)
	by snipe.mail.pas.earthlink.net with esmtp (Exim 3.33 #1)
	id 19UblD-0007OL-00; Mon, 23 Jun 2003 17:34:12 -0700
Message-ID: <3EF79AE9.57849D88@earthlink.net>
From: Erblichs <erblichs@earthlink.net>
X-Sender: "Erblichs" <@smtp.earthlink.net> (Unverified)
X-Mailer: Mozilla 4.72 [en]C-gatewaynet  (Win98; I)
X-Accept-Language: en
MIME-Version: 1.0
To: spencer.shepler@sun.com
CC: nfsv4@ietf.org
Subject: Re: [nfsv4] rfc3530 clarification
References: <C8CF60CFC4D8A74E9945E32CF096548A37942D@silver.nane.netapp.com> <20030623230350.GQ100744@dhcp-uaus08-128-193.central.sun.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Mon, 23 Jun 2003 17:27:21 -0700
Date: Mon, 23 Jun 2003 17:27:21 -0700
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

Grooup,

	Why not create use two behaviours that downgrades (mandatory
	to advisory) or upgrades (advisory to mandatory) behaviour
	based on some credentials field when accessing a file
	object or server support of mandatory locking?

	I would then think it would allowable for apps to assume
	mandatory locking.

	If their is a concern for legacy interoperability, then
	create new "calls" that "aware applications" can use and
	set a timeframe to obsolete the old interface.

	I thought this type of work was done in the past with NFSv3?

	Mitchell Erblich
	Sr Software Engineer

	------------------------

Spencer Shepler wrote:
> 
> The problem with this is that this "unix" may not be the same as that
> "unix" in this or other respects.  This particular behavior is a Unix
> SVID behavior and not a *BSD behavior.  I would consider it perfectly
> reasonable for a *BSD NFSv4 server to not support the SGID/mandatory
> file locking semantics.
> 
> This specific scenario points to the larger, long term issue of how
> does an application determine the support available to it.  Even if
> the application can determine it is operating on files via NFSv4, how
> does it query for available support for this and other mechanisms
> (e.g. ACL support).
> 
> While we have provided flexibility in the protocol for varying client
> and server environments, we have not discussed the method of providing
> capabilities between client/server/applications, etc.
> 
> In this specific case, the applications best choice is to use file
> locking and assume it is advisory in nature.
> 
> Spencer
> 
> On Sat, Noveck, Dave wrote:
> > I still interpret it as FYI from the viewpoint of spec
> > compliance, but I can see that it might support a user's
> > claim that, if your server is UNIX, or you claim UNIX
> > suppport, you should do this.
> >
> > -----Original Message-----
> > From: rick@snowhite.cis.uoguelph.ca
> > [mailto:rick@snowhite.cis.uoguelph.ca]
> > Sent: Saturday, June 21, 2003 4:34 PM
> > To: nfsv4@ietf.org
> > Subject: [nfsv4] rfc3530 clarification
> >
> >
> > The first time I read this I assumed that, since it said "in UNIX", that
> > it was simply FYI, but now that I see it says "must" in it, I'm not so
> > sure.
> >
> >
> >    Note that in UNIX, if a file has the MODE4_SGID bit set and no
> >    MODE4_XGRP bit set, then READ and WRITE must use mandatory file
> >    locking.
> >
> > Does this mean that an NFS V4 server should/must obey this convention?
> >
> > How widely adopted is this tradition?
> >
> > Thanks in advance for any help, rick
> > ps: If required, it kind of supersedes my previous email, although an
> >     attribute that indicates that a file server uses mandatory locking
> >     for all files, might still be nice?
> >
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www1.ietf.org/mailman/listinfo/nfsv4
> 
> --
> Spencer
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www1.ietf.org/mailman/listinfo/nfsv4

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Mon Jun 23 20:45:35 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA16568
	for <nfsv4-archive@odin.ietf.org>; Mon, 23 Jun 2003 20:45:35 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5O0j7708846
	for nfsv4-archive@odin.ietf.org; Mon, 23 Jun 2003 20:45:07 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Ubvn-0002Ib-HZ
	for nfsv4-web-archive@optimus.ietf.org; Mon, 23 Jun 2003 20:45:07 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA16559
	for <nfsv4-web-archive@ietf.org>; Mon, 23 Jun 2003 20:45:05 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Ubvl-0006vC-00
	for nfsv4-web-archive@ietf.org; Mon, 23 Jun 2003 20:45:05 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19Ubvf-0006v9-00
	for nfsv4-web-archive@ietf.org; Mon, 23 Jun 2003 20:44:59 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Ubvh-0002GK-EC; Mon, 23 Jun 2003 20:45:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UbvY-0002Fz-Lz
	for nfsv4@optimus.ietf.org; Mon, 23 Jun 2003 20:44:52 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA16553
	for <nfsv4@ietf.org>; Mon, 23 Jun 2003 20:44:50 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UbvW-0006v0-00
	for nfsv4@ietf.org; Mon, 23 Jun 2003 20:44:50 -0400
Received: from nwkea-mail-2.sun.com ([192.18.42.14])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UbvL-0006uj-00
	for nfsv4@ietf.org; Mon, 23 Jun 2003 20:44:39 -0400
Received: from centralmail1brm.Central.Sun.COM ([129.147.62.1])
	by nwkea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h5O0hHfU025905
	for <nfsv4@ietf.org>; Mon, 23 Jun 2003 17:43:17 -0700 (PDT)
Received: from dhcp-uaus08-128-193.Central.Sun.COM (dhcp-uaus08-128-193.Central.Sun.COM [129.153.128.193])
	by centralmail1brm.Central.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h5O0hHNg006701
	for <nfsv4@ietf.org>; Mon, 23 Jun 2003 18:43:17 -0600 (MDT)
Received: from dhcp-uaus08-128-193.Central.Sun.COM (localhost [127.0.0.1])
	by dhcp-uaus08-128-193.Central.Sun.COM (8.12.9+Sun/8.12.9) with ESMTP id h5O0hIsY101351
	for <nfsv4@ietf.org>; Mon, 23 Jun 2003 19:43:18 -0500 (CDT)
Received: (from shepler@localhost)
	by dhcp-uaus08-128-193.Central.Sun.COM (8.12.9+Sun/8.12.9/Submit) id h5O0hIrc101350
	for nfsv4@ietf.org; Mon, 23 Jun 2003 19:43:18 -0500 (CDT)
From: Spencer Shepler <spencer.shepler@sun.com>
To: nfsv4@ietf.org
Subject: Re: [nfsv4] rfc3530 clarification
Message-ID: <20030624004317.GA101339@dhcp-uaus08-128-193.central.sun.com>
Reply-To: spencer.shepler@sun.com
Mail-Followup-To: Spencer Shepler <spencer.shepler@sun.com>, nfsv4@ietf.org
References: <C8CF60CFC4D8A74E9945E32CF096548A37942D@silver.nane.netapp.com> <20030623230350.GQ100744@dhcp-uaus08-128-193.central.sun.com> <3EF79AE9.57849D88@earthlink.net>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <3EF79AE9.57849D88@earthlink.net>
User-Agent: Mutt/1.4i
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Mon, 23 Jun 2003 19:43:17 -0500
Date: Mon, 23 Jun 2003 19:43:17 -0500

On Mon, Erblichs wrote:
> Grooup,
> 
> 	Why not create use two behaviours that downgrades (mandatory
> 	to advisory) or upgrades (advisory to mandatory) behaviour
> 	based on some credentials field when accessing a file
> 	object or server support of mandatory locking?
> 
> 	I would then think it would allowable for apps to assume
> 	mandatory locking.

If there is consensus that mandatory file locking should be a
mandatory feature of the protocol, then this may work.

> 	If their is a concern for legacy interoperability, then
> 	create new "calls" that "aware applications" can use and
> 	set a timeframe to obsolete the old interface.

The main issue with this is the application's ability to obtain what
type of file system is being used and in this case what minor version
of NFSv4 is being used between client/server.  

All of this assumes that applications need/use file locking as a
method of file data access control and that they also require
mandatory file locking to keep our access that is not well behaved.

Spencer


_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Tue Jun 24 12:13:04 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA22058
	for <nfsv4-archive@odin.ietf.org>; Tue, 24 Jun 2003 12:13:04 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5OGCbS05096
	for nfsv4-archive@odin.ietf.org; Tue, 24 Jun 2003 12:12:37 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UqPN-0001K7-7P
	for nfsv4-web-archive@optimus.ietf.org; Tue, 24 Jun 2003 12:12:37 -0400
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA22044
	for <nfsv4-web-archive@ietf.org>; Tue, 24 Jun 2003 12:12:34 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UqOn-0001HT-Ex; Tue, 24 Jun 2003 12:12:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UqOF-0001Gu-0E
	for nfsv4@optimus.ietf.org; Tue, 24 Jun 2003 12:11:27 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA22000
	for <nfsv4@ietf.org>; Tue, 24 Jun 2003 12:11:09 -0400 (EDT)
From: rick@snowhite.cis.uoguelph.ca
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UqNy-0003zP-00
	for nfsv4@ietf.org; Tue, 24 Jun 2003 12:11:10 -0400
Received: from snowhite.cis.uoguelph.ca ([131.104.48.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UqNi-0003yB-00
	for nfsv4@ietf.org; Tue, 24 Jun 2003 12:10:54 -0400
Received: (from rick@localhost)
	by snowhite.cis.uoguelph.ca (8.9.3/8.9.3) id MAA04031
	for nfsv4@ietf.org; Tue, 24 Jun 2003 12:10:22 -0400 (EDT)
Message-Id: <200306241610.MAA04031@snowhite.cis.uoguelph.ca>
To: nfsv4@ietf.org
Subject: [nfsv4] more on mandatory vs advisory locking
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 24 Jun 2003 12:10:22 -0400 (EDT)
Date: Tue, 24 Jun 2003 12:10:22 -0400 (EDT)

Hi,

> The problem with this is that this "unix" may not be the same as that
> "unix" in this or other respects.  This particular behavior is a Unix
> SVID behavior and not a *BSD behavior.  I would consider it perfectly
> reasonable for a *BSD NFSv4 server to not support the SGID/mandatory
> file locking semantics.

Heh, heh. I had noticed that it was "Unix" and not "unix" in the spec. (I'm so
out of touch I've lost track of who holds the "Unix" licensing, somewhere after
Novell sold it to SCO... Is it now "Open..." that descended from OSF
and Unix International?)

Anyhow, back on topic, why I asked was that I was hoping that it would be widely
adopted as a method of controlling mandatory locking, maybe even to
the point where servers that don't support mandatory locking would
be strongly encouraged to not allow the setting of mode bits with
(MODE4_SGID set and MODE4_XGRP clear)?

Thanks for the help, rick
ps: My current server supports the SGID set + XGRP clear for individual
    files and an export flag for entire file systems for mandatory vs
    advisory. For a client to figure out if mandatory locking is enabled
    it has to do an Open, write lock as another lock_owner and then a
    Read to find out. Is there an easier way?

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Tue Jun 24 12:33:36 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA22858
	for <nfsv4-archive@odin.ietf.org>; Tue, 24 Jun 2003 12:33:36 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5OGX9W08021
	for nfsv4-archive@odin.ietf.org; Tue, 24 Jun 2003 12:33:09 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UqjF-00025I-Cm
	for nfsv4-web-archive@optimus.ietf.org; Tue, 24 Jun 2003 12:33:09 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA22833
	for <nfsv4-web-archive@ietf.org>; Tue, 24 Jun 2003 12:33:06 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UqjD-000486-00
	for nfsv4-web-archive@ietf.org; Tue, 24 Jun 2003 12:33:07 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19Uqj8-000483-00
	for nfsv4-web-archive@ietf.org; Tue, 24 Jun 2003 12:33:02 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Uqj7-000232-JX; Tue, 24 Jun 2003 12:33:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Uqiq-00022n-68
	for nfsv4@optimus.ietf.org; Tue, 24 Jun 2003 12:32:44 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA22824
	for <nfsv4@ietf.org>; Tue, 24 Jun 2003 12:32:40 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Uqio-00047m-00
	for nfsv4@ietf.org; Tue, 24 Jun 2003 12:32:42 -0400
Received: from mx01.netapp.com ([198.95.226.53])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Uqid-00047f-00
	for nfsv4@ietf.org; Tue, 24 Jun 2003 12:32:31 -0400
Received: from hawk.corp.netapp.com (hawk [10.10.20.101])
	by mx01.netapp.com (8.12.9/8.12.9/NTAP-1.4) with ESMTP id h5OGVdJo017650;
	Tue, 24 Jun 2003 09:31:39 -0700 (PDT)
Received: from svlexc01.hq.netapp.com (svlexc01.corp.netapp.com [10.10.22.171])
	by hawk.corp.netapp.com (8.12.9/8.12.9/NTAP-1.5) with ESMTP id h5OGVdmW025525;
	Tue, 24 Jun 2003 09:31:39 -0700 (PDT)
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0
Subject: RE: [nfsv4] more on mandatory vs advisory locking
Message-ID: <C8CF60CFC4D8A74E9945E32CF096548A37943B@silver.nane.netapp.com>
Thread-Topic: [nfsv4] more on mandatory vs advisory locking
Thread-Index: AcM6a2BE7e4r/+NpQSack32NlGjDWQAAm9Og
From: "Noveck, Dave" <Dave.Noveck@netapp.com>
To: <rick@snowhite.cis.uoguelph.ca>, <nfsv4@ietf.org>
Content-Transfer-Encoding: quoted-printable
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 24 Jun 2003 09:31:33 -0700
Date: Tue, 24 Jun 2003 09:31:33 -0700
Content-Transfer-Encoding: quoted-printable
Content-Transfer-Encoding: quoted-printable

Gee, I wonder if obeying that convention might violate somebody's
intellectual property :-)  Hopefully, we haven't become that=20
lawyer-plagued, yet.

-----Original Message-----
From: rick@snowhite.cis.uoguelph.ca
[mailto:rick@snowhite.cis.uoguelph.ca]
Sent: Tuesday, June 24, 2003 12:10 PM
To: nfsv4@ietf.org
Subject: [nfsv4] more on mandatory vs advisory locking


Hi,

> The problem with this is that this "unix" may not be the same as that
> "unix" in this or other respects.  This particular behavior is a Unix
> SVID behavior and not a *BSD behavior.  I would consider it perfectly
> reasonable for a *BSD NFSv4 server to not support the SGID/mandatory
> file locking semantics.

Heh, heh. I had noticed that it was "Unix" and not "unix" in the spec. =
(I'm so
out of touch I've lost track of who holds the "Unix" licensing, =
somewhere after
Novell sold it to SCO... Is it now "Open..." that descended from OSF
and Unix International?)

Anyhow, back on topic, why I asked was that I was hoping that it would =
be widely
adopted as a method of controlling mandatory locking, maybe even to
the point where servers that don't support mandatory locking would
be strongly encouraged to not allow the setting of mode bits with
(MODE4_SGID set and MODE4_XGRP clear)?

Thanks for the help, rick
ps: My current server supports the SGID set + XGRP clear for individual
    files and an export flag for entire file systems for mandatory vs
    advisory. For a client to figure out if mandatory locking is enabled
    it has to do an Open, write lock as another lock_owner and then a
    Read to find out. Is there an easier way?

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Tue Jun 24 13:17:01 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA25109
	for <nfsv4-archive@odin.ietf.org>; Tue, 24 Jun 2003 13:17:01 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5OHGYt16960
	for nfsv4-archive@odin.ietf.org; Tue, 24 Jun 2003 13:16:34 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UrPG-0004PJ-Lm
	for nfsv4-web-archive@optimus.ietf.org; Tue, 24 Jun 2003 13:16:34 -0400
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id NAA25093
	for <nfsv4-web-archive@ietf.org>; Tue, 24 Jun 2003 13:16:30 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UrNl-0004Jr-8b; Tue, 24 Jun 2003 13:15:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UlN8-0005CY-3D
	for nfsv4@optimus.ietf.org; Tue, 24 Jun 2003 06:49:58 -0400
Received: from CNRI.Reston.VA.US (localhost [127.0.0.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA10598;
	Tue, 24 Jun 2003 06:49:53 -0400 (EDT)
Message-Id: <200306241049.GAA10598@ietf.org>
Mime-Version: 1.0
Content-Type: Multipart/Mixed; Boundary="NextPart"
To: IETF-Announce: ;
CC: nfsv4@ietf.org
From: Internet-Drafts@ietf.org
Reply-to: Internet-Drafts@ietf.org
Subject: [nfsv4] I-D ACTION:draft-talpey-nfs-rdma-problem-statement-00.txt
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 24 Jun 2003 06:49:53 -0400
Date: Tue, 24 Jun 2003 06:49:53 -0400

--NextPart

A New Internet-Draft is available from the on-line Internet-Drafts directories.


	Title		: NFS RDMA Problem Statement
	Author(s)	: T. Talpey, C. Juszczak
	Filename	: draft-talpey-nfs-rdma-problem-statement-00.txt
	Pages		: 15
	Date		: 2003-6-23
	
This draft addresses applying Remote Direct Memory Access to the
NFS protocols.  NFS implementations historically incur significant
overhead due to data copies on end-host systems, as well as other
sources.  The potential benefits of RDMA to these implementations
are explored, and the reasons why RDMA is especially well-suited to
NFS and network file protocols in general are evaluated.

A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-talpey-nfs-rdma-problem-statement-00.txt

To remove yourself from the IETF Announcement list, send a message to 
ietf-announce-request with the word unsubscribe in the body of the message.

Internet-Drafts are also available by anonymous FTP. Login with the username
"anonymous" and a password of your e-mail address. After logging in,
type "cd internet-drafts" and then
	"get draft-talpey-nfs-rdma-problem-statement-00.txt".

A list of Internet-Drafts directories can be found in
http://www.ietf.org/shadow.html 
or ftp://ftp.ietf.org/ietf/1shadow-sites.txt


Internet-Drafts can also be obtained by e-mail.

Send a message to:
	mailserv@ietf.org.
In the body type:
	"FILE /internet-drafts/draft-talpey-nfs-rdma-problem-statement-00.txt".
	
NOTE:	The mail server at ietf.org can return the document in
	MIME-encoded form by using the "mpack" utility.  To use this
	feature, insert the command "ENCODING mime" before the "FILE"
	command.  To decode the response(s), you will need "munpack" or
	a MIME-compliant mail reader.  Different MIME-compliant mail readers
	exhibit different behavior, especially when dealing with
	"multipart" MIME messages (i.e. documents which have been split
	up into multiple messages), so check your local documentation on
	how to manipulate these messages.
		
		
Below is the data which will enable a MIME compliant mail reader
implementation to automatically retrieve the ASCII version of the
Internet-Draft.

--NextPart
Content-Type: Multipart/Alternative; Boundary="OtherAccess"

--OtherAccess
Content-Type: Message/External-body;
	access-type="mail-server";
	server="mailserv@ietf.org"

Content-Type: text/plain
Content-ID:	<2003-6-23142238.I-D@ietf.org>

ENCODING mime
FILE /internet-drafts/draft-talpey-nfs-rdma-problem-statement-00.txt

--OtherAccess
Content-Type: Message/External-body;
	name="draft-talpey-nfs-rdma-problem-statement-00.txt";
	site="ftp.ietf.org";
	access-type="anon-ftp";
	directory="internet-drafts"

Content-Type: text/plain
Content-ID:	<2003-6-23142238.I-D@ietf.org>

--OtherAccess--

--NextPart--



_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Tue Jun 24 15:31:36 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA06306
	for <nfsv4-archive@odin.ietf.org>; Tue, 24 Jun 2003 15:31:36 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5OJV8k10306
	for nfsv4-archive@odin.ietf.org; Tue, 24 Jun 2003 15:31:08 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UtVT-0002g9-Vt
	for nfsv4-web-archive@optimus.ietf.org; Tue, 24 Jun 2003 15:31:08 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA06279
	for <nfsv4-web-archive@ietf.org>; Tue, 24 Jun 2003 15:31:06 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UtVS-0006OF-00
	for nfsv4-web-archive@ietf.org; Tue, 24 Jun 2003 15:31:06 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19UtVN-0006OC-00
	for nfsv4-web-archive@ietf.org; Tue, 24 Jun 2003 15:31:01 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UtVN-0002fW-4j; Tue, 24 Jun 2003 15:31:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UtUs-0002c6-Pg
	for nfsv4@optimus.ietf.org; Tue, 24 Jun 2003 15:30:30 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA06205
	for <nfsv4@ietf.org>; Tue, 24 Jun 2003 15:30:13 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UtUc-0006NM-00
	for nfsv4@ietf.org; Tue, 24 Jun 2003 15:30:14 -0400
Received: from e31.co.us.ibm.com ([32.97.110.129])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UtUH-0006Mx-00
	for nfsv4@ietf.org; Tue, 24 Jun 2003 15:29:53 -0400
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e31.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h5OJSqu8273784
	for <nfsv4@ietf.org>; Tue, 24 Jun 2003 15:28:52 -0400
Received: from d03nm113.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h5OJSmLc176136
	for <nfsv4@ietf.org>; Tue, 24 Jun 2003 13:28:51 -0600
Subject: Fw: [nfsv4] rfc3530 clarification
To: nfsv4@ietf.org
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OF36BAD872.964AB6F9-ON87256D4F.006A4F76-88256D4F.006B3CE6@us.ibm.com>
From: Stevan Steve Allen <scallen@us.ibm.com>
X-MIMETrack: Serialize by Router on D03NM113/03/M/IBM(Release 6.0.1 [IBM]|June 10, 2003) at
 06/24/2003 13:28:51
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 24 Jun 2003 12:28:49 -0700
Date: Tue, 24 Jun 2003 12:28:49 -0700





Spencer Shepler wrote:
|In this specific case, the applications best choice is to use file
|locking and assume it is advisory in nature.

Don't forget delegation in this discussion.  e.g. what should the client
assume?

-Steve.


_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Tue Jun 24 15:45:36 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA07079
	for <nfsv4-archive@odin.ietf.org>; Tue, 24 Jun 2003 15:45:36 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5OJj8U12872
	for nfsv4-archive@odin.ietf.org; Tue, 24 Jun 2003 15:45:08 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Utj2-0003LX-7V
	for nfsv4-web-archive@optimus.ietf.org; Tue, 24 Jun 2003 15:45:08 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA07041
	for <nfsv4-web-archive@ietf.org>; Tue, 24 Jun 2003 15:45:06 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Utj0-0006Y7-00
	for nfsv4-web-archive@ietf.org; Tue, 24 Jun 2003 15:45:06 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19Utiv-0006Y4-00
	for nfsv4-web-archive@ietf.org; Tue, 24 Jun 2003 15:45:01 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Utiv-0003J3-B2; Tue, 24 Jun 2003 15:45:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UtiH-0003Ib-HK
	for nfsv4@optimus.ietf.org; Tue, 24 Jun 2003 15:44:21 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA07000
	for <nfsv4@ietf.org>; Tue, 24 Jun 2003 15:44:04 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Uti1-0006XB-00
	for nfsv4@ietf.org; Tue, 24 Jun 2003 15:44:05 -0400
Received: from e34.co.us.ibm.com ([32.97.110.132])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Uthg-0006WU-00
	for nfsv4@ietf.org; Tue, 24 Jun 2003 15:43:44 -0400
Received: from westrelay04.boulder.ibm.com (westrelay04.boulder.ibm.com [9.17.193.32])
	by e34.co.us.ibm.com (8.12.9/8.12.2) with ESMTP id h5OJgKDG219014
	for <nfsv4@ietf.org>; Tue, 24 Jun 2003 15:42:20 -0400
Received: from d03nm113.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.193.82])
	by westrelay04.boulder.ibm.com (8.12.9/NCO/VER6.5) with ESMTP id h5OJgJLb180770
	for <nfsv4@ietf.org>; Tue, 24 Jun 2003 13:42:20 -0600
To: nfsv4@ietf.org
X-Mailer: Lotus Notes Release 6.0 September 26, 2002
Message-ID: <OFF4AFB866.46E020D3-ON87256D4F.006B8844-88256D4F.006C7967@us.ibm.com>
From: Stevan Steve Allen <scallen@us.ibm.com>
X-MIMETrack: Serialize by Router on D03NM113/03/M/IBM(Release 6.0.1 [IBM]|June 10, 2003) at
 06/24/2003 13:42:20
MIME-Version: 1.0
Content-type: text/plain; charset=US-ASCII
Subject: [nfsv4] Binary/Text
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 24 Jun 2003 12:42:19 -0700
Date: Tue, 24 Jun 2003 12:42:19 -0700





Just verifying:

Searching the draft I did not find NFSv4 providing a mechanism to identify
the data type being transmitted.  Such as text or binary, code page, etc...

-Steve


_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Tue Jun 24 15:57:59 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA07540
	for <nfsv4-archive@odin.ietf.org>; Tue, 24 Jun 2003 15:57:59 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5OJvVQ14890
	for nfsv4-archive@odin.ietf.org; Tue, 24 Jun 2003 15:57:31 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Utv1-0003s5-Cj
	for nfsv4-web-archive@optimus.ietf.org; Tue, 24 Jun 2003 15:57:31 -0400
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA07524
	for <nfsv4-web-archive@ietf.org>; Tue, 24 Jun 2003 15:57:29 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UtuW-0003pa-Ui; Tue, 24 Jun 2003 15:57:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UtuT-0003pP-Cv
	for nfsv4@optimus.ietf.org; Tue, 24 Jun 2003 15:56:57 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA07514
	for <nfsv4@ietf.org>; Tue, 24 Jun 2003 15:56:55 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UtuR-0006e6-00
	for nfsv4@ietf.org; Tue, 24 Jun 2003 15:56:55 -0400
Received: from brmea-mail-3.sun.com ([192.18.98.34])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UtuH-0006dq-00
	for nfsv4@ietf.org; Tue, 24 Jun 2003 15:56:45 -0400
Received: from jurassic.eng.sun.com ([129.146.17.55])
	by brmea-mail-3.sun.com (8.12.9/8.12.9) with ESMTP id h5OJuC1J012597;
	Tue, 24 Jun 2003 13:56:12 -0600 (MDT)
Received: from sun.com (Administrator@dhcp-uaus08-128-193.Central.Sun.COM [129.153.128.193])
	by jurassic.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h5OJuBSd574139;
	Tue, 24 Jun 2003 12:56:12 -0700 (PDT)
Message-ID: <3EF8C8FA.EF046879@sun.com>
From: Spencer Shepler <spencer.shepler@sun.com>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Stevan Steve Allen <scallen@us.ibm.com>
CC: nfsv4@ietf.org
Subject: Re: [nfsv4] Binary/Text
References: <OFF4AFB866.46E020D3-ON87256D4F.006B8844-88256D4F.006C7967@us.ibm.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 24 Jun 2003 14:56:10 -0700
Date: Tue, 24 Jun 2003 14:56:10 -0700
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit


The only mechanism available is the recommended attribute mime_type.

Stevan Steve Allen wrote:
> 
> Just verifying:
> 
> Searching the draft I did not find NFSv4 providing a mechanism to identify
> the data type being transmitted.  Such as text or binary, code page, etc...
> 
> -Steve
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www1.ietf.org/mailman/listinfo/nfsv4

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Tue Jun 24 16:00:59 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA07707
	for <nfsv4-archive@odin.ietf.org>; Tue, 24 Jun 2003 16:00:59 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5OK0Vj15155
	for nfsv4-archive@odin.ietf.org; Tue, 24 Jun 2003 16:00:31 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Utxv-0003wM-Fw
	for nfsv4-web-archive@optimus.ietf.org; Tue, 24 Jun 2003 16:00:31 -0400
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA07695
	for <nfsv4-web-archive@ietf.org>; Tue, 24 Jun 2003 16:00:29 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19UtxR-0003uB-5g; Tue, 24 Jun 2003 16:00:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19Utwh-0003tD-MD
	for nfsv4@optimus.ietf.org; Tue, 24 Jun 2003 15:59:15 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA07572
	for <nfsv4@ietf.org>; Tue, 24 Jun 2003 15:59:13 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19Utwg-0006f2-00
	for nfsv4@ietf.org; Tue, 24 Jun 2003 15:59:14 -0400
Received: from brmea-mail-2.sun.com ([192.18.98.43])
	by ietf-mx with esmtp (Exim 4.12)
	id 19UtwV-0006ea-00
	for nfsv4@ietf.org; Tue, 24 Jun 2003 15:59:03 -0400
Received: from jurassic.eng.sun.com ([129.146.17.55])
	by brmea-mail-2.sun.com (8.12.9/8.12.9) with ESMTP id h5OJw6vc011570;
	Tue, 24 Jun 2003 13:58:06 -0600 (MDT)
Received: from sun.com (Administrator@dhcp-uaus08-128-193.Central.Sun.COM [129.153.128.193])
	by jurassic.eng.sun.com (8.12.10.Beta0+Sun/8.12.10.Beta0) with ESMTP id h5OJw5Sd574589;
	Tue, 24 Jun 2003 12:58:06 -0700 (PDT)
Message-ID: <3EF8C96C.B1339483@sun.com>
From: Spencer Shepler <spencer.shepler@sun.com>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Stevan Steve Allen <scallen@us.ibm.com>
CC: nfsv4@ietf.org
Subject: Re: Fw: [nfsv4] rfc3530 clarification
References: <OF36BAD872.964AB6F9-ON87256D4F.006A4F76-88256D4F.006B3CE6@us.ibm.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Tue, 24 Jun 2003 14:58:04 -0700
Date: Tue, 24 Jun 2003 14:58:04 -0700
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit



Stevan Steve Allen wrote:
> 
> Spencer Shepler wrote:
> |In this specific case, the applications best choice is to use file
> |locking and assume it is advisory in nature.
> 
> Don't forget delegation in this discussion.  e.g. what should the client
> assume?

Delegation does not changes this assumption.  The client nor application
can depend on a delegation being provided by the server.  If a
delegation
is provided, the file locking capabilities of the server are not
modified.
The client is unable to provide more strigent file locking semantics
because
it does not know when/if the delegation will be recalled.

Spencer

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Wed Jun 25 14:41:50 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24856
	for <nfsv4-archive@odin.ietf.org>; Wed, 25 Jun 2003 14:41:50 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5PIfMF04500
	for nfsv4-archive@odin.ietf.org; Wed, 25 Jun 2003 14:41:22 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VFCs-0001AV-0C
	for nfsv4-web-archive@optimus.ietf.org; Wed, 25 Jun 2003 14:41:22 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24794
	for <nfsv4-web-archive@ietf.org>; Wed, 25 Jun 2003 14:41:19 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VFCq-00062f-00
	for nfsv4-web-archive@ietf.org; Wed, 25 Jun 2003 14:41:20 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19VFCk-00062a-00
	for nfsv4-web-archive@ietf.org; Wed, 25 Jun 2003 14:41:14 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VFCX-00017z-Ph; Wed, 25 Jun 2003 14:41:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VFBZ-00015n-Vo
	for nfsv4@optimus.ietf.org; Wed, 25 Jun 2003 14:40:01 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id OAA24700
	for <nfsv4@ietf.org>; Wed, 25 Jun 2003 14:39:44 -0400 (EDT)
From: rick@snowhite.cis.uoguelph.ca
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VFBJ-00061R-00
	for nfsv4@ietf.org; Wed, 25 Jun 2003 14:39:45 -0400
Received: from snowhite.cis.uoguelph.ca ([131.104.48.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VFB3-00060t-00
	for nfsv4@ietf.org; Wed, 25 Jun 2003 14:39:29 -0400
Received: (from rick@localhost)
	by snowhite.cis.uoguelph.ca (8.9.3/8.9.3) id OAA26047
	for nfsv4@ietf.org; Wed, 25 Jun 2003 14:39:48 -0400 (EDT)
Message-Id: <200306251839.OAA26047@snowhite.cis.uoguelph.ca>
To: nfsv4@ietf.org
Subject: [nfsv4] Test server on the net
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Wed, 25 Jun 2003 14:39:48 -0400 (EDT)
Date: Wed, 25 Jun 2003 14:39:48 -0400 (EDT)

Hi,

Just in case anyone is interested, I have a server up that you can test
against with the problems detected during the last Bakeathon fixed (I think?).
(If you do some testing, please let me know how it goes at
 rick@cis.uoguelph.ca.)

Machine: nfsv4-test.cis.uoguelph.ca (131.104.49.239)
Mnt pnt: /
- has two subdirs /sub1 and /sub2
  /sub1 - supports mandatory locking
  /sub2 - uses advisory locking
  (You can test in either/both.)

AUTH_SYS only:
User ids	root	0
		guest	50
		nobody	32767
Groups		wheel	0
		staff	20
		nobody	32767
- expects @cis.uoguelph.ca on user and group names. (If this is awkward
  for you to do, just let me know and I'll disable the checking for
  the "@dns.domain" part of the user and group names.)

Things not yet supported:
- AUTH_GSS
- Delegations
- mounted_on_fileid attribute
- ACLs
- Mime_types
- Named_attributes

I plan to cut a code snapshot for anyone interested in looking at or
running the code in a couple of weeks, based upon how testing goes. After
that, I hope to be adding Delegations and AUTH_GSS.

Have fun with it, rick

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Wed Jun 25 17:12:18 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA03266
	for <nfsv4-archive@odin.ietf.org>; Wed, 25 Jun 2003 17:12:18 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5PLABc06739
	for nfsv4-archive@odin.ietf.org; Wed, 25 Jun 2003 17:10:11 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VHWt-0001kc-AX
	for nfsv4-web-archive@optimus.ietf.org; Wed, 25 Jun 2003 17:10:11 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA03098
	for <nfsv4-web-archive@ietf.org>; Wed, 25 Jun 2003 17:10:07 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VHWr-0000PX-00
	for nfsv4-web-archive@ietf.org; Wed, 25 Jun 2003 17:10:09 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19VHWl-0000PU-00
	for nfsv4-web-archive@ietf.org; Wed, 25 Jun 2003 17:10:03 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VHWl-0001gA-39; Wed, 25 Jun 2003 17:10:03 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VHWG-0001dj-Dj
	for nfsv4@optimus.ietf.org; Wed, 25 Jun 2003 17:09:32 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id RAA02607
	for <nfsv4@ietf.org>; Wed, 25 Jun 2003 17:09:11 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VHP1-00001F-00
	for nfsv4@ietf.org; Wed, 25 Jun 2003 17:02:03 -0400
Received: from nwkea-mail-1.sun.com ([192.18.42.13])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VHOq-000008-00
	for nfsv4@ietf.org; Wed, 25 Jun 2003 17:01:52 -0400
Received: from centralmail2brm.Central.Sun.COM ([129.147.62.14])
	by nwkea-mail-1.sun.com (8.12.9/8.12.9) with ESMTP id h5PL0fKo003868
	for <nfsv4@ietf.org>; Wed, 25 Jun 2003 14:00:41 -0700 (PDT)
Received: from Sun.COM (jetsun.Central.Sun.COM [129.153.128.60])
	by centralmail2brm.Central.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h5PL0fuP029255
	for <nfsv4@ietf.org>; Wed, 25 Jun 2003 15:00:41 -0600 (MDT)
Message-ID: <3EFA0D78.8070303@Sun.COM>
From: David Robinson <David.Robinson@Sun.COM>
Reply-To: David.Robinson@Sun.COM
Organization: Sun Microsystems, Inc.
User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.3) Gecko/20030314
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: nfsv4@ietf.org
Subject: Re: [nfsv4] rfc3530 clarification
References: <C8CF60CFC4D8A74E9945E32CF096548A37942D@silver.nane.netapp.com> <20030623230350.GQ100744@dhcp-uaus08-128-193.central.sun.com>
In-Reply-To: <20030623230350.GQ100744@dhcp-uaus08-128-193.central.sun.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Wed, 25 Jun 2003 16:00:40 -0500
Date: Wed, 25 Jun 2003 16:00:40 -0500
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit

Spencer Shepler wrote:
> The problem with this is that this "unix" may not be the same as that
> "unix" in this or other respects.  This particular behavior is a Unix
> SVID behavior and not a *BSD behavior.  I would consider it perfectly
> reasonable for a *BSD NFSv4 server to not support the SGID/mandatory
> file locking semantics.

Be very careful on this one, SVID3 mandatory
locking semantics are not the same as NFSv4 (or Windows) mandatory
locking.  The critical difference is that SVID requires that the
I/O operation block until the lock is released, NFSv4 will cause an
error to be returned. To effectively implement this a server must
change its behavior to not block I/O requests and to return an
error (or face dire consequences when a request is retransmitted)
and the client must continuously retry the request will blocking
the system call. There may be subtle timing or ordering issues
about who gets the next I/O that will break using a polling model.
Lastly, an open with O_TRUNC on a file with a SVID3 mandatory lock
must fail with EAGAIN.  This may not be possible.

In short, the text should have been written to state:

	Note that in Unix SVID3, if a file has the MODE4_SGID bit set
	and no 	MODE4_XGRP bit set, then SVID3 mandatory file locking
	semantics may apply. SVID3 mandatory locking semantics are not
	the same as NFSv4 semantics and the mapping between the two is
	undefined and may vary based on implementation. Some
	implementations may not allow any access to these files.

If anyone wants to try and figure out a reasonable mapping as a
suggested implementation... I don't think many applications rely
on SVID3 locking semantics.

	-David



_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Thu Jun 26 11:25:20 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA02517
	for <nfsv4-archive@odin.ietf.org>; Thu, 26 Jun 2003 11:25:20 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5QFOrn06274
	for nfsv4-archive@odin.ietf.org; Thu, 26 Jun 2003 11:24:53 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VYcH-0001d7-2N
	for nfsv4-web-archive@optimus.ietf.org; Thu, 26 Jun 2003 11:24:53 -0400
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA02441
	for <nfsv4-web-archive@ietf.org>; Thu, 26 Jun 2003 11:24:50 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VYbQ-0001Xc-I2; Thu, 26 Jun 2003 11:24:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VYaa-0001RR-Vv
	for nfsv4@optimus.ietf.org; Thu, 26 Jun 2003 11:23:09 -0400
Received: from brmea-mail-3.sun.com (brmea-mail-3.Sun.COM [192.18.98.34])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA02085
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 11:22:49 -0400 (EDT)
Received: from engmail1mpk.Eng.Sun.COM ([129.146.1.45])
	by brmea-mail-3.sun.com (8.12.9/8.12.9) with ESMTP id h5QFD01J008284
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 09:13:00 -0600 (MDT)
Received: from shepler.eng.sun.com (vpn-129-147-154-119.Central.Sun.COM [129.147.154.119])
	by engmail1mpk.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h5QFCwUY006522
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 08:12:59 -0700 (PDT)
Received: from shepler.eng.sun.com (localhost [127.0.0.1])
	by shepler.eng.sun.com (8.12.9+Sun/8.12.9) with ESMTP id h5QFCulq100902
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 10:12:56 -0500 (CDT)
Received: (from shepler@localhost)
	by shepler.eng.sun.com (8.12.9+Sun/8.12.9/Submit) id h5QFCtis100901
	for nfsv4@ietf.org; Thu, 26 Jun 2003 10:12:55 -0500 (CDT)
From: Spencer Shepler <spencer.shepler@sun.com>
To: nfsv4@ietf.org
Message-ID: <20030626151255.GI100775@shepler.central.sun.com>
Reply-To: spencer.shepler@sun.com
Mail-Followup-To: Spencer Shepler <spencer.shepler@sun.com>, nfsv4@ietf.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Subject: [nfsv4] NFSv4 WG meeting in Vienna is "on"
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Thu, 26 Jun 2003 10:12:55 -0500
Date: Thu, 26 Jun 2003 10:12:55 -0500


A NFSv4 WG meeting will be held in Vienna.  Send your agenda items to
beepy@netapp.com.

-- 
Spencer


_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Thu Jun 26 11:28:59 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA02979
	for <nfsv4-archive@odin.ietf.org>; Thu, 26 Jun 2003 11:28:59 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5QFSVB07395
	for nfsv4-archive@odin.ietf.org; Thu, 26 Jun 2003 11:28:31 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VYfn-0001vC-I9
	for nfsv4-web-archive@optimus.ietf.org; Thu, 26 Jun 2003 11:28:31 -0400
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA02904
	for <nfsv4-web-archive@ietf.org>; Thu, 26 Jun 2003 11:28:28 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VYfJ-0001mT-6O; Thu, 26 Jun 2003 11:28:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VYet-0001m5-Rj
	for nfsv4@optimus.ietf.org; Thu, 26 Jun 2003 11:27:35 -0400
Received: from brmea-mail-3.sun.com (brmea-mail-3.Sun.COM [192.18.98.34])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA02790
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 11:27:32 -0400 (EDT)
Received: from engmail2sun.Eng.Sun.COM ([129.144.134.19])
	by brmea-mail-3.sun.com (8.12.9/8.12.9) with ESMTP id h5QFRT1J018758
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 09:27:30 -0600 (MDT)
Received: from shepler.eng.sun.com (vpn-129-147-154-119.Central.Sun.COM [129.147.154.119])
	by engmail2sun.Eng.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h5QFRSGq026876
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 08:27:28 -0700 (PDT)
Received: from shepler.eng.sun.com (localhost [127.0.0.1])
	by shepler.eng.sun.com (8.12.9+Sun/8.12.9) with ESMTP id h5QFRPlq100912
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 10:27:25 -0500 (CDT)
Received: (from shepler@localhost)
	by shepler.eng.sun.com (8.12.9+Sun/8.12.9/Submit) id h5QFRPZ3100911
	for nfsv4@ietf.org; Thu, 26 Jun 2003 10:27:25 -0500 (CDT)
From: Spencer Shepler <spencer.shepler@sun.com>
To: nfsv4@ietf.org
Message-ID: <20030626152724.GJ100775@shepler.central.sun.com>
Reply-To: spencer.shepler@sun.com
Mail-Followup-To: Spencer Shepler <spencer.shepler@sun.com>, nfsv4@ietf.org
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.4i
Subject: [nfsv4] NFSv4 bakeathon in October (NFS vendors conference held separately)
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Thu, 26 Jun 2003 10:27:24 -0500
Date: Thu, 26 Jun 2003 10:27:24 -0500


Sun Microsystems will be hosting the NFS version 4 bakeathon the week
of October 20th at the Sun facility in Austin, TX.

More details on the bakeathon and registration will be coming later.

Unlike previous years, the NFS industry conference will be held
separately.

To learn more about this year's NFS industry conference and its
coverage of NFS version 4 implementation, migration or deployment,
see http://www.nfsconf.com for details and call for papers.

In brief, this year's conference will include a set of tutorial
sessions for the technical audience along with the normal topic
coverage in regular conference format.  The NFS Industry Conference
will be held Sept. 22-24, 2003 at the Hilton in Santa Clara, CA.

Spencer

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Thu Jun 26 11:58:39 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA06002
	for <nfsv4-archive@odin.ietf.org>; Thu, 26 Jun 2003 11:58:39 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5QFwCG13830
	for nfsv4-archive@odin.ietf.org; Thu, 26 Jun 2003 11:58:12 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VZ8W-0003az-HA
	for nfsv4-web-archive@optimus.ietf.org; Thu, 26 Jun 2003 11:58:12 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA05922
	for <nfsv4-web-archive@ietf.org>; Thu, 26 Jun 2003 11:58:09 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VZ8V-0003Hg-00
	for nfsv4-web-archive@ietf.org; Thu, 26 Jun 2003 11:58:11 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19VZ8P-0003Hd-00
	for nfsv4-web-archive@ietf.org; Thu, 26 Jun 2003 11:58:05 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VZ8L-0003VT-Hy; Thu, 26 Jun 2003 11:58:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VZ7Y-0003Q2-RV
	for nfsv4@optimus.ietf.org; Thu, 26 Jun 2003 11:57:12 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA05668
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 11:56:53 -0400 (EDT)
From: rick@snowhite.cis.uoguelph.ca
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VYv3-0002yw-00
	for nfsv4@ietf.org; Thu, 26 Jun 2003 11:44:17 -0400
Received: from snowhite.cis.uoguelph.ca ([131.104.48.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VYun-0002xl-00
	for nfsv4@ietf.org; Thu, 26 Jun 2003 11:44:01 -0400
Received: (from rick@localhost)
	by snowhite.cis.uoguelph.ca (8.9.3/8.9.3) id LAA15081
	for nfsv4@ietf.org; Thu, 26 Jun 2003 11:43:29 -0400 (EDT)
Message-Id: <200306261543.LAA15081@snowhite.cis.uoguelph.ca>
To: nfsv4@ietf.org
Subject: [nfsv4] RFC3530 clarification
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Thu, 26 Jun 2003 11:43:29 -0400 (EDT)
Date: Thu, 26 Jun 2003 11:43:29 -0400 (EDT)

Sorry to bug you guys again, but here's one more I'll not sure about.

Should a server check seq#'s during open and lock reclaims?

- Since the client is reclaiming a non-conflicting set of opens and
  locks, it seems to me that ordering isn't important, but I'm not
  sure? I also noted that opens with reclaim don't get confirmed,
  so I was concerned that the client might get started with the
  wrong sequence#.
As such, I had decided that seq# checking during reclaim wasn't necessary.

Now, I'm pretty well convinced that the fact that opens don't do
confirmation shouldn't be a problem, since retries will still have
the same starting sequence# and since the RFC doesn't seem to say
otherwise...

Seq#s should be checked during reclaims.

So folks, which is it?

Do you simply assume that opens during reclaim are automatically confirmed,
without further confirmation required?

Thanks again for any help, rick

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Thu Jun 26 12:02:59 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA06343
	for <nfsv4-archive@odin.ietf.org>; Thu, 26 Jun 2003 12:02:59 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5QG2W417014
	for nfsv4-archive@odin.ietf.org; Thu, 26 Jun 2003 12:02:32 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VZCi-0004QG-1p
	for nfsv4-web-archive@optimus.ietf.org; Thu, 26 Jun 2003 12:02:32 -0400
Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA06297
	for <nfsv4-web-archive@ietf.org>; Thu, 26 Jun 2003 12:02:28 -0400 (EDT)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VZCD-0004GN-9C; Thu, 26 Jun 2003 12:02:01 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VZBY-0004A2-EA
	for nfsv4@optimus.ietf.org; Thu, 26 Jun 2003 12:01:35 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id MAA06219
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 12:01:17 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VZBX-0003In-00
	for nfsv4@ietf.org; Thu, 26 Jun 2003 12:01:19 -0400
Received: from citi.umich.edu ([141.211.92.141])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VZBM-0003Ab-00
	for nfsv4@ietf.org; Thu, 26 Jun 2003 12:01:08 -0400
Received: from citi.umich.edu (dumaguete.citi.umich.edu [141.211.133.51])
	by citi.umich.edu (Postfix) with ESMTP id 6D4EE20885
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 11:33:52 -0400 (EDT)
Subject: Re: [nfsv4] rfc3530 clarification 
To: nfsv4@ietf.org
From: Jim Rees <rees@umich.edu>
In-Reply-To: David Robinson, Wed, 25 Jun 2003 16:00:40 CDT
Message-Id: <20030626153352.6D4EE20885@citi.umich.edu>
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Thu, 26 Jun 2003 11:33:51 -0400
Date: Thu, 26 Jun 2003 11:33:51 -0400

It's hard for me to believe anyone cares about svid any more, but I suppose
anything's possible.

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



From exim@www1.ietf.org  Thu Jun 26 15:22:49 2003
Received: from www1.ietf.org (ietf.org [132.151.1.19] (may be forged))
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA17100
	for <nfsv4-archive@odin.ietf.org>; Thu, 26 Jun 2003 15:22:48 -0400 (EDT)
Received: (from exim@localhost)
	by www1.ietf.org (8.11.6/8.11.6) id h5QJMKF19067
	for nfsv4-archive@odin.ietf.org; Thu, 26 Jun 2003 15:22:20 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VcK4-0004xS-Jw
	for nfsv4-web-archive@optimus.ietf.org; Thu, 26 Jun 2003 15:22:20 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA17080
	for <nfsv4-web-archive@ietf.org>; Thu, 26 Jun 2003 15:22:18 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VcK3-00057V-00
	for nfsv4-web-archive@ietf.org; Thu, 26 Jun 2003 15:22:19 -0400
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org)
	by ietf-mx with esmtp (Exim 4.12)
	id 19VcJx-00057R-00
	for nfsv4-web-archive@ietf.org; Thu, 26 Jun 2003 15:22:13 -0400
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VcJk-0004l9-SU; Thu, 26 Jun 2003 15:22:00 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org)
	by optimus.ietf.org with esmtp (Exim 4.20)
	id 19VcIn-0004e3-05
	for nfsv4@optimus.ietf.org; Thu, 26 Jun 2003 15:21:01 -0400
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id PAA16944
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 15:20:43 -0400 (EDT)
Received: from ietf-mx ([132.151.6.1])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VcIW-00055p-00
	for nfsv4@ietf.org; Thu, 26 Jun 2003 15:20:44 -0400
Received: from nwkea-mail-1.sun.com ([192.18.42.13])
	by ietf-mx with esmtp (Exim 4.12)
	id 19VcIL-00054X-00
	for nfsv4@ietf.org; Thu, 26 Jun 2003 15:20:33 -0400
Received: from centralmail1brm.Central.Sun.COM ([129.147.62.1])
	by nwkea-mail-1.sun.com (8.12.9/8.12.9) with ESMTP id h5QJInKo025508
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 12:18:49 -0700 (PDT)
Received: from dhcp-uaus08-128-191.Central.Sun.COM (dhcp-uaus08-128-191.Central.Sun.COM [129.153.128.191])
	by centralmail1brm.Central.Sun.COM (8.12.9+Sun/8.12.9/ENSMAIL,v2.2) with ESMTP id h5QJImNg007379
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 13:18:48 -0600 (MDT)
Received: from dhcp-uaus08-128-191.Central.Sun.COM (localhost [127.0.0.1])
	by dhcp-uaus08-128-191.Central.Sun.COM (8.12.9+Sun/8.12.9) with ESMTP id h5QJLWwq103764
	for <nfsv4@ietf.org>; Thu, 26 Jun 2003 14:21:32 -0500 (CDT)
Received: (from shepler@localhost)
	by dhcp-uaus08-128-191.Central.Sun.COM (8.12.9+Sun/8.12.9/Submit) id h5QJLVbt103763
	for nfsv4@ietf.org; Thu, 26 Jun 2003 14:21:31 -0500 (CDT)
From: Spencer Shepler <spencer.shepler@sun.com>
To: nfsv4@ietf.org
Subject: Re: [nfsv4] RFC3530 clarification
Message-ID: <20030626192131.GP103621@dhcp-uaus08-128-191>
Reply-To: spencer.shepler@sun.com
Mail-Followup-To: Spencer Shepler <spencer.shepler@sun.com>, nfsv4@ietf.org
References: <200306261543.LAA15081@snowhite.cis.uoguelph.ca>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <200306261543.LAA15081@snowhite.cis.uoguelph.ca>
User-Agent: Mutt/1.4i
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>,
	<mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/pipermail/nfsv4/>
X-Original-Date: Thu, 26 Jun 2003 14:21:31 -0500
Date: Thu, 26 Jun 2003 14:21:31 -0500

On Thu, rick@snowhite.cis.uoguelph.ca wrote:
> Sorry to bug you guys again, but here's one more I'll not sure about.
> 
> Should a server check seq#'s during open and lock reclaims?
> 
> - Since the client is reclaiming a non-conflicting set of opens and
>   locks, it seems to me that ordering isn't important, but I'm not
>   sure? I also noted that opens with reclaim don't get confirmed,
>   so I was concerned that the client might get started with the
>   wrong sequence#.
> As such, I had decided that seq# checking during reclaim wasn't necessary.
> 
> Now, I'm pretty well convinced that the fact that opens don't do
> confirmation shouldn't be a problem, since retries will still have
> the same starting sequence# and since the RFC doesn't seem to say
> otherwise...
> 
> Seq#s should be checked during reclaims.
> 
> So folks, which is it?
> 
> Do you simply assume that opens during reclaim are automatically confirmed,
> without further confirmation required?

OPENs for reclaim are supposed to be considered as "confirmed" by the
server; see section 8.1.8.  The Solaris server does this.  For normal
OPENs the confirmation is asked for.  For reclaim OPENs, no
confirmation is asked for but sequence ids are checked for both opens
and locks.

Spencer

_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www1.ietf.org/mailman/listinfo/nfsv4



