From nfs4-wg-request@sunroof.eng.sun.com  Mon May  1 04:51:18 2000
Received: from lukla.Sun.COM (lukla.Sun.COM [192.18.98.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id EAA22290
	for <nfsv4-archive@odin.ietf.org>; Mon, 1 May 2000 04:51:18 -0400 (EDT)
Received: from engmail1.Eng.Sun.COM ([129.146.1.13])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id CAA01786;
	Mon, 1 May 2000 02:51:12 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail1.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id BAA08076;
	Mon, 1 May 2000 01:50:57 -0700 (PDT)
Received: from engmail1.Eng.Sun.COM (engmail1 [129.146.1.13])
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e418ok715003
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 1 May 2000 01:50:47 -0700 (PDT)
Received: from venus.Sun.COM (venus.EBay.Sun.COM [129.150.69.5])
	by engmail1.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id BAA08071
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 1 May 2000 01:50:45 -0700 (PDT)
Received: from web3705.mail.yahoo.com (web3705.mail.yahoo.com [204.71.203.134])
	by venus.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id BAA15438
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 1 May 2000 01:50:45 -0700 (PDT)
Message-ID: <20000501085045.12041.qmail@web3705.mail.yahoo.com>
Received: from [202.54.64.130] by web3705.mail.yahoo.com; Mon, 01 May 2000 09:50:45 BST
Date: Mon, 1 May 2000 09:50:45 +0100 (BST)
From: =?iso-8859-1?q?kvs=20sivak?= <kvs_sivak@yahoo.co.uk>
Subject: regarding file REMOVE(NFSv4  Implementation)
To: nfsv4-wg@sunroof.eng.sun.com
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit

hi,
 regarding REMOVE oprn. on a NFS volume, consider the
scenario below:

   a process has opened file  "a", there by
establishing state at the server. Now if another
process wants to REMOVE file "a".
 what is the course of action when 
  1) Both the processes are on the same client .
       (The client will be able to determine that a  
        lock owner has established state for the file)
  2) The 2 processes reside on different clients.

 k.v.s
 k.siva
 
 

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie


From nfs4-wg-request@sunroof.eng.sun.com  Mon May  1 11:34:09 2000
Received: from lukla.Sun.COM (lukla.Sun.COM [192.18.98.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id LAA28467
	for <nfsv4-archive@odin.ietf.org>; Mon, 1 May 2000 11:34:08 -0400 (EDT)
Received: from engmail2.Eng.Sun.COM ([129.146.1.25])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id JAA08352;
	Mon, 1 May 2000 09:34:00 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail2.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id IAA20207;
	Mon, 1 May 2000 08:33:48 -0700 (PDT)
Received: from engmail1.Eng.Sun.COM (engmail1 [129.146.1.13])
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e41FXY715165
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 1 May 2000 08:33:34 -0700 (PDT)
Received: from lukla.Sun.COM (lukla.Central.Sun.COM [129.147.5.31])
	by engmail1.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id IAA06945
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 1 May 2000 08:33:33 -0700 (PDT)
Received: from mx01-ext.netapp.com (mx01-ext.netapp.com [198.95.224.34])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id JAA08051
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 1 May 2000 09:33:33 -0600 (MDT)
Received: (qmail 21443 invoked from network); 1 May 2000 16:01:01 -0000
Received: from herra.netapp.com (HELO herra.corp.netapp.com) (198.95.224.184)
  by mx01-ext.netapp.com with SMTP; 1 May 2000 16:01:01 -0000
Received: from black.eng.netapp.com (black.eng.netapp.com [10.100.4.79])
	by herra.corp.netapp.com (8.9.3/8.9.3/NTAP-1.0) with ESMTP id IAA00177;
	Mon, 1 May 2000 08:33:31 -0700 (PDT)
Received: by black.eng.netapp.com with Internet Mail Service (5.5.2650.21)
	id <J7N0Z6DM>; Mon, 1 May 2000 08:33:31 -0700
Message-ID: <641BC3DDCEB3D3118C3700902745938E8AB107@black.eng.netapp.com>
From: "Noveck, Dave" <Dave.Noveck@netapp.com>
To: "'kvs sivak'" <kvs_sivak@yahoo.co.uk>, nfsv4-wg@sunroof.eng.sun.com
Subject: RE: regarding file REMOVE(NFSv4  Implementation)
Date: Mon, 1 May 2000 08:33:30 -0700 
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"

As I remember this being discussed, there were two
sorts of behavior that might normally be expected,
corrsponding (loosely) to UNIX and NT views of the
world.  Warning: Looking at the section 14.2.26 in
Draft 6, it seems a bit at variance with my memory
so one or the other (or both) may be wrong.

One thing that I think that servers may do with a
REMOVE while a file is open is to reject it as an
error.  Looking at section 14.2.26, this doesn't 
seem to be mentioned, and there is no obvious fit
for the error that such a server would return.

The other possible reasonable behavior is to do
the UNIX thing of removing the name but leaving 
the file itself with the deletion of space, etc,
waiting for the file to be closed, just as happens
with local access today.  Since we have OPEN and
CLOSE in the protocol, the server has the information
to do this, although there may be some interesting
implementation challenges doing this correctly 
across a server reboot.

The text of 14.2.26 is somewhat at variance with this,
but I am not exactly sure what it is telling the 
server implementor to do.  It says, "The concept of last 
reference is server specific".  OK, but a reference
by means of an open file, isn't really server-specific,
it is part of the protocol.  Then it says that if
the file had only one link before the REMOVE, the
client should not "rely on referring to the object
via file handle".  Hey, that's the way we refer 
to open fles in this protocol so it's kind of 
hard to avoid, unless you just don't do the REMOVE
in the first place.  It then makes reference to the 
V3 trick of doing a RENAME instead of a REMOVE.

The problem with this is that it can only deal with
a REMOVE done in the same client; the server is still
going to have to deal with a REMOVE done by another
client.  I guess it could make the handle STALE in
this case, and it appears that would be legal as
the spec stands, even if highly anti-social.  In
the case in which the open was on the same client,
nothing bad would happen, if the client used the
RENAME trick, as the spec indicates he should, so
the result would be no worse than V3 behavior, if
the server were just to make the handle STALE.

I guess I still don't see the need to keep the 
RENAME trick a part of the protocol, given that
we have OPEN and CLOSE, but it appears that it is.
Servers, are free however, to do the right thing,
for all REMOVES when the target file is open, even 
though the spec doesn't make them do so.




-----Original Message-----
From: kvs sivak [mailto:kvs_sivak@yahoo.co.uk]
Sent: Monday, May 01, 2000 4:51 AM
To: nfsv4-wg@sunroof.eng.sun.com
Subject: regarding file REMOVE(NFSv4 Implementation)


hi,
 regarding REMOVE oprn. on a NFS volume, consider the
scenario below:

   a process has opened file  "a", there by
establishing state at the server. Now if another
process wants to REMOVE file "a".
 what is the course of action when 
  1) Both the processes are on the same client .
       (The client will be able to determine that a  
        lock owner has established state for the file)
  2) The 2 processes reside on different clients.

 k.v.s
 k.siva
 
 

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie


From nfs4-wg-request@sunroof.eng.sun.com  Tue May  2 05:39:40 2000
Received: from lukla.Sun.COM (lukla.Sun.COM [192.18.98.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id FAA26251
	for <nfsv4-archive@odin.ietf.org>; Tue, 2 May 2000 05:39:39 -0400 (EDT)
Received: from engmail3.Eng.Sun.COM ([129.144.170.5])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id DAA17973;
	Tue, 2 May 2000 03:39:32 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail3.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id CAA12170;
	Tue, 2 May 2000 02:39:04 -0700 (PDT)
Received: from engmail2.Eng.Sun.COM (engmail2 [129.146.1.25])
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e429cq715958
	for <nfsv4-wg@sunroof.eng.sun.com>; Tue, 2 May 2000 02:38:53 -0700 (PDT)
Received: from venus.Sun.COM (venus.EBay.Sun.COM [129.150.69.5])
	by engmail2.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id CAA19801
	for <nfsv4-wg@sunroof.eng.sun.com>; Tue, 2 May 2000 02:38:52 -0700 (PDT)
Received: from kang.tinet.ie (kang.tinet.ie [159.134.237.28])
	by venus.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id CAA06985
	for <nfsv4-wg@sunroof.eng.sun.com>; Tue, 2 May 2000 02:38:50 -0700 (PDT)
Received: from p340.as1.cork1.eircom.net ([159.134.217.84] helo=games)
	by kang.tinet.ie with smtp (Exim 2.05 #23)
	id 12mZ8b-0000U9-00; Tue, 2 May 2000 10:38:43 +0100
To: kvs_sivak@yahoo.co.uk, nfsv4-wg@sunroof.eng.sun.com,
        Dave.Noveck@netapp.com
From: Carl Beame <beame@eircom.net>
Sender: beame@eircom.net
Subject: RE: regarding file REMOVE(NFSv4  Implementation)
X-Originating-Host: games
Reply-To: beame@bws.com
In-Reply-To: <641BC3DDCEB3D3118C3700902745938E8AB107@black.eng.netapp.com>
Message-Id: <2000May02.103947+0100@games>
Date: 02 May 2000 10:39:12 +0100
MIME-Version: 1.0
X-Mailer: Hummingbird 32-bit EMail Client Version 5.1.0.25

On Mon May 01 16:33:30 2000, Noveck, Dave wrote:
> As I remember this being discussed, there were two
> sorts of behavior that might normally be expected,
> corrsponding (loosely) to UNIX and NT views of the
> world.  Warning: Looking at the section 14.2.26 in
> Draft 6, it seems a bit at variance with my memory
> so one or the other (or both) may be wrong.
> 
> One thing that I think that servers may do with a
> REMOVE while a file is open is to reject it as an
> error.  Looking at section 14.2.26, this doesn't 
> seem to be mentioned, and there is no obvious fit
> for the error that such a server would return.
> 
> The other possible reasonable behavior is to do
> the UNIX thing of removing the name but leaving 
> the file itself with the deletion of space, etc,
> waiting for the file to be closed, just as happens
> with local access today.  Since we have OPEN and
> CLOSE in the protocol, the server has the information
> to do this, although there may be some interesting
> implementation challenges doing this correctly 
> across a server reboot.
> 

Just a note that under NT, IF the user who opened the file for
"normal" manipulation allows FILE_SHARE_DELETE a second open can open
the file then set the file disposition to remove. When that file is
closed the name is removed from the directory and the file is removed
when all the remaining opens are closed.

- Carl



From nfs4-wg-request@sunroof.eng.sun.com  Fri May 12 10:41:33 2000
Received: from lukla.Sun.COM (lukla.Sun.COM [192.18.98.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id KAA02997
	for <nfsv4-archive@odin.ietf.org>; Fri, 12 May 2000 10:41:32 -0400 (EDT)
Received: from engmail2.Eng.Sun.COM ([129.146.1.25])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id IAA29921;
	Fri, 12 May 2000 08:41:29 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail2.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id HAA27466;
	Fri, 12 May 2000 07:39:34 -0700 (PDT)
Received: from engmail4.Eng.Sun.COM (engmail4 [129.144.134.6])
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e4CEao729431
	for <nfsv4-wg@sunroof.eng.sun.com>; Fri, 12 May 2000 07:36:52 -0700 (PDT)
Received: from lukla.Sun.COM (lukla.Central.Sun.COM [129.147.5.31])
	by engmail4.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id HAA15833
	for <nfsv4-wg@sunroof.eng.sun.com>; Fri, 12 May 2000 07:36:46 -0700 (PDT)
From: HomeLoans@wvvw.fsnet.co.uk
Received: from www ([202.96.104.217])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id IAA27105
	for <nfsv4-wg@sunroof.eng.sun.com>; Fri, 12 May 2000 08:36:42 -0600 (MDT)
Received: from 202.96.104.217 by www (SMI-8.6/SMI-SVR4)
	id GAA16162; Fri, 12 May 2000 06:54:25 -0700
Message-Id: <200005121354.GAA16162@www>
Date: Sat, 13 May 00 00:18:36 EST
To: HomeLoans@wvvw.fsnet.co.uk
Subject: Home Loans & Refinancing Available

Hit reply to be removed.

Homeowners, let the power of the internet
work for you.  Fill in our quick loan request form
and you will get competitive mortgage quotes
from 3 of over 150 lenders signed up
for our service.

When lenders compete you win.

Cash back refinances
No Equity 2nd Trust Deeds
Debt Consolidation
No Income Verification
The most competitive interest rates!


Lenders are standing by, ready to approve your
loan today!  They will contact you, often
minutes after filling in the form or when it's best 
for you.  

Visit this site: 

http://3518593971/bin/redirector.cgi?http://3498852624/?SP0505

(If web site doesn't come right up, please try back later)


-Save Time
-Save Money
-Save Aggravation

There is NEVER any fee to consumers for using this service.


_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
Copyright © 1999, 2000 eWorld Marketing, Inc. 1-888-418-2575. 
This is not a solicitation or offer to lend money. eWorld Marketing 
is not a lender, broker or other financial intermediary. We provide 
marketing services to the mortgage industry. 
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/


From nfs4-wg-request@sunroof.eng.sun.com  Sun May 14 06:15:12 2000
Received: from lukla.Sun.COM (lukla.Sun.COM [192.18.98.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id GAA06789
	for <nfsv4-archive@odin.ietf.org>; Sun, 14 May 2000 06:15:11 -0400 (EDT)
Received: from engmail3.Eng.Sun.COM ([129.144.170.5])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id EAA10010;
	Sun, 14 May 2000 04:14:57 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail3.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id GAA17520;
	Sat, 13 May 2000 06:00:56 -0700 (PDT)
Received: from engmail2.Eng.Sun.COM (engmail2 [129.146.1.25])
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e4DCtM700351;
	Sat, 13 May 2000 05:55:24 -0700 (PDT)
Received: from venus.Sun.COM (venus.EBay.Sun.COM [129.150.69.5])
	by engmail2.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id FAA20349;
	Sat, 13 May 2000 05:55:17 -0700 (PDT)
Received: from agr.dot.net.in ([202.54.57.132])
	by venus.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id FAA09332;
	Sat, 13 May 2000 05:55:13 -0700 (PDT)
Received: from asdhjdjk by agr.dot.net.in (8.8.8/1.1.20.3/03Feb00-0205PM)
	id SAA0000007762; Sat, 13 May 2000 18:18:42 +0500 (GMT+0500)
Message-Id: <200005131318.SAA0000007762@agr.dot.net.in>
From: "Ross Brook" <22ptm@safe-mail.net@dot.net.in>
Subject: You Can Win
To: lot989i@venus.Sun.COM
X-Mailer: Microsoft Outlook Express 4.72.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V(null).1712.3
Mime-Version: 1.0
Date: Sat, 13 May 2000 06:44:25 -0500
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by ietf.org id GAA06789

 
Are you interested in increasing your odds in
winning a lottery?  To find out how, reply to:
mailto:perr89@populus.net?subject=How_to_win
We will only respond if all of the
information below is completed.
Thanks for your time.

Name: _________________________________________

Email Address: __________________________________

Address __________________________________________

City ________________________ ST _____ ZIP __________

Phone  (_______)  ______________________Best time to call.




*****************************************************************
This message is sent in compliance of the new email bill section 301.
PerSection 301, Paragraph (a)(2)(C) of S. 1618, further transmissions
to
you by the sender of this email may be stopped
at no cost to you. This message is not intended for residents in
the State of WA, CA & VA Screening of addresses has been
done to the best of our technical ability.  If you are a Washington,
Virginia, or California resident please remove yourself.
=================================================================
If you wish to be removed from future mailings,
please Reply to:mailto:bbtt32@netscape.net?subject=remove






From nfs4-wg-request@sunroof.eng.sun.com  Sun May 14 08:02:06 2000
Received: from lukla.Sun.COM (lukla.Sun.COM [192.18.98.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id IAA07585
	for <nfsv4-archive@odin.ietf.org>; Sun, 14 May 2000 08:02:06 -0400 (EDT)
Received: from engmail1.Eng.Sun.COM ([129.146.1.13])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id GAA00573;
	Sun, 14 May 2000 06:01:58 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail1.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id EAA28722;
	Sun, 14 May 2000 04:58:25 -0700 (PDT)
Received: from engmail3.Eng.Sun.COM (engmail3 [129.144.170.5])
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e4EBpo700714
	for <nfsv4-wg@sunroof.eng.sun.com>; Sun, 14 May 2000 04:51:54 -0700 (PDT)
Received: from venus.Sun.COM (venus.EBay.Sun.COM [129.150.69.5])
	by engmail3.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id EAA02658
	for <nfsv4-wg@sunroof.eng.sun.com>; Sun, 14 May 2000 04:51:49 -0700 (PDT)
Received: from web3705.mail.yahoo.com (web3705.mail.yahoo.com [204.71.203.134])
	by venus.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id EAA02980
	for <nfsv4-wg@sunroof.eng.sun.com>; Sun, 14 May 2000 04:51:45 -0700 (PDT)
Message-ID: <20000514115139.262.qmail@web3705.mail.yahoo.com>
Received: from [202.54.64.130] by web3705.mail.yahoo.com; Sun, 14 May 2000 12:51:39 BST
Date: Sun, 14 May 2000 12:51:39 +0100 (BST)
From: =?iso-8859-1?q?kvs=20sivak?= <kvs_sivak@yahoo.co.uk>
Subject: regarding delegations
To: nfsv4-wg@sunroof.eng.sun.com
MIME-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
Content-Transfer-Encoding: 8bit

hi ,
 In implementing delegations what are the proper
semantics to be followed in the below scenarios :

1. A client is given a READ DELEGATION when a file is 
 opened. how does the CLIENT obtain the file data
initially ??
  a) As soon as delegated it reads the file data from
the server and caches it.
  b) Data arrives on the client ONLY WHEN the first
read request comes. this first read causes the client
to fetch the required data from the server (SUBSEQUENT
reads for THIS data are NOT SENT to the server in this
case ).

option b seems more logical and correct ..

2. A client is given a WRITE DELEGATION on a file .
now subsequent open's are processed by the CLIENT
itself. IF many processes at the client make
modifications at different offsets in the file ,what
should be the method adopted by the client to
guarantee CONSISTENCY of data to its various
processes:
  a) The client caches the changes locally and for any
read calls checks its cahces for updated data  and
returns the update data ..( This seems most IMPOSSIBLE
b'cos there is NO LIMIT on how much data the client is
required to cache ...)
  b) The client has a maximum cache size .
modifications are flushed to the server once the cache
size grows beyond this maximum.



____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie


From nfs4-wg-request@sunroof.eng.sun.com  Sun May 14 20:00:03 2000
Received: from lukla.Sun.COM (lukla.Sun.COM [192.18.98.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id UAA12378
	for <nfsv4-archive@odin.ietf.org>; Sun, 14 May 2000 20:00:02 -0400 (EDT)
Received: from engmail1.Eng.Sun.COM ([129.146.1.13])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id SAA15997;
	Sun, 14 May 2000 18:00:00 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail1.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id QAA24312;
	Sun, 14 May 2000 16:56:41 -0700 (PDT)
Received: from engmail3.Eng.Sun.COM (engmail3 [129.144.170.5])
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e4ENpY700952
	for <nfsv4-wg@sunroof.eng.sun.com>; Sun, 14 May 2000 16:51:37 -0700 (PDT)
Received: from venus.Sun.COM (venus.EBay.Sun.COM [129.150.69.5])
	by engmail3.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id QAA00208
	for <nfsv4-wg@sunroof.eng.sun.com>; Sun, 14 May 2000 16:51:33 -0700 (PDT)
From: Dave.Noveck@netapp.com
Received: from mx01-ext.netapp.com (mx01-ext.netapp.com [198.95.224.34])
	by venus.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id QAA17984
	for <nfsv4-wg@sunroof.eng.sun.com>; Sun, 14 May 2000 16:51:34 -0700 (PDT)
Received: (qmail 25115 invoked from network); 14 May 2000 23:55:10 -0000
Received: from herra.netapp.com (HELO herra.corp.netapp.com) (198.95.224.184)
  by mx01-ext.netapp.com with SMTP; 14 May 2000 23:55:10 -0000
Received: from tahoe.corp.netapp.com (tahoe.corp.netapp.com [10.10.22.112])
	by herra.corp.netapp.com (8.9.3/8.9.3/NTAP-1.0) with ESMTP id QAA12976;
	Sun, 14 May 2000 16:51:32 -0700 (PDT)
Received: by tahoe.corp.netapp.com with Internet Mail Service (5.5.2650.21)
	id <KX90QVP0>; Sun, 14 May 2000 16:50:01 -0700
Message-ID: <641BC3DDCEB3D3118C3700902745938E8AB14A@black.eng.netapp.com>
To: kvs_sivak@yahoo.co.uk, nfsv4-wg@sunroof.eng.sun.com
Subject: RE: regarding delegations
Date: Sun, 14 May 2000 16:51:29 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"

> hi ,
>  In implementing delegations what are the proper
> semantics to be followed in the below scenarios :

There shouldn't be any semantic issues here.  The 
essence of the delegation should be to assure that
for both 1. and 2., a) and b) and other choices are
semantically equivalent.  It is up to the client to
do whatever is most convenient.
 
> 1. A client is given a READ DELEGATION when a file is 
>  opened. how does the CLIENT obtain the file data
> initially ??
>   a) As soon as delegated it reads the file data from
> the server and caches it.
>   b) Data arrives on the client ONLY WHEN the first
> read request comes. this first read causes the client
> to fetch the required data from the server (SUBSEQUENT
> reads for THIS data are NOT SENT to the server in this
> case ).
> 
> option b seems more logical and correct ..

There isn't any correctness issue.  The data can't change
while you have a read delegation outstanding so the results
ar going to be the same.  From an implementation point of
view you don't want to waste bandwidth reading a big file
that is not going to used, so I would wait for the first 
read to read anything more than a single block and then 
read a fairly large amount after that but not the whole
file if it was enormous.  This is all client implementation
choice, rather than semantics.  You just have to make sure
that if you read a lot of data ahead, you throw it away if
the delegation is recalled.

> 
> 2. A client is given a WRITE DELEGATION on a file .
> now subsequent open's are processed by the CLIENT
> itself. IF many processes at the client make
> modifications at different offsets in the file ,what
> should be the method adopted by the client to
> guarantee CONSISTENCY of data to its various
> processes:
>   a) The client caches the changes locally and for any
> read calls checks its cahces for updated data  and
> returns the update data ..( This seems most IMPOSSIBLE
> b'cos there is NO LIMIT on how much data the client is
> required to cache ...)
>   b) The client has a maximum cache size .
> modifications are flushed to the server once the cache
> size grows beyond this maximum.

For correctness, you have to check dirty data in your cache
before sending a read to the server.  However, you are free
at any time to write dirty data in your cache to the server.
Once the data is written and committed to stable stroage,
you can eliminate from your cache, or at least mark it is
not dirty.  Clearly, since your cache is not infinite,
you have to do this at some point, but the protocol doesn't
specify when you do it.  The only thng you need to do for
correctness, is flush the dirty data when the write delegation
is reaclled.  As long as the write delegation is in effect,
no other client can read the file so it can never see an
inconsistent state in which only some of your changes have 
been sent to the server.

 


From nfs4-wg-request@sunroof.eng.sun.com  Tue May 16 18:26:07 2000
Received: from lukla.Sun.COM (lukla.Sun.COM [192.18.98.31])
	by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA13470
	for <nfsv4-archive@odin.ietf.org>; Tue, 16 May 2000 18:26:07 -0400 (EDT)
Received: from engmail3.Eng.Sun.COM ([129.144.170.5])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id QAA28722;
	Tue, 16 May 2000 16:26:03 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail3.Eng.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id PAA08663;
	Tue, 16 May 2000 15:25:32 -0700 (PDT)
Received: from engmail2.Eng.Sun.COM (engmail2 [129.146.1.25])
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e4GMNR702956;
	Tue, 16 May 2000 15:23:27 -0700 (PDT)
Received: from venus.Sun.COM (venus.EBay.Sun.COM [129.150.69.5])
	by engmail2.Eng.Sun.COM (8.9.3+Sun/8.9.3/ENSMAIL,v1.7) with ESMTP id PAA03467;
	Tue, 16 May 2000 15:23:26 -0700 (PDT)
From: Opera9@flash.net
Received: from opera (ip139.cincinnati13.oh.pub-ip.psi.net [38.31.49.139])
	by venus.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id PAA21454;
	Tue, 16 May 2000 15:23:23 -0700 (PDT)
Message-Id: <200005162223.PAA21454@venus.Sun.COM>
Subject: Best New Trade Show Display by Opera Portables, Inc. adv
Date: Tue, 16 May 2000 18:18:52 -0500
X-Sender: Opera9@flash.net
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.1
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Priority: 3
X-MSMail-Priority: Normal

Opera Portables, Inc. is offering "by invitation" visits to our web site.  Packed full of exciting projects and news, Opera is leading the industry with displays that are as much eye-popping as they are eye catching.

Winner of numerous industry awards, including Ernst & Young's Crescendo Award, Exhibitor Magazine's Best New Product, Forty Under 40 and Emerging 30, Opera Portables is a progressive young company with imagination and vision.

If you use displays, you really owe it to yourself to check out our stuff!   Go to http://3637331613/

Opera Portables, Inc.

All removes honored at http://3637331613/removes.htm


