From nfs4-wg-request@sunroof.eng.sun.com  Sun Apr  2 13:16:42 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 NAA25420
	for <nfsv4-archive@odin.ietf.org>; Sun, 2 Apr 2000 13:16:41 -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 LAA05403;
	Sun, 2 Apr 2000 11:15:51 -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 KAA22736;
	Sun, 2 Apr 2000 10:14:59 -0700 (PDT)
Received: from engmail2.Eng.Sun.COM (engmail2 [129.146.1.25])
	by sunroof.eng.sun.com (8.10.1.Beta0+Sun/8.10.1.Beta0) with ESMTP id e32HE4N25028;
	Sun, 2 Apr 2000 10:14:04 -0700 (PDT)
Received: from lukla.Sun.COM (lukla.Central.Sun.COM [129.147.5.31])
	by engmail2.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id KAA13026;
	Sun, 2 Apr 2000 10:14:01 -0700 (PDT)
Received: from onyx.altkom.com.pl ([157.25.166.66])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id LAA05150;
	Sun, 2 Apr 2000 11:13:49 -0600 (MDT)
Message-Id: <200004021713.LAA05150@lukla.Sun.COM>
Received: from kllklk ([38.26.242.97]) by onyx.altkom.com.pl
          (Netscape Mail Server v2.02) with ESMTP id AAA15954;
          Sun, 2 Apr 2000 19:10:06 +0200
From: "John" <rttm@angelfire.com>
Subject: The Best
To: in87h@lukla.Sun.COM
X-Mailer: Mozilla 4.70 [en] (Win95; I)
Mime-Version: 1.0
Date: Sun, 02 Apr 2000 11:52:51 -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 NAA25420

              
WE MAKE IT EASY & AFFORDABLE TO ACCEPT CREDIT CARDS FOR YOUR BUSINESS
!
 
INTERNET (Auction Vendors & Online Mall Stores Too!)
STOREFRONT OR MAIL ORDER MERCHANTS

WE SPECIALIZE IN APPROVING YOU!
 

APPLY TODAY AND START FOR JUST $9.95!

FREE APPLICATION!!
FREE PROGRAMMING!!

DON'T LOSE ANOTHER SALE!

APPLY TO ACCEPT CREDIT CARDS 
AND CALL (888) 264-9272 
 

DON'T FORGET TO ASK ABOUT OUR WEB DESIGN AND HOSTING PACKAGE !!!



*********************************************************************
**
If you receive this message and have never joined one of our email 
lists you can be removed  by replying to:
mailto:bnm99t@usa.net?subject=remove
*********************************************************************
**





From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr  3 23:37:25 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 XAA05636
	for <nfsv4-archive@odin.ietf.org>; Mon, 3 Apr 2000 23:37:24 -0400 (EDT)
Received: from engmail4.Eng.Sun.COM ([129.144.134.6])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id VAA01960;
	Mon, 3 Apr 2000 21:36:43 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail4.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id UAA09609;
	Mon, 3 Apr 2000 20:36:08 -0700 (PDT)
Received: from engmail3.Eng.Sun.COM (engmail3 [129.144.170.5])
	by sunroof.eng.sun.com (8.10.1.Beta0+Sun/8.10.1.Beta0) with ESMTP id e343ZoN26003;
	Mon, 3 Apr 2000 20:35:51 -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 UAA03341;
	Mon, 3 Apr 2000 20:35:49 -0700 (PDT)
Received: from cc.archtek.com.tw (cc.archtek.com.tw [203.67.59.20])
	by venus.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id UAA03970;
	Mon, 3 Apr 2000 20:35:47 -0700 (PDT)
Received: from kllklk (cranston-ip-2-44.dynamic.ziplink.net [209.206.5.44]) by cc.archtek.com.tw (8.6.12/8.6.9) with ESMTP id LAA19953; Tue, 4 Apr 2000 11:35:49 +0800
Message-Id: <200004040335.LAA19953@cc.archtek.com.tw>
From: "Nancy" <bbmn@mail1st.com>
Subject: You Can Retire in 2 years...
To: linup08j@cc.archtek.com.tw
X-Mailer: Mozilla 4.50 [en] (Win95; I)
Mime-Version: 1.0
Date: Mon, 03 Apr 2000 22:22:40 -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 XAA05636

I'm looking for quality individuals serious about earning a minimum
 of $10,000 a month, and this is not MLM.  Are you serious about
 earning that type of money?

Call toll free 24hrs/ 1-800-320-9895 ext 8702

/////////////////////////////////////////////////////////////////////
/
Please remove at:
mailto:bbmn@linuxmail.org?subject=remove
//////////////////////////////////////////////////////////////////////





From nfs4-wg-request@sunroof.eng.sun.com  Fri Apr  7 13:08:23 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 NAA12751
	for <nfsv4-archive@odin.ietf.org>; Fri, 7 Apr 2000 13:08:22 -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 LAA20273;
	Fri, 7 Apr 2000 11:07:47 -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 KAA09122;
	Fri, 7 Apr 2000 10:05:47 -0700 (PDT)
Received: from jurassic.eng.sun.com (jurassic [129.146.89.31] (may be forged))
	by sunroof.eng.sun.com (8.10.1.Beta0+Sun/8.10.1.Beta0) with ESMTP id e37H5WN29417
	for <nfsv4-wg@sunroof.eng.sun.com>; Fri, 7 Apr 2000 10:05:32 -0700 (PDT)
Received: from eng.sun.com (dsl196-127.Eng.Sun.COM [129.146.196.127])
	by jurassic.eng.sun.com (8.10.1.Beta0+Sun/8.10.1.Beta0) with ESMTP id e37H5T7494404;
	Fri, 7 Apr 2000 10:05:29 -0700 (PDT)
Sender: Spencer.Shepler@eng.sun.com
Message-ID: <38EE1552.B7ECA36F@eng.sun.com>
Date: Fri, 07 Apr 2000 12:05:22 -0500
From: Spencer Shepler <shepler@eng.sun.com>
Organization: Sun Microsystems, Inc.
X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.6 sun4u)
X-Accept-Language: en
MIME-Version: 1.0
To: "nfsv4-wg@sunroof.eng.sun.com" <nfsv4-wg@sunroof.eng.sun.com>
Subject: Upcoming draft-07 for NFSv4
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Transfer-Encoding: 7bit


Vern Paxson, our (ex)area advisor, has completed his review
of draft-ietf-nfsv4-06.txt and supplied the authors with
his comments (I have included them below).  Nothing major but
the document does need to be updated. 

I will be working on that update and intend to have it completed
as soon as possible.  Since the document will receive and update,
I will take the opportunity to add the couple of error codes that
are missing and update the VERIFY/NVERIFY ops to remove the
redundant bitmap.  I will keep the WG updated as to my changes
and progress.

Spencer

p.s. Also included below are David Robinson's response to some
of Vern's original issues.

-------------------------
[Vern's original comments]

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

>    Lease     An interval of time defined by the server for which the
>              client is irrevokeably granted a lock.  At the end of a

typo, irrevocably

>              All leases granted by a server have the same fixed
>              interval.

Why is this?  (It may be explained later, but I don't recall.  If so,
perhaps it would help to add here "(for reasons explained in section X.Y)".

>         This data type is used to pass time and date information.  A
>         server converts to and from local time when processing time
>         values, preserving as much accuracy as possible. If the

It's easy to misread this sentence as saying something about time zones
(i.e., presuming that the server stores time in the local time zone).
Perhaps fixed with somethiung like "to and from its local representation
of time"?

>         set time values.  If set_it is SET_TO_SERVER_TIME4, then the
>         server uses its local time for the time value.

(same here)

>    If TCP is used as the transport, the client and server SHOULD use
>    persistent connections.  This will prevent the weakening of TCP's
>    congestion control via short lived connections.

It also improves performance (no SYN handshake required), a major win
over a WAN.

>    a filehandle for another file system object.  If the server needs to
>    reuse a filehandle value, the time elapsed before reuse SHOULD be
>    large enough that it is likely the client no longer has a cached copy
>    of the reused filehandle value.

What's a recommended value for "large enough"?

>    FH4_VOLATILE_ANY
>         The filehandle may expire at any time and will expire on during

expire on -> expire

>    Servers which provide volatile filehandles should deny a RENAME or
>    REMOVE that would effect an OPEN file or any of the components

effect -> affect

>    cansettime         15   boolean        READ     Whether or not this
>                                                    object's file system
>                                                    can fill in the times
>                                                    on a SETATTR request
>                                                    without an explicit
>                                                    time.

It's not clear what this means ("without an explicit time").


>    case_insensitive   16   boolean        READ     Are filename
>                                                    comparisons on this
>                                                    file system case
>                                                    insensitive?
> 
>    case_preserving    17   boolean        READ     Is filename case on
>                                                    this file system
>                                                    preserved?

Are these well-defined for non-ASCII character sets?

>    homogeneous        26   boolean        READ     Whether or not this
>                                                    object's file system
>                                                    is homogeneous, i.e.
>                                                    whether pathconf is
>                                                    the same for all file
>                                                    system objects.

"pathconf" is not defined.

>    numlinks           35   uint32         READ     Number of links to
>                                                    this object.

Might clarify that these are hard links.

>    owner_group        37   utf8<>         R/W      The string name of
>                                                    the group of the
>                                                    owner of this object.

This is confusing - it sounds like it's the owner's group, but instead
it should be the group associated with the object, right?

>    rawdev             41   specdata4      READ     Raw device
>                                                    identifier.

What is this used for?  Things like "df" output?

>    time_access        47   nfstime4       READ     The time of last
>                                                    access to the object.
> 
>    time_access_set    48   settime4       WRITE    Set the time of last
>                                                    access to the object.
>                                                    SETATTR use only.
> 
>    time_backup        49   nfstime4       R/W      The time of last
> ...
>    time_create        50   nfstime4       R/W      The time of creation
>                                                    of the object. This

How come there aren't _set forms for backup and create?  Seems both
are needed, particularly time_backup.

>    quota_avail_soft
>         The value in bytes which represents the amount of additional
>         disk space that can be allocated to this file or directory
>         before the user may reasonably be warned.  It is understood that
>         this space may be consumed by allocations to other files or
>         directories though there is a rule as to which other files or
>         directories.

What does it matter that there's a rule regarding which other files?

>    quota_avail_hard
>         The value in bytes which represent the amount of additional disk
>         space beyond the current allocation that can be allocated to
>         this file or directory before further allocations will be
>         declined.  It is understood that this space may be consumed by

"declined" reads more easily as "refused", otherwise it can be confused
with lowering the quota.

>    ACE4_SUCCESSFUL_ACCESS_ACE_FLAG
> 
>    ACL4_FAILED_ACCESS_ACE_FLAG
> 
>    Both indicate for AUDIT and ALARM which state to log the event.  On
>    every ACCESS or OPEN call which occurs on a file or directory which
>    has an ACL that is of type ACE4_SYSTEM_AUDIT_ACE_TYPE or
>    ACE4_SYSTEM_ALARM_ACE_TYPE, the attempted access is compared to the
>    ace4mask of these ACLs. If the access is a subset of ace4mask and the
>    identifier match, an AUDIT trail or an ALARM is generated.  By
>    default this happens regardless of the success or failure of the
>    ACCESS or OPEN call.

The last sentence is confusing.  If it happens "regardless of the success
or failure of the ACCESS or OPEN call", then why are there "SUCCESSFUL" and
"FAILED" variants?

>    The bitmask constants used to for the flag field are as follows:

used to for -> used for

>    DELETE                 Permission to Delete the File

downcase "File"

>    SYNCHRONIZE            Permission to access file locally at the
>                           server with synchronous reads and writes

This needs some elaboration.  Why does it matter whether the local access
is synchronous or asynchronous?  Is there any ACE associated with the latter?

>    The bitmask constants used to for the access mask field are as

used to for -> used for

>    Who                    Description
>    _______________________________________________________________
>    "OWNER"                The owner of the file.
>    "GROUP"                The group associated with the file.
>    "EVERYONE"             The world.
>    "INTERACTIVE"          Accessed from an interactive terminal.
>    "NETWORK"              Accessed via the network.
>    "DIALUP"               Accessed as a dialup user to the server.
>    "BATCH"                Accessed from a batch job.
>    "ANONYMOUS"            Accessed without any authentication.
>    "AUTHENTICATED"        Any authenticated user (opposite of
>                           ANONYMOUS)
>    "SERVICE"              Access from a system service.

These smack of legacy support.  If so, it would be helpful to identify
which systems are being supported.

>    If the client requests more attributes than fs_locations, the server

Reads easier if it's "more attributes than [just] fs_locations"

>    The server implementor needs to be careful in developing a migration
>    solution.  The server must consider all of the state information
>    clients may have outstanding at the server.  This includes but is not
>    limited to locking/share state, delegation state, and asynchronous
>    file writes which are represented by WRITE and COMMIT verifiers.  The

Are there any others known besides the "includes but is not limited to" list?
It's the "not limited to" that threw me ...

>    properly.  However with the support of multiple security mechanisms

Comma after However

>         systems have the same address.  In this case, the result is
>         a switched union that returns in addition to
>         NFS4ERR_CLID_INUSE, the network address (the rpcbind netid

Add comma: "returns, in addition"

>         the request is returned in error.  For more discussion of
>         crash recovery semantics, see the section on "Crash
>         Recovery"

Add period.

>         To mitigate retransmission of the SETCLIENTID operation,
>         the client and server use a confirmation step.  The server
>         returns a confirmation verifier that the client then sends
>         to the server in the SETCLIENTID_CONFIRM operation.  Once
>         the server receives the confirmation from the client, the
>         locking state for the client is released.

The need for the confirmation needs to be clarified using an example.

>    receives a NFS4ERR_STALE_STATEID error using a stateid derived from
>    its current clientid since this also indicates a server reboot which

add comma after clientid

>    If the server determines that the client holds no associated state
>    for its clientid and no activity from that client has been received
>    some long period of time, the server may choose to release the

Need advice on the suggested "long period of time".

>    clients.  If the client contacts the server after the this release,

the this -> this

>    locked range, the stateid (previously returned by the server) must be
>    used to indicate that appropriate lock (record or share) is held.  If

that the appropriate lock

>    Locking is different than most NFS operations as it requires "at-
>    most-one" semantics that are not provided by ONCRPC.  In the face of

Mention here that even if over TCP, retransmissions can occur due to
failed-and-then-reestablished TCP connections.

>    If a request with a previous sequence number (r < L) is received, it
>    is rejected with the return of error NFS4ERR_BAD_SEQID.  Given a
>    properly-functioning client, the response to (r) must have been
>    received before the last request (L) was sent.  If a duplicate of

Can't there in principle be concurrent RPCs, which means that a response
might not have been received before the last request was sent?

>    The client is discouraged from coalescing adjacent ranges since the
>    server may not support sub-range requests and for reasons related to

Not clear what it means here to coalesce an adjacent range.

>    The server should take care in the length of delay in the event the
>    client retransmits the request.

This shouldn't happen when using TCP, other than for TCP connection failure,
which takes many minutes to occur.

>    Clients should be prepared for the return of NFS4ERR_GRACE errors for
>    non-reclaim lock and I/O requests.  In this case the client should
>    employ a backoff and retry mechanism for the request.  Timeout

Need more specifics explaining how the backoff should work.  (Should it
be exponential?)

>    In the event of a network partition with a duration extending beyond
>    the expiration of a client's leases, the server MUST employ a method
>    of recording this fact in its stable storage.  Conflicting locks

How can the server know if there's a network partition?  It looks the same
as the client being down, from its perspective.

>    by the client.  As a result of revocation, the client will receive an
>    error of NFS4ERR_EXPIRED and the error is received within the lease
>    period for the lock.  In this instance the client may assume that

Seems there's a race here - "within the least period of the lock" isn't
tightly defined.  This is worth commenting on even if it really shouldn't
come up in practice (in which case, that's part of the comment).

>    The LOOKUP operation is preserved and will return a filehandle

Unclear what "preserved" means here.

>    In the event the client reboots or restarts, the failure to renew
>    leases will result in the revocation of record locks and share
>    reservations.  Delegations, however, may treated a bit differently.

may treated -> may be treated

>    with these delegations will need to wait.  This behavior is
>    consistent with the normal recall process may take significant time
>    because of the client's need to flush state to the server.  This

"This behavior" sentence is quite hard to parse.

>         achieve its purpose.  The other aspect to flushing the data
>         before close is that the data must be committed to stable
>         storage before the CLOSE operation is requested by the client.

It's unclear whether this means committed to stable storage *locally at
the client* or *on the server*.  Presumably, it's the latter, since the
client might not have any stable storage.  This occurs again later:

>    The data that is written to the server as a pre-requisite to the
>    unlocking of a region must be written to stable storage.  The client


>    the request using the client's validated cache.  If an appropriate
>    file lock is not held for the range of the read or write, the read or
>    write request must not be satisfied by the client's cache and the
>    request sent to the server for processing.  When a read or write

"request [must be] sent to the server ..."

>    o    For a write open delegation, if, at the time of recall, if the
>         file is not open for write, all modified data for the file must
>         be flushed to the server.  If the delegation had not existed,

"if ... if" in the first sentence scans awkwardly.


>         ... If the delegation had not existed,
>         the client would have done this data flush before the CLOSE
>         operation.

This is at odds with the last bullet:

>    o    Any modified data for the file needs to be flushed to the the
>         server.

which sounds like the flush is done anyway.

Also, "the the" -> "the"

>    In the case of modified data existing in the client's cache, that
>    data must be removed from the client without it being written to the
>    server.

Explain why this is necessary.

>    open file or on the close.  Where the methods available to a client
>    to make such notification impossible because errors for certain

"to make" -> "make"

>    READDIR operations.  Just as in the cases of attribute and name
>    caching inconsistencies may arise among the various client caches.

add comma after "caching"

>    To mitigate the effects of these inconsistencies and given the
>    context of typical file system APIs, the following rules should be
>    followed:

Add comma after "inconsistencies"

>    are are consecutively allocated), and normalize their offsets to a

are are -> are

>    table that fits in 7 bits.  Thus it is determined that "lower case
>    alpha" is in the same position as "upper case a" in the US-ASCII
>    table, and "upper case alpha" is in the same position as "lower case
>    a" in the US-ASCII table.

Is it really backwards as this sentence says, that lower case alpha is
in the same position as *upper* case a, and vice versa?

>    If the NFS version 4 protocol used a universal 16 bit or 32 bit
>    character set (or a encoding of a 16 bit or 32 bit character set into

a encoding -> an encoding

>    UTF       UCS transformation format.

Explain what this means.

>    a status code (normally zero).  If an operation results in a non-zero
>    status code, the status will be encoded and evaluation of the
>    compound sequence will halt and the reply will be returned.

(You might add that this is even for de facto "non error" conditions,
such as NFS4ERR_SAME.)

>    When an operation is successfully completed at the server, the client
>    can depend that any data associated with the request is now on stable
>    storage.  This implies that any previous operations within the same

Need to qualify this with the possibility of doing an UNSTABLE4 write.
Otherwise the reader wonders whether all writes have to be synchronous.

>      series of operations.  This is useful in operating systems (such as
>      UNIX) where permission checking is done only when a directory is
>      opened.  The intent is to make the behavior of opening a remote
>      file more consistent with the behavior of opening a local file.

I didn't understand the comment about permission checking; perhaps because
I have only the UNIX model in my head, so it might help to add an example
from another OS.

>      This operation should also be used by clients which do have
>      delegation information on stable storage after doing all of
>      delegation recovery that is needed.  Using DELEGPURGE will prevent

I found this sentence confusing.

> 14.2.1.  Operation 3: ACCESS - Check Access Rights

It doesn't say what happens to the current file handle for a call to ACCESS.
There are some others for which this is missing, I believe, too.

>      Operations that change the current filehandle like LOOKUP or CREATE
>      do not automatically return the new filehandle as a result.  For

(why don't they?  Because the old filehandle is often handy to still have
around?)

> 14.2.9.  Operation 11: LINK - Create Link to a File

There shoud probably be a cross-pointer here to CREATE and symbolic links.

>      In the case that the lock is denied, the the owner, offset, and

the the -> the

>              PUTFH  (directory filehandle)
>              LOOKUP "pub"
>              GETFH
>              LOOKUP "foo"
>              GETFH
>              LOOKUP "bar"
>              GETFH

Explain why the GETFH's are needed.

>      directory is a server mountpoint.  Unix clients that detect a
>      mountpoint crossing will need to mount the server's filesystem.

Explain why they need to - seems the server will happily continue serving
them even though they've crossed a mountpoint.

>      In the case that a client issues an OPEN operation and the server
>      no longer has a record of the nfs_lockowner, the server needs
>      ensure that this is a new OPEN and not a replay or retransmission.
> 
>      A lazy server implementation might require confirmation for every
>      nfs_lockowner for which it has no record.  However, this is not
>      necessary until the server records the fact that it has disposed of
>      one nfs_lockowner for the given clientid.

It would help to explain exactly what problem we're trying to avoid here
(what might happen).

>      first one is a replay.  The server cancels the OPEN state of the
>      first OPEN requests, establishes an unconfirmed OPEN state for the

requests -> request

>    The access and deny bits speicifed in this operation replace the

speicifed -> specified

>    are subsets of those already granted, it is is not possible for this
>    request to denied because of conflicting share reservations.

is is -> is
to denied -> to be denied

>      If the read ended at the end-of-file (formally, in a correctly
>      formed READ request, if offset + count is equal to the size of the
>      file), eof is returned as TRUE; otherwise it is FALSE. A successful
>      READ of an empty file will always return eof as TRUE.

This sounds like the case of attempting read beyond the end of the file
(offset + count > size of the file) will return EOF as FALSE.  Is
that right??

>      data. If the server returns less than the count requested and eof
>      set to FALSE, the client should issue another READ to get the

eof set -> eof is set
        reads more clearly

>      several circumstances. The file may have been truncated by another
>      client or perhaps on the server itself, changing the file size from
>      what the requesting client believes to be the case. This would

Another possibility is that the client hasn't bothered to computed exactly
what size reads it should issue to precisely consume the file, right?

>      This value is the XDR encoded length of the name of the directory
>      entries and the cookie value for the entries.  The server may

It's easy to misread this sentence as saying "the value is itself XDR
encoded, and it's a length" rather than "the value is a length of an
XDR-encoded object"

>      On successful return, the server's response will provide a list of
>      directory entries.  Each of these entries contains the name of the
>      directory entry, a cookie value for that entry, and the associated

Each entry has a cookie?  Why?  So the client can pick up reading at
any one of them?  Is that indeed needed?

>      Ideally, the cookie value should not change if the directory is
>      modified.

Explain why - what happens if it does?

>      response.  To enable some client environments, the cookie values of
>      0, 1, and 2 are to be considered reserved.  For READDIR arguments,

How can the client care about these magic cookie values, when it's already
stated that they're opaque to the client?  It sounds like something more
is going on here (i.e., a particular legacy feature/hack is being supported),
and it would be helpful to spell it out.

>      Since the server will not be returning "." and ".." entries as has

Since the server -> Since some servers

>      The READLINK operation is only allowed on objects of type, NF4LNK.

Delete comma

>      resources (disk space, directory entry, and so on.) formerly

Delete period

>      the file will still be accessible. The usual mechanism used is to
>      use RENAME to rename the file from its old name to a new hidden
>      name.

This would read more easily if "use RENAME to rename" -> "RENAME"

>      The stateid is necessary for SETATTRs that change the size of file

size of file -> size of a file

>      The principal or principal to user identifier mapping is taken from

This reads awkwardly.

>      existing clientids.  If the client is a traditional host based

host based -> host-based

>      the host credential.  If the client is a user level client or light
>      weight client, the credential used may be the end user's

light weight -> lightweight

>      The client must use the SETCLIENTID_CONFIRM operation to confirm
>      its use of client identifier.  Once the server receives the valid
>      confirmation, all state previously held by the client (if
>      applicable) is kept until the receipt of the SETCLIENTID_CONFIRM is
>      successful.  Upon successful confirmation the server will release

This is confusing - it sounds like "once the server receives the valid
SETCLIENTID_CONFIRM confirmation, it keeps all state until it receives
a SETCLIENTID_CONFIRM", but of course it just did ...

>      struct WRITE4resok {
>              count4          count;
>              stable_how4     committed;
>        verifier4writeverf;
>      };

Is this last supposed to be indented and given a name "verf"?  That's
what appears to be the case from the text.

>      Some implementations may return NFS4ERR_NOSPC instead of
>      NFS4ERR_DQUOT when a user's quota is exceeded.

Why is that?

> 15.2.  Procedure 1: CB_COMPOUND - Compound Operations
> 
> ...
>    ERRORS
> 
>      All errors defined in the protocol

(actually, it can't return them all, or even close ...)

>      The client returns attrbits and the associated attribute values
>      only for attributes that it may change (change, time_modify,
>      object_size).  It may further limit the response to attributes that
>      it has in fact changed during the scope of the delegation.

Why would it bother limiting the response to just those that have
changed?  Surely this is a very minor savings ... ?

>    via an information RFC.  This will provide for interoperability where

an information -> an Informational

>            NFS4ERR_STALE           = 70,
>            NFS4ERR_BADHANDLE       = 10001,

Why the skip in numbering between these two?

>    /*
>     * ACE4_GENERIC_WRITE -- defined as combination of
>     *      ACE4_READ_ACL |
>     *      ACE4_WRITE_DATA |
>     *      ACE4_WRITE_ATTRIBUTES |
>     *      ACE4_WRITE_ACL |
>     *      ACE4_APPEND_DATA |
>     *      ACE4_SYNCHRONIZE
>     */
>    const ACE4_GENERIC_WRITE = 0x00160102;

The constant is missing ACE4_APPEND_DATA, it should be 0x00160106.

-------------------------
[David's responses]

-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
> >              All leases granted by a server have the same fixed
> >              interval.
> 
> Why is this?  (It may be explained later, but I don't recall.  If so,
> perhaps it would help to add here "(for reasons explained in section X.Y)".

This was discussed on the alias over a year ago.  While it is in theory
possible to have variable length leases it would greatly complicate
the protocol.  The basis of the recovery mechanism is that the
server has to maintain very little state about who has what files
open. If a different lease interval was given out to different clients
or different files, the server would need to maintain a list of all
files and clients with each lease interval in order to ensure that
all clients can reclaim their lease before granting any new leases.
To maintain such a record requires a stable writing on every lease
based operation which can be expensive.  If all that state is not maintained
then the server must wait until the longest possible lease interval
before granting any new leases.  So in the interest of performance and
simplicity leases are all fixed.  A very smart server could maintain
different degrees of state in non-volatile storage, at the extreme
it maintains all state and requires no grace period and just restarts.
Again, this allows a simple implementation but doesn't prohibit
complex performanance enhancements.

[Spencer, let me know if you need help clarifying the text on this.]

> >    rawdev             41   specdata4      READ     Raw device
> >                                                    identifier.
> 
> What is this used for?  Things like "df" output?

No. Unix device major/minor node information.

> >    Locking is different than most NFS operations as it requires "at-
> >    most-one" semantics that are not provided by ONCRPC.  In the face of
> 
> Mention here that even if over TCP, retransmissions can occur due to
> failed-and-then-reestablished TCP connections.

You are correct. Spencer, how about adding "ONCRPC over a reliable
transport is not sufficient because a sequence of locking requests may
span multiple TCP connections."

> >    If a request with a previous sequence number (r < L) is received, it
> >    is rejected with the return of error NFS4ERR_BAD_SEQID.  Given a
> >    properly-functioning client, the response to (r) must have been
> >    received before the last request (L) was sent.  If a duplicate of
> 
> Can't there in principle be concurrent RPCs, which means that a response
> might not have been received before the last request was sent?

Yes there may be concurrent RPCs, but there will never be concurrent
lock requests outstanding by the same lock owner.  There are no know
operating systems that allow multiple concurrent outstanding lock requests on
the same file by the same process. If one is found it could probably
be finessed by a synchronization in the client.

> >    The client is discouraged from coalescing adjacent ranges since the
> >    server may not support sub-range requests and for reasons related to
> 
> Not clear what it means here to coalesce an adjacent range.

"The client is discouraged from combining multiple independant
locking ranges that happen to be adjacent into a single request
since the server may not..."

> >    The server should take care in the length of delay in the event the
> >    client retransmits the request.
> 
> This shouldn't happen when using TCP, other than for TCP connection failure,
> which takes many minutes to occur.

The standard requires TCP, but the protocol is designed for UDP
and other unreliable transports. So minutes can easily be seconds.

> >    Clients should be prepared for the return of NFS4ERR_GRACE errors for
> >    non-reclaim lock and I/O requests.  In this case the client should
> >    employ a backoff and retry mechanism for the request.  Timeout
> 
> Need more specifics explaining how the backoff should work.  (Should it
> be exponential?)

Exponential or at least wording to state a backoff algorithm that will
not cause lock step retries and failures.

> >    In the event of a network partition with a duration extending beyond
> >    the expiration of a client's leases, the server MUST employ a method
> >    of recording this fact in its stable storage.  Conflicting locks
> 
> How can the server know if there's a network partition?  It looks the same
> as the client being down, from its perspective.

You are correct.  The text is confusing, better would be to change
it to be "If the server continues to hold locks beyond the expiration ..."
Why it holds it is not important.

> >    by the client.  As a result of revocation, the client will receive an
> >    error of NFS4ERR_EXPIRED and the error is received within the lease
> >    period for the lock.  In this instance the client may assume that
> 
> Seems there's a race here - "within the least period of the lock" isn't
> tightly defined.  This is worth commenting on even if it really shouldn't
> come up in practice (in which case, that's part of the comment).

Since it is expected that a client will have frequent communication
with the server, being outside a lease period should be very rare.
But clarification might help.

> >    The LOOKUP operation is preserved and will return a filehandle
> 
> Unclear what "preserved" means here.

My suggestion is to remove "is preserved and" as it refers to
previous versions and is not really needed in this text.

> >              PUTFH  (directory filehandle)
> >              LOOKUP "pub"
> >              GETFH
> >              LOOKUP "foo"
> >              GETFH
> >              LOOKUP "bar"
> >              GETFH
> 
> Explain why the GETFH's are needed.

Change "or" to be "or, if the client wishes to obtain the intermediate
file handles"

        -David


From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 07:36:14 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 HAA05742
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 07:36:13 -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 FAA28866;
	Mon, 10 Apr 2000 05:35:52 -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 EAA13523;
	Mon, 10 Apr 2000 04:35:25 -0700 (PDT)
Received: from jurassic.eng.sun.com (jurassic [129.146.88.31])
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e3ABZ9700518
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 04:35:10 -0700 (PDT)
Received: from teal (awe8-149.Central.Sun.COM [129.147.8.149])
	by jurassic.eng.sun.com (8.10.1+Sun/8.10.1) with SMTP id e3ABZ8w707246
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 04:35:08 -0700 (PDT)
Date: Mon, 10 Apr 2000 04:38:30 -0700 (PDT)
From: Mike Eisler <mre@eng.sun.com>
Reply-To: Mike Eisler <mre@eng.sun.com>
Subject: Re: Summary of NFSv4 WG Meetings @ IETF 47, Adelaide (long)
To: nfsv4-wg@sunroof.eng.sun.com
Message-ID: <Roam.SIMC.2.0.6.955366710.7587.mre@eng.sun.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

Brent wrote:

> Neil Brown raised a question about LIPKEY authentication for server
> callbacks.  Mike Eisler suggested that the server might provide a
> public key for the client to use.
...
> Neil Brown expressed enthusiasm for the use of LIPKEY in a campus
> environment.

I'd like to elaborate on this. The issue Neil brought up relates to
section 3.4 Callback RPC Authentication. An excerpt says:

   It should be noted that LIPKEY may not work for callbacks, since the
   LIPKEY client uses a user id/password.  If the NFS client receiving
   the callback can authenticate the NFS server's user name/password
   pair, and if the user that the NFS server is authenticating to has a
   public key certificate, then it works.

Neil disliked the requirement that the user must get a certificate
in order for callbacks to work. Neil's scenario is that he would like
to be able to use LIPKEY in an environment of desk tops where
users aren't tied to a single machine. He suggested that perhaps
client's could have per-host principal for dealing with callbacks.

Also Paul Sangster of Sun noted to me after the meeting that it seemed
silly, given that LIPKEY requires SPKM-3 and SPKM-3 allows for the client
and server to mutually authenticate each other with a certificate for
each, that NFS client must maintain a server user name and password
pair.

OK, Neil and Paul raised excellent points and I agree.

Another suggestion, not from Neil, Paul, or I, was to allow callbacks
to be unauthenticated. I don't like this ... there are some obvious
denial of service (DoS) issues with that, and no doubt some less
obvious DoS attacks that we can't anticipate today, but crackers will
discover tomorrow.

Since the meeting I've mulled over three solutions.

(1) Extend LIPKEY, or add a variant of LIPKEY that allows the
client side to have present a certificate to the server, and the
server to present a user name/password to the client. So in this
scenario, when the callback is done, the NFS server becomes a LIPKEY
client and uses its certificate to authenticate to the
NFS client (the callback server), and the NFS client uses the user's
user name/password pair to authenticate back the NFS server.

I don't like this for two reasons:

	(a) it's yet another burden upon the NFSv4 implementation.
	(b) it assumes that when the callback is done, that the NFS
		client will have the user's user name and password handy.
		The user name being handy is reasonable, but for security
		reasons, the user's password might not be. We shouldn't
		require/allow implementations to cache a password for
		indefinite periods of time, which delegations decidely
		are.

(2) Implement a new GSS-API mechanism called the "reflective mechanism" 
which would work by taking an existing established security context,
say between user joe@widget.com, and nfs@server1.widget.com, and allowing
the server side to initiated a callback utilizing the existing context.
This is actually a cool idea, however it has the following
drawbacks:

	(a) Delegations are indefinite. The security context used to establish
		the delegation might have expired. 

	(b) Off the top of my head, I don't know if the reflective mechanism
		is achievable without extending one or more of RPCSEC_GSS,
		GSS-API, or NFSv4.

	(c) it's yet another burden upon the NFSv4 implementation.

(3) Neil's notion of a per-client principal was something I thought about. I
don't like the notion of explicitly  requiring such a principal, but I
realized that for practical implementations on kernel based NFS clients,
such as we'd expect on UNIX, we have a per-client principal. That is the
principal used in the SETCLIENTID operation. NFSv4 is designed so
that a physical client can issue a single SETCLIENTID and still allow
multiple principals to uses the client id that SETCLIENTID handshake
produces. Section 3.4 says

   The callback RPC (described later) must mutually authenticate the NFS
   server to the principal that acquired the delegation (also described
		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   later), using the same security flavor the original delegation
   operation used.

If we change that to:

   The callback RPC (described later) must mutually authenticate the NFS
   server to the principal that acquired the clientid (also described
				^^^^^^^^^^^^^^^^^^^^^^
   later), using the same security flavor the original SETCLIENTID
		^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   operation used. Because LIPKEY is layered over SPKM-3, it is permissible
   for the server to use SPKM-3 and not LIPKEY for the callback even if the
   client used LIPKEY for SETCLIENTID.
   
then the practical effect is that the NFS client can establish a per
client host principal for callback purposes and avoid the overhead
the Neil brought up as an issue.

Paul's comment leads to another simplification. When the SETCLIENTID is
done, the client could use LIPKEY for that, and thus send a per-host
user name and password to the server. But this requires that the NFS
server have access to a password database that has per-host entries. I
don't know about NT or W2k, but UNIX environments typically don't have
per-host password entries that are accessible anywhere but locally. So,
using LIPKEY for SETCLIENTID amounts to more infrastructure which was
against the intent of LIPKEY. Furthermore, when the NFS server makes a
callback, it will be authenticating to a target that has a certificate.
Thus a per-NFS client certificate is needed anyway.

So I would add to section 3.4 this text:

	In situations where NFS client uses LIPKEY and uses a per-host
	principal for the SETCLIENTID operation, instead of using
	LIPKEY for SETCLIENTID, it is RECOMMENDED that SPKM-3 with mutual
	authentication be used. This effectively means that the client
	will use a certificate to authenticate and identify the
	initiator to the target on the NFS server. Using SPKM-3 and not
	LIPKEY has the following advantages:

	* When the server does a callback, it must authenticate to the
	principal used in the SETCLIENTID. Even if LIPKEY is used,
	because LIPKEY is layered over SPKM-3, the NFS client will need
	to have a certificate that corresponds to the principal used in
	the SETCLIENTID operation.  From an administrative perspective,
	having a user name, password, and certificate for both the
	client and server is redundant.

	* LIPKEY was intended to minimize additional infrastructure
	requirements beyond a certificate for the target, and the
	expectation is that existing password infrastructure can be
	leveraged for the initiator.  In some environments, a per-host
	password does not exist yet. If certificates are used for any
	per-host principals, then additional password infrastructure is
	not needed.

	* In cases and a host is both an nfs client and server, it can
	share the same per-host certificate.

And in section 3.2.1.3 (SPKM-3 as a security triple) 
change

   Even though LIPKEY is layered onto SPKM-3, SPKM-3 is specified as a
   mandatory set of triples to handle the situation when the initiator
   (the client) is anonymous.  If the initiator is anonymous, there will
   not be a user name and password to send to the target (the server).

to:

   Even though LIPKEY is layered over SPKM-3, SPKM-3 is specified as a
   mandatory set of triples to handle the situations where the
   initiator (the client) is anonymous or where the initiator has its
   own certificate.  If the initiator is anonymous, there will not be a
   user name and password to send to the target (the server). If the
   initiator has its own certificate, then using passwords is superfluous.

The advantages of this approach are:

	- no additional implementation burden
	- minimal (or zero, because most of the hosts in environment
		Neil is considering are both nfs clients and servers)
		additional administrative burden
	- no substantial changes to the nfsv4 protocol

The amount of text changed is not insignificant, but it all stems
from a simple change relating to what principal target to use on callbacks.

	-mre



From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 08:22:42 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 IAA07287
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 08:22:41 -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 GAA13979;
	Mon, 10 Apr 2000 06:22:24 -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 FAA21322;
	Mon, 10 Apr 2000 05:22:16 -0700 (PDT)
Received: from jurassic.eng.sun.com (jurassic [129.146.86.31] (may be forged))
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e3ACM2700642
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 05:22:04 -0700 (PDT)
Received: from teal (awe8-149.Central.Sun.COM [129.147.8.149])
	by jurassic.eng.sun.com (8.10.1+Sun/8.10.1) with SMTP id e3ACM1w708891
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 05:22:01 -0700 (PDT)
Date: Mon, 10 Apr 2000 05:25:23 -0700 (PDT)
From: Mike Eisler <mre@eng.sun.com>
Reply-To: Mike Eisler <mre@eng.sun.com>
Subject: Re: Upcoming draft-07 for NFSv4
To: "nfsv4-wg@sunroof.eng.sun.com" <nfsv4-wg@sunroof.eng.sun.com>
In-Reply-To: "Your message with ID" <38EE1552.B7ECA36F@eng.sun.com>
Message-ID: <Roam.SIMC.2.0.6.955369523.31015.mre@eng.sun.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

"Spencer Shepler" <shepler@eng.sun.com> writes:

> >    case_insensitive   16   boolean        READ     Are filename
> >                                                    comparisons on this
> >                                                    file system case
> >                                                    insensitive?
> > 
> >    case_preserving    17   boolean        READ     Is filename case on
> >                                                    this file system
> >                                                    preserved?
> 
> Are these well-defined for non-ASCII character sets?

I suggest adding near the discussion of the case_* attributes this:

Each UCS-4 character (which UTF-8 encodes) has a "long descriptive name"
[RFC1345] which may or may not included the word "CAPITAL" or "SMALL". The
presence of SMALL or CAPITAL allows an NFS server to implement unambiguous and
efficient table driven mappings for case insensitive comparisons, and
non-case-preserving storage.

> >    time_access        47   nfstime4       READ     The time of last
> >                                                    access to the object.
> > 
> >    time_access_set    48   settime4       WRITE    Set the time of last
> >                                                    access to the object.
> >                                                    SETATTR use only.
> > 
> >    time_backup        49   nfstime4       R/W      The time of last
> > ...
> >    time_create        50   nfstime4       R/W      The time of creation
> >                                                    of the object. This
> 
> How come there aren't _set forms for backup and create?  Seems both

As noted in column 4,
time_access is read-only, time_access_set is write-only, whereas time_backup
and time_create are read/write.

> are needed, particularly time_backup.

> >    table that fits in 7 bits.  Thus it is determined that "lower case
> >    alpha" is in the same position as "upper case a" in the US-ASCII
> >    table, and "upper case alpha" is in the same position as "lower case
> >    a" in the US-ASCII table.
> 
> Is it really backwards as this sentence says, that lower case alpha is
> in the same position as *upper* case a, and vice versa?

Yes for the greek7-old code set as described in RFC 1345.
> 
> >    If the NFS version 4 protocol used a universal 16 bit or 32 bit
> >    character set (or a encoding of a 16 bit or 32 bit character set into
> 
> a encoding -> an encoding
> 
> >    UTF       UCS transformation format.
> 
> Explain what this means.

Suggest  changing the above to:

UTF	UTF is an abbreviation of the term "UCS transformation format" and is
used in naming with various standards for encoding of UCS characters as described below.

----

BTW, Vern's comments on why GETFH was needed or not, reminds me that
it is an absolute disaster if the client fails include an GETFH after
an OPEN. The reason is that even without the GETFH, the state established by
OPEN remains established each time the client does an operation causes
all leases to be renewed, including the one for the file it has to no
file handle for. At minimum, section 14.2.15.  "Operation 18: OPEN - Open a Regular File" should discuss this, but I'm wondering if a COMPOUND that
has an OPEN without an corresponding GETFH should cause an implicit CLOSE
to be done. This could actually be useful for COMPOUNDs like:

	putrootfh, open "a" "b" "c" ; read 0 512 ;



From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 09:05:01 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 JAA09209
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 09:05:00 -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 HAA02721;
	Mon, 10 Apr 2000 07:04:21 -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 GAA18609;
	Mon, 10 Apr 2000 06:04:03 -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 e3AD3n700677
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 06:03:50 -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 GAA16514
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 06:03:49 -0700 (PDT)
Received: from poptart.corp.home.net (poptart.svr.home.net [24.0.26.24])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id HAA02394
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 07:03:48 -0600 (MDT)
Received: from c8-a.snvl1.sfba.home.com ([24.0.25.37])
          by poptart.corp.home.net (Netscape Messaging Server 3.54)
           with ESMTP id AAA31A2; Mon, 10 Apr 2000 06:03:46 -0700
Message-Id: <4.2.0.58.20000410085624.00969b70@avarice.inner.net>
X-Sender: rja@avarice.inner.net
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 
Date: Mon, 10 Apr 2000 09:05:13 +0100
To: Mike Eisler <mre@eng.sun.com>
From: RJ Atkinson <rja@inet.org>
Subject: Re: Upcoming draft-07 for NFSv4
Cc: "nfsv4-wg@sunroof.eng.sun.com" <nfsv4-wg@sunroof.eng.sun.com>
In-Reply-To: <Roam.SIMC.2.0.6.955369523.31015.mre@eng.sun.com>
References: <"Your message with ID" <38EE1552.B7ECA36F@eng.sun.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 13:25 10-04-00 , Mike Eisler wrote:
>I suggest adding near the discussion of the case_* attributes this:
>
>Each UCS-4 character (which UTF-8 encodes) has a "long descriptive name"
>[RFC1345] which may or may not included the word "CAPITAL" or "SMALL". The
>presence of SMALL or CAPITAL allows an NFS server to implement unambiguous and
>efficient table driven mappings for case insensitive comparisons, and
>non-case-preserving storage.

Danger !

         RFC-1345 is known to be broken and should not be used as a reference
for this purpose (or, to be blunt, for any purpose relating to
any character sets using any encoding).  If I were writing code, I would
also avoid referencing RFC-1345 because it would lead to my implementation
not conforming with all the applicable character set standards.  I'm
afraid there is no substitute for actually getting a real copy of ISO-10646,
ISO-646, and whichever other specs are referenced.

         The above text is trying to define a "normalisation procedure"
for multilingual text strings.  At present, ISO has no standards for
normalisation.  The Unicode Consortium does have such standards.
IAB has formally requested that ISO take action in this space very
rapidly.

         It is HIGHLY undesirable for NFS WG to specify something without
prior coordination with other related WGs and the ADs.  For example, it
would be very bad if NFS WG specified a normalisation procedure for its
filename strings and the FTPEXT WG specified a _different_ normalisation
procedure for its filename strings.

         IESG guidance on normalisation of ISO-10646 characters is probably
what is really needed, not only for NFS WG but also for other WGs.  I believe
that the IESG is aware of the issue (IAB is definitely aware of this issue).

> > >    table that fits in 7 bits.  Thus it is determined that "lower case
> > >    alpha" is in the same position as "upper case a" in the US-ASCII
> > >    table, and "upper case alpha" is in the same position as "lower case
> > >    a" in the US-ASCII table.
> >
> > Is it really backwards as this sentence says, that lower case alpha is
> > in the same position as *upper* case a, and vice versa?
>
>Yes for the greek7-old code set as described in RFC 1345.

         Again, RFC-1345 has various bugs inside it and is known to be broken.
Please do NOT use RFC-1345.  Please go back and actually check the
root standards to verify the facts.

> > >    If the NFS version 4 protocol used a universal 16 bit or 32 bit
> > >    character set (or a encoding of a 16 bit or 32 bit character set into
> >
> > a encoding -> an encoding
> >
> > >    UTF       UCS transformation format.
> >
> > Explain what this means.
>
>Suggest  changing the above to:
>
>UTF     UTF is an abbreviation of the term "UCS transformation format" and is
>used in naming with various standards for encoding of UCS characters as 
>described below.

Ran
rja@inet.org



From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 09:52:58 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 JAA11866
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 09:52:57 -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 HAA27205;
	Mon, 10 Apr 2000 07:52:44 -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 GAA10625;
	Mon, 10 Apr 2000 06:43:51 -0700 (PDT)
Received: from jurassic.eng.sun.com (jurassic [129.146.81.144] (may be forged))
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e3ADhR700726
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 06:43:29 -0700 (PDT)
Received: from teal (awe8-149.Central.Sun.COM [129.147.8.149])
	by jurassic.eng.sun.com (8.10.1+Sun/8.10.1) with SMTP id e3ADhDw713089;
	Mon, 10 Apr 2000 06:43:13 -0700 (PDT)
Date: Mon, 10 Apr 2000 06:46:35 -0700 (PDT)
From: Mike Eisler <mre@eng.sun.com>
Reply-To: Mike Eisler <mre@eng.sun.com>
Subject: Re: Upcoming draft-07 for NFSv4
To: RJ Atkinson <rja@inet.org>
Cc: "nfsv4-wg@sunroof.eng.sun.com" <nfsv4-wg@sunroof.eng.sun.com>
In-Reply-To: "Your message with ID" <4.2.0.58.20000410085624.00969b70@avarice.inner.net>
Message-ID: <Roam.SIMC.2.0.6.955374395.14113.mre@eng.sun.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

> At 13:25 10-04-00 , Mike Eisler wrote:
> >I suggest adding near the discussion of the case_* attributes this:
> >
> >Each UCS-4 character (which UTF-8 encodes) has a "long descriptive name"
> >[RFC1345] which may or may not included the word "CAPITAL" or "SMALL". The
> >presence of SMALL or CAPITAL allows an NFS server to implement unambiguous
> and >efficient table driven mappings for case insensitive comparisons, and
> >non-case-preserving storage.
> 
> Danger !
> 
>          RFC-1345 is known to be broken and should not be used as a reference
> for this purpose (or, to be blunt, for any purpose relating to any character
> sets using any encoding).  If I were writing code, I would also avoid
> referencing RFC-1345 because it would lead to my implementation not
> conforming with all the applicable character set standards.  I'm afraid
> there is no substitute for actually getting a real copy of ISO-10646,
> ISO-646, and whichever other specs are referenced.

The problem with depending on ISO standards is that they aren't free, and
so inhibit implementation. Thus I believe the nfsv4 i-d is careful to
use rfc1345 in ways that aid implementation, and refers to the relevant up to
date iso and unicode specifications where necessary. 

I don't believe RFC 1345 is broken in the area of case given that unicode.org
uses long descriptive names that have the word CAPITAL or SMALL in them.

RFC 1345 is a handy reference for understanding the basic differences between
the various UCS variants, and the UTF variants, and I similarly don't believe
it is broken in that area either.

>          The above text is trying to define a "normalisation procedure"
> for multilingual text strings.  At present, ISO has no standards for
> normalisation.  The Unicode Consortium does have such standards.
> IAB has formally requested that ISO take action in this space very
> rapidly.

My understanding is that normalization and case comparison are distinct
things. And the nfsv4 spec is pretty clear that it is agnostic on normalization.

My suggested text doesn't mandate a procedure for managing case, it merely
suggests a procedure. The fact is that there are file systems that support
case insensitive, case preserving semantics, and they work over unicode.  In
absence of a defined method for dealing with case, implementors of nfsv4
servers of such file systems are going to deal with it. And even if IESG
defines a method, if it is at odds with how say NTFS deals with it, then
expect plenty of "non-compliant" nfs v4 servers. So mandating a procedure
for dealing with case is a bad thing. Explaining the UCS-4 has case is good
thing.

> > > >    table that fits in 7 bits.  Thus it is determined that "lower case
> > > >    alpha" is in the same position as "upper case a" in the US-ASCII
> > > >    table, and "upper case alpha" is in the same position as "lower case
> > > >    a" in the US-ASCII table.
> > >
> > > Is it really backwards as this sentence says, that lower case alpha is
> > > in the same position as *upper* case a, and vice versa?
> >
> >Yes for the greek7-old code set as described in RFC 1345.
> 
>          Again, RFC-1345 has various bugs inside it and is known to be
> broken. Please do NOT use RFC-1345.  Please go back and actually check the
> root standards to verify the facts.

The context of the discussion in the nfsv4 i-d is to explain why per-language
charsets => bad, universal character sets => good. That upper case alpha may
or may not be where lower case ASCII a and not where upper case ASCII A is
beside the point. The point is that the example charset has no ASCII A at all
making it impossible to represent names that both greek7-old and ASCII
characters, unless one uses UCS or Unicode. The greek7-old charset example in
RFC 1345 demonstrates the issue, regardless how similar it is to greek7-old
charset in ISO. 

If may very well be the case that RFC 1345 is all wet, and that ISO doesn't
define charset's at all. That's both fine and irrelevent to the point.

	-mre




From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 15:03: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 PAA00433
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 15:03:07 -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 NAA16625;
	Mon, 10 Apr 2000 13:02:32 -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 MAA02741;
	Mon, 10 Apr 2000 12:01:47 -0700 (PDT)
Received: from ebaymail2.EBay.Sun.COM (ebaymail2.EBay.Sun.COM [129.150.111.20])
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e3AJ1T701117
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 12:01:30 -0700 (PDT)
Received: from ha10nwk.EBay.Sun.COM (phys-ha10nwka.EBay.Sun.COM [129.150.153.210])
	by ebaymail2.EBay.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id MAA07791
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 12:01:28 -0700 (PDT)
Received: from jetsun by ha10nwk.EBay.Sun.COM (8.8.8+Sun/SMI-SVR4)
	id MAA10527; Mon, 10 Apr 2000 12:01:28 -0700 (PDT)
Message-Id: <200004101901.MAA10527@ha10nwk.EBay.Sun.COM>
Date: Mon, 10 Apr 2000 12:01:28 -0700 (PDT)
From: David Robinson <David.Robinson@ebay.sun.com>
Reply-To: David Robinson <David.Robinson@ebay.sun.com>
Subject: Re: Upcoming draft-07 for NFSv4
To: nfsv4-wg@sunroof.eng.sun.com
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: eZXPOohqAR1zzI133VFwAQ==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4 SunOS 5.8 sun4u sparc 

> BTW, Vern's comments on why GETFH was needed or not, reminds me that
> it is an absolute disaster if the client fails include an GETFH after
> an OPEN. The reason is that even without the GETFH, the state established by
> OPEN remains established each time the client does an operation causes
> all leases to be renewed, including the one for the file it has to no
> file handle for. At minimum, section 14.2.15.  "Operation 18: OPEN - Open a 
Regular File" should discuss this, but I'm wondering if a COMPOUND that
> has an OPEN without an corresponding GETFH should cause an implicit CLOSE
> to be done. This could actually be useful for COMPOUNDs like:
> 
> 	putrootfh, open "a" "b" "c" ; read 0 512 ;
> 

If we start imposing rules on what is and what is not a valid
COMPOUND op, we may be forcing the server to fully parse the
request before evaluating any of it, which might be a burden on
implementors.

Instead of requiring a GETFH, why not simply add a file handle
to the result of the OPEN?  This will add a very minimal overhead
to the server implementation as it already sets CFH and would
just need to encode it in the result. The only argument I see against
this approach is that it is redundant with an existing op, but
OPEN already combines LOOKUP, CREATE and ACCESS for other valid
reasons so I will assert that adding an implicit GETFH is desireable
for correctness.

	-David
	



From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 17:32:19 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 RAA05100
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 17:32:18 -0400 (EDT)
Received: from engmail4.Eng.Sun.COM ([129.144.134.6])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id PAA28305;
	Mon, 10 Apr 2000 15:31:27 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail4.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id OAA02086;
	Mon, 10 Apr 2000 14:31:07 -0700 (PDT)
Received: from jurassic.eng.sun.com (jurassic [129.146.86.31] (may be forged))
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e3ALUn701323
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 14:30:49 -0700 (PDT)
Received: from teal (awe8-149.Central.Sun.COM [129.147.8.149])
	by jurassic.eng.sun.com (8.10.1+Sun/8.10.1) with SMTP id e3ALUow789877
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 14:30:50 -0700 (PDT)
Date: Mon, 10 Apr 2000 14:34:11 -0700 (PDT)
From: Mike Eisler <mre@eng.sun.com>
Reply-To: Mike Eisler <mre@eng.sun.com>
Subject: Re: Upcoming draft-07 for NFSv4
To: nfsv4-wg@sunroof.eng.sun.com
In-Reply-To: "Your message with ID" <200004101901.MAA10527@ha10nwk.EBay.Sun.COM>
Message-ID: <Roam.SIMC.2.0.6.955402451.2191.mre@eng.sun.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

"David Robinson" <David.Robinson@ebay.sun.com> writes:

> > BTW, Vern's comments on why GETFH was needed or not, reminds me that
> > it is an absolute disaster if the client fails include an GETFH after
> > an OPEN. The reason is that even without the GETFH, the state established by
> > OPEN remains established each time the client does an operation causes
> > all leases to be renewed, including the one for the file it has to no
> > file handle for. At minimum, section 14.2.15.  "Operation 18: OPEN - Open a 
> Regular File" should discuss this, but I'm wondering if a COMPOUND that
> > has an OPEN without an corresponding GETFH should cause an implicit CLOSE
> > to be done. This could actually be useful for COMPOUNDs like:
> > 
> > 	putrootfh, open "a" "b" "c" ; read 0 512 ;
> > 
> 
> If we start imposing rules on what is and what is not a valid
> COMPOUND op, we may be forcing the server to fully parse the
> request before evaluating any of it, which might be a burden on
> implementors.
> 
> Instead of requiring a GETFH, why not simply add a file handle
> to the result of the OPEN?  This will add a very minimal overhead

Having an op other than GETFH that returns an fh makes the server's COMPOUND
processing less streamlined. In any case,  at this juncture (last iesg call),
I think changing the wire formats is too much change for a spec that is in
last call.  If changing the semantic to an implicit CLOSE is too high a
burden, then I think adding some warning text to the OPEN Implemention
subsection is the right amount of change.

	-mre



From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 17:58:36 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 RAA05493
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 17:58:36 -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 PAA17131;
	Mon, 10 Apr 2000 15:58:18 -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 OAA16680;
	Mon, 10 Apr 2000 14:57:36 -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 e3ALvM701372
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 14:57:23 -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 OAA08713
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 14:57:23 -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 PAA16632
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 15:57:22 -0600 (MDT)
Received: (qmail 26591 invoked from network); 10 Apr 2000 22:16:01 -0000
Received: from herra.netapp.com (HELO herra.corp.netapp.com) (198.95.224.184)
  by mx01-ext.netapp.com with SMTP; 10 Apr 2000 22:16:01 -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 OAA21342;
	Mon, 10 Apr 2000 14:57:20 -0700 (PDT)
Received: by tahoe.corp.netapp.com with Internet Mail Service (5.5.2650.21)
	id <2Q2L81TK>; Mon, 10 Apr 2000 14:56:53 -0700
Message-ID: <F6C5585BF0CED311B58D009027C2299C47C07D@tahoe.corp.netapp.com>
From: "Noveck, Dave" <dave.noveck@netapp.com>
To: "'Mike Eisler'" <mre@eng.sun.com>, nfsv4-wg@sunroof.eng.sun.com
Subject: RE: Upcoming draft-07 for NFSv4
Date: Mon, 10 Apr 2000 14:56:46 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"

 
> BTW, Vern's comments on why GETFH was needed or not, reminds me that
> it is an absolute disaster if the client fails include an GETFH after
> an OPEN. The reason is that even without the GETFH, the state 
> established by
> OPEN remains established each time the client does an operation causes
> all leases to be renewed, including the one for the file it has to no
> file handle for. At minimum, section 14.2.15.  "Operation 18: 
> OPEN - Open a Regular File" should discuss this, but I'm 
> wondering if a COMPOUND that
> has an OPEN without an corresponding GETFH should cause an 
> implicit CLOSE
> to be done. This could actually be useful for COMPOUNDs like:
> 
> 	putrootfh, open "a" "b" "c" ; read 0 512 ;
>

This could get really complicated, given the possiblities
of multiple opens for the same file (open upgrade/downgrade
logic), possibly under different names.

Consider a case in which a/b/c and a/b/x both 
designate the same file.

If I open a/b/c on one request (with a GETFH) and
then open a/b/x (which is a hard link to a/b/c) in a
COMPOUND where it is not followed by a GETFH, then 
the OPEN is an open-upgrade but you definitely don't
want an implicit close that undoes the work of the
open on a/b/c.  

You could make a special rule about an open which 
turns out to be an upgrade so that instead of doing
a close, the server has to do an open-downgrade but
I think this can get pretty ugly for the server 
given the possibility that the open for a/b/c
(the one that does have the GETFH) might come in
later and be executed interleaved with the other
compound.

Also, you could have this COMPOUND: 

    OPEN "a" "b" "c"
    READ
    OPEN "a" "b" "x"
    GETFH

Now you don't want a CLOSE, you want an OPEN_DOWNGRADE
operation, even though the OPEN without GETFH isn't an
upgrade.

I like the idea of having OPEN return the fh.  If we
don't do that, client should be strongly warned that 
they had better do a GETFH after each OPEN (and save
the results).  Servers should be warned not to do 
anti-social things like returning NFS4ERR_RESOURCE
on the GETFH following an OPEN.


From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 18:26:30 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 SAA05834
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 18:26:29 -0400 (EDT)
Received: from engmail4.Eng.Sun.COM ([129.144.134.6])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id QAA04349;
	Mon, 10 Apr 2000 16:26:14 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail4.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id PAA16013;
	Mon, 10 Apr 2000 15:25:55 -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 e3AMPj701388
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 15:25:46 -0700 (PDT)
Received: from lukla.Sun.COM (lukla.Central.Sun.COM [129.147.5.31])
	by engmail2.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id PAA19391;
	Mon, 10 Apr 2000 15:25:45 -0700 (PDT)
Received: from daffy.ee.lbl.gov (daffy.ee.lbl.gov [131.243.1.31])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id QAA04064;
	Mon, 10 Apr 2000 16:25:44 -0600 (MDT)
Received: (from vern@localhost)
	by daffy.ee.lbl.gov (8.10.0/8.10.0) id e3AMPek06492;
	Mon, 10 Apr 2000 15:25:40 -0700 (PDT)
Message-Id: <200004102225.e3AMPek06492@daffy.ee.lbl.gov>
To: Mike Eisler <mre@eng.sun.com>
Cc: nfsv4-wg@sunroof.eng.sun.com
Subject: Re: Upcoming draft-07 for NFSv4
In-reply-to: Your message of Mon, 10 Apr 2000 14:34:11 PDT.
Date: Mon, 10 Apr 2000 15:25:40 PDT
From: Vern Paxson <vern@ee.lbl.gov>

> In any case,  at this juncture (last iesg call),
> I think changing the wire formats is too much change for a spec that is in
> last call.

It really isn't - protocols can undergo significant change in last call.
In one case, the last call comment was "you need to return error information
rather than just yes/no", and (because it was clear the comment was on target)
that required revamping the whole spec.

		Vern


From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 18:28:11 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 SAA05869
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 18:28:10 -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 QAA05478;
	Mon, 10 Apr 2000 16:27:51 -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 PAA16566;
	Mon, 10 Apr 2000 15:23:26 -0700 (PDT)
Received: from ebaymail2.EBay.Sun.COM (ebaymail2.EBay.Sun.COM [129.150.111.20])
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e3AMNC701384
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 15:23:13 -0700 (PDT)
Received: from ha10nwk.EBay.Sun.COM (phys-ha10nwka.EBay.Sun.COM [129.150.144.210])
	by ebaymail2.EBay.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id PAA26924
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 15:23:12 -0700 (PDT)
Received: from jetsun by ha10nwk.EBay.Sun.COM (8.8.8+Sun/SMI-SVR4)
	id PAA07672; Mon, 10 Apr 2000 15:23:13 -0700 (PDT)
Message-Id: <200004102223.PAA07672@ha10nwk.EBay.Sun.COM>
Date: Mon, 10 Apr 2000 15:23:12 -0700 (PDT)
From: David Robinson <David.Robinson@ebay.sun.com>
Reply-To: David Robinson <David.Robinson@ebay.sun.com>
Subject: Re: Upcoming draft-07 for NFSv4
To: nfsv4-wg@sunroof.eng.sun.com
MIME-Version: 1.0
Content-Type: TEXT/plain; charset=us-ascii
Content-MD5: /29bA6+SvJSRhqhOGkMxPg==
X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.4 SunOS 5.8 sun4u sparc 

> > If we start imposing rules on what is and what is not a valid
> > COMPOUND op, we may be forcing the server to fully parse the
> > request before evaluating any of it, which might be a burden on
> > implementors.
> > 
> > Instead of requiring a GETFH, why not simply add a file handle
> > to the result of the OPEN?  This will add a very minimal overhead
> 
> Having an op other than GETFH that returns an fh makes the server's COMPOUND
> processing less streamlined. In any case,  at this juncture (last iesg call),
> I think changing the wire formats is too much change for a spec that is in
> last call.  If changing the semantic to an implicit CLOSE is too high a
> burden, then I think adding some warning text to the OPEN Implemention
> subsection is the right amount of change.

Are you implying that by not changing it, defers the change until after
proposed standard but changing it for draft standard or it will
stay this way forever?  If the former I don't like it but will not
raise a stink, although moving to proposed standard will imply
multiple implementations that may have to make incompatible wire changes
after it moves to draft standard which seems worse to me than making
some text changes now.  If the latter I strongly disagree because
it will force all servers to take extrordinary measures to prevent
clients from orphaning locks and potentially denial of service attacks.
Given the complex scenerios that Noveck just described we should fix
what I consider a large hole.

	-David
		"Haste makes waste and a lot of stew"
		



From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 18:30: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 SAA05912
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 18:30:40 -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 QAA07008;
	Mon, 10 Apr 2000 16:30:26 -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 PAA17653;
	Mon, 10 Apr 2000 15:27:38 -0700 (PDT)
Received: from jurassic.eng.sun.com (jurassic [129.146.84.31] (may be forged))
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e3AMRR701392
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 15:27:28 -0700 (PDT)
Received: from teal (awe8-149.Central.Sun.COM [129.147.8.149])
	by jurassic.eng.sun.com (8.10.1+Sun/8.10.1) with SMTP id e3AMRSw802594
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 15:27:28 -0700 (PDT)
Date: Mon, 10 Apr 2000 15:30:49 -0700 (PDT)
From: Mike Eisler <mre@eng.sun.com>
Reply-To: Mike Eisler <mre@eng.sun.com>
Subject: RE: Upcoming draft-07 for NFSv4
To: nfsv4-wg@sunroof.eng.sun.com
In-Reply-To: "Your message with ID" <F6C5585BF0CED311B58D009027C2299C47C07D@tahoe.corp.netapp.com>
Message-ID: <Roam.SIMC.2.0.6.955405849.12970.mre@eng.sun.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

"Noveck, Dave" <dave.noveck@netapp.com> writes:
> Consider a case in which a/b/c and a/b/x both 
> designate the same file.

Excellent point. My notion of implicit CLOSE was clearly a bad idea.

> I like the idea of having OPEN return the fh.  If we

Which is somewhat inefficient in face of the example you raise.

> don't do that, client should be strongly warned that 
> they had better do a GETFH after each OPEN (and save
> the results).  Servers should be warned not to do 
> anti-social things like returning NFS4ERR_RESOURCE
> on the GETFH following an OPEN.

I favor a strong warning to the client and server.

	-mre



From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 18:45:51 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 SAA06168
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 18:45:50 -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 QAA15437;
	Mon, 10 Apr 2000 16:45:36 -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 PAA20705;
	Mon, 10 Apr 2000 15:41:19 -0700 (PDT)
Received: from jurassic.eng.sun.com (jurassic [129.146.89.31] (may be forged))
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e3AMf6701397
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 15:41:06 -0700 (PDT)
Received: from teal (awe8-149.Central.Sun.COM [129.147.8.149])
	by jurassic.eng.sun.com (8.10.1+Sun/8.10.1) with SMTP id e3AMf6w804726
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 15:41:06 -0700 (PDT)
Date: Mon, 10 Apr 2000 15:44:27 -0700 (PDT)
From: Mike Eisler <mre@eng.sun.com>
Reply-To: Mike Eisler <mre@eng.sun.com>
Subject: Re: Upcoming draft-07 for NFSv4
To: nfsv4-wg@sunroof.eng.sun.com
In-Reply-To: "Your message with ID" <200004102225.e3AMPek06492@daffy.ee.lbl.gov>
Message-ID: <Roam.SIMC.2.0.6.955406667.24997.mre@eng.sun.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

"Vern Paxson" <vern@ee.lbl.gov> writes:

> > In any case,  at this juncture (last iesg call),
> > I think changing the wire formats is too much change for a spec that is in
> > last call.
> 
> It really isn't - protocols can undergo significant change in last call.
> In one case, the last call comment was "you need to return error information
> rather than just yes/no", and (because it was clear the comment was on
> target) that required revamping the whole spec.

My statement was unintentionally overbroad. Clearly if there was a bug in
protocol was found that required major revamping we'd have to deal with it. In
this case, I don't think we've found a bug, as Dave Noveck's counter example
shows, and so I prefer to not make unnecessary changes that might
have unforseen effects.

"David Robinson" <David.Robinson@ebay.sun.com> writes:

> Are you implying that by not changing it, defers the change until after
> proposed standard but changing it for draft standard or it will
> stay this way forever?  If the former I don't like it but will not
> raise a stink, 

I'm saying that it will stay this way (no fh returned from OPEN) forever.
The notion of changing wire formats in incompatible ways between
Draft and Propose is more distasteful than doing so in last call.

At this point, I'm almost sorry I brought it up. :-(

	-mre



From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 21:09:48 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 VAA07997
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 21:09:48 -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 TAA00425;
	Mon, 10 Apr 2000 19:09:23 -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 SAA21417;
	Mon, 10 Apr 2000 18:03:29 -0700 (PDT)
Received: from jurassic.eng.sun.com (jurassic [129.146.84.31] (may be forged))
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e3B13E701481
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 18:03:14 -0700 (PDT)
Received: from terra.eng.sun.com (terra.Eng.Sun.COM [129.146.86.99])
	by jurassic.eng.sun.com (8.10.1+Sun/8.10.1) with ESMTP id e3B13Dw824784
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 18:03:13 -0700 (PDT)
Received: (from brent@localhost)
	by terra.eng.sun.com (8.9.3+Sun/8.9.3) id SAA20607
	for nfsv4-wg@sunroof.eng; Mon, 10 Apr 2000 18:03:09 -0700 (PDT)
Date: Mon, 10 Apr 2000 18:03:09 -0700 (PDT)
From: Brent Callaghan <Brent.Callaghan@eng.sun.com>
Message-Id: <200004110103.SAA20607@terra.eng.sun.com>
To: nfsv4-wg@sunroof.eng.sun.com
Subject: RE: Upcoming draft-07 for NFSv4
X-Sun-Charset: US-ASCII


Mike Eisler writes:
> > don't do that, client should be strongly warned that 
> > they had better do a GETFH after each OPEN (and save
> > the results).  Servers should be warned not to do 
> > anti-social things like returning NFS4ERR_RESOURCE
> > on the GETFH following an OPEN.
> 
> I favor a strong warning to the client and server.

Me too.

I've got an NFSv4 client that ignores much
of the cruft that comes back from OPEN.  It could
just as easily ignore a filehandle too.

The client implementor needs to be warned of the
obligation of state that comes with OPEN.

	Brent


From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 21:37:39 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 VAA08471
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 21:37: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 TAA12463;
	Mon, 10 Apr 2000 19:37:20 -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 SAA26055;
	Mon, 10 Apr 2000 18:31:31 -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 e3B1VD701504
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 18:31:14 -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 SAA27671
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 18:31:13 -0700 (PDT)
Received: from poptart.corp.home.net (poptart.svr.home.net [24.0.26.24])
	by venus.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id SAA05325
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 18:31:12 -0700 (PDT)
Received: from c8-a.snvl1.sfba.home.com ([24.0.25.101])
          by poptart.corp.home.net (Netscape Messaging Server 3.54)
           with ESMTP id AAA406E; Mon, 10 Apr 2000 18:30:39 -0700
Message-Id: <4.2.0.58.20000410203843.0095d8b0@avarice.inner.net>
X-Sender: rja@avarice.inner.net
X-Mailer: QUALCOMM Windows Eudora Pro Version 4.2.0.58 
Date: Mon, 10 Apr 2000 20:43:10 +0100
To: Mike Eisler <mre@eng.sun.com>
From: RJ Atkinson <rja@inet.org>
Subject: Re: Upcoming draft-07 for NFSv4
Cc: "nfsv4-wg@sunroof.eng.sun.com" <nfsv4-wg@sunroof.eng.sun.com>
In-Reply-To: <Roam.SIMC.2.0.6.955374395.14113.mre@eng.sun.com>
References: <"Your message with ID" <4.2.0.58.20000410085624.00969b70@avarice.inner.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed

At 14:46 10-04-00 , Mike Eisler wrote:
>I don't believe RFC 1345 is broken in the area of case given that unicode.org
>uses long descriptive names that have the word CAPITAL or SMALL in them.

I believe it is.  For openers, consider the date of 1345 and realise
that the UNICODE and ISO-10646 standards themselves have changed since the
publication date of 1345.  That aside, MIME implementers learned the hard
way that there are a number of bugs spread around 1345.

>RFC 1345 is a handy reference for understanding the basic differences between
>the various UCS variants, and the UTF variants, and I similarly don't believe
>it is broken in that area either.

Again, it might be useful for orientation, but a number of the underlying
specifications have changed since 1345 was published.  The author of 1345
had a pretty definite private agenda, which impacted the content of the RFC,
sadly enough.

>My understanding is that normalization and case comparison are distinct
>things. And the nfsv4 spec is pretty clear that it is agnostic on 
>normalization.
>
>My suggested text doesn't mandate a procedure for managing case, it merely
>suggests a procedure. The fact is that there are file systems that support
>case insensitive, case preserving semantics, and they work over unicode.  In
>absence of a defined method for dealing with case, implementors of nfsv4
>servers of such file systems are going to deal with it. And even if IESG
>defines a method, if it is at odds with how say NTFS deals with it, then
>expect plenty of "non-compliant" nfs v4 servers. So mandating a procedure
>for dealing with case is a bad thing. Explaining the UCS-4 has case is good
>thing.

It would be helpful if the NTFS facts could get documented.  My guess is
that they have implemented the UNICODE normalisation (including case folding)
process, but I'm not at all certain.

>If may very well be the case that RFC 1345 is all wet, and that ISO doesn't
>define charset's at all. That's both fine and irrelevent to the point.

Referencing 1345 in the manner the draft does creates avoidable confusion.
There must be alternatives.

Ran
rja@inet.org



From nfs4-wg-request@sunroof.eng.sun.com  Mon Apr 10 22:22:35 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 WAA09905
	for <nfsv4-archive@odin.ietf.org>; Mon, 10 Apr 2000 22:22:35 -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 UAA28834;
	Mon, 10 Apr 2000 20:22:21 -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 TAA04932;
	Mon, 10 Apr 2000 19:22:13 -0700 (PDT)
Received: from jurassic.eng.sun.com (jurassic [129.146.85.31] (may be forged))
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e3B2Ls701519
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 19:21:55 -0700 (PDT)
Received: from teal (awe8-149.Central.Sun.COM [129.147.8.149])
	by jurassic.eng.sun.com (8.10.1+Sun/8.10.1) with SMTP id e3B2Lsw831992
	for <nfsv4-wg@sunroof.eng.sun.com>; Mon, 10 Apr 2000 19:21:54 -0700 (PDT)
Date: Mon, 10 Apr 2000 19:25:15 -0700 (PDT)
From: Mike Eisler <mre@eng.sun.com>
Reply-To: Mike Eisler <mre@eng.sun.com>
Subject: Re: Upcoming draft-07 for NFSv4
To: "nfsv4-wg@sunroof.eng.sun.com" <nfsv4-wg@sunroof.eng.sun.com>
In-Reply-To: "Your message with ID" <4.2.0.58.20000410203843.0095d8b0@avarice.inner.net>
Message-ID: <Roam.SIMC.2.0.6.955419915.25367.mre@eng.sun.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; CHARSET=US-ASCII

"RJ Atkinson" <rja@inet.org> wrote
> At 14:46 10-04-00 , Mike Eisler wrote:
> >I don't believe RFC 1345 is broken in the area of case given that
> unicode.org >uses long descriptive names that have the word CAPITAL or SMALL
> in them.
> 
> I believe it is.

Well I looked at the character set tables on unicode.org today and I don't
believe I stand corrected. But if you of a specific counter example, it
would be good to identify it.

> Referencing 1345 in the manner the draft does creates avoidable confusion.

If it's not clear that the references are intended to be for orienting the
reader to the topic, versus the normative references the i-d makes to
the ISO standards, then I agree the text in the i-d should be clarified.
Since I wrote much of the i18n section, I'm probably not the best one
suggest altered text that would make this clearer.

	-mre

	-mre



From nfs4-wg-request@sunroof.eng.sun.com  Fri Apr 14 15:52:21 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 PAA13510
	for <nfsv4-archive@odin.ietf.org>; Fri, 14 Apr 2000 15:52:21 -0400 (EDT)
Received: from engmail4.Eng.Sun.COM ([129.144.134.6])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id NAA28747;
	Fri, 14 Apr 2000 13:51:43 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail4.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id MAA18656;
	Fri, 14 Apr 2000 12:49:21 -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 e3EJmr704506
	for <nfsv4-wg@sunroof.eng.sun.com>; Fri, 14 Apr 2000 12:48:56 -0700 (PDT)
Received: from venus.Sun.COM (venus.EBay.Sun.COM [129.150.69.5])
	by engmail4.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id MAA18510
	for <nfsv4-wg@sunroof.eng.sun.com>; Fri, 14 Apr 2000 12:48:50 -0700 (PDT)
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 MAA02686
	for <nfsv4-wg@sunroof.eng.sun.com>; Fri, 14 Apr 2000 12:48:48 -0700 (PDT)
Received: (qmail 2559 invoked from network); 14 Apr 2000 20:09:07 -0000
Received: from herra.netapp.com (HELO herra.corp.netapp.com) (198.95.224.184)
  by mx01-ext.netapp.com with SMTP; 14 Apr 2000 20:09:07 -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 MAA21580;
	Fri, 14 Apr 2000 12:48:42 -0700 (PDT)
Received: by black.eng.netapp.com with Internet Mail Service (5.5.2650.21)
	id <2NS3V097>; Fri, 14 Apr 2000 12:48:42 -0700
Message-ID: <641BC3DDCEB3D3118C3700902745938E8AB0AF@black.eng.netapp.com>
From: "Noveck, Dave" <Dave.Noveck@netapp.com>
To: "'Vern Paxson'" <vern@ee.lbl.gov>, Brent.Callaghan@eng.sun.com,
        "Pawlowski, Brian" <beepy@netapp.com>
Cc: sob@harvard.edu, mankin@east.isi.edu, shepler@eng.sun.com, beame@bws.com,
        mre@eng.sun.com, "old-Noveck, Dave"
	 <dave.noveck@netapp.com>,
        david.robinson@eng.sun.com, robert.thurlow@eng.sun.com,
        "'nfsv4-wg@sunroof.eng.sun.com'"
	 <nfsv4-wg@sunroof.eng.sun.com>
Subject: RE: comments on draft-ietf-nfsv4-06.txt
Date: Fri, 14 Apr 2000 12:48:41 -0700
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2650.21)
Content-Type: text/plain;
	charset="iso-8859-1"

Vern Paxson wrote:
> 
> >    The server implementor needs to be careful in developing a migration
> >    solution.  The server must consider all of the state information
> >    clients may have outstanding at the server.  This includes but is not
> >    limited to locking/share state, delegation state, and asynchronous
> >    file writes which are represented by WRITE and COMMIT verifiers.  The
> 
> Are there any others known besides the "includes but is not limited to"
list?
> It's the "not limited to" that threw me ...

None that I can think of.  I was just being over-careful.

> 
>   
> 
> >    If the server determines that the client holds no associated state
> >    for its clientid and no activity from that client has been received
> >    some long period of time, the server may choose to release the
> 
> Need advice on the suggested "long period of time".

Actually, the server may make this choice immediately (with no long 
period of inactivity), but he would be unwise to do so.

I would strike "and no activity from that client had been recieved for
some long period of time,".

Then I would add to the end of that paragraph, "Typically a server would
not release a clientid unless there had been no activity from that 
client for many minutes."

>  
> 
> >    If a request with a previous sequence number (r < L) is received, it
> >    is rejected with the return of error NFS4ERR_BAD_SEQID.  Given a
> >    properly-functioning client, the response to (r) must have been
> >    received before the last request (L) was sent.  If a duplicate of
> 
> Can't there in principle be concurrent RPCs, which means that a response
> might not have been received before the last request was sent?

I also found this hard to understand until Dave Robinson clued me in.
I think the restriction that the client should only have one request
with a sequence number outstanding for each owner should be explained
up front.  I think that would make subsequent stuff easier to understand.

>   
> >    Clients should be prepared for the return of NFS4ERR_GRACE errors for
> >    non-reclaim lock and I/O requests.  In this case the client should
> >    employ a backoff and retry mechanism for the request.  Timeout
> 
> Need more specifics explaining how the backoff should work.  (Should it
> be exponential?)

Actually, I think we should just strike "backoff and".  and replace the
sentence following by "A delay (on the order of several seconds) between
retires should be used to avoid overwhelming the server."

> 
> >    by the client.  As a result of revocation, the client will receive an
> >    error of NFS4ERR_EXPIRED and the error is received within the lease
> >    period for the lock.  In this instance the client may assume that
> 
> Seems there's a race here - "within the least period of the lock" isn't
> tightly defined.  This is worth commenting on even if it really shouldn't
> come up in practice (in which case, that's part of the comment).

I think this would be clearer if the second and third cases in this
discussion were interchanged.  In what is now the third case, the client
determines that the lease period may have expired.  If in fact it did
not expire, then normally he will just revalidate all of locks
successfully.  In the case in which the server revoked a lock without
lease expiration, he will be unsure about whether the lease was
expired and he was unable to revalidate it before a conflicting lock
was given to someone else, or whether it was revoked without 
lease expiration.  It doesn't matter to him, he only cares that
he lost his lock.

The point here is that even when the client determines that lock
expiration could not possibly have occurred (taking into account
all worst-case propagation delays), he can still get EXPIRED and
in that case can infer that his lock was lost due to revocation.

> 
> 
> >    with these delegations will need to wait.  This behavior is
> >    consistent with the normal recall process may take significant time
> >    because of the client's need to flush state to the server.  This
> 
> "This behavior" sentence is quite hard to parse.

How about replacing it with:  "Because the normal recall process may
require significant time for the client to flush changed state to
the server, other clients need be prepared for delays that occur
because of a conflicting delegation, in any case."

> 
> >         achieve its purpose.  The other aspect to flushing the data
> >         before close is that the data must be committed to stable
> >         storage before the CLOSE operation is requested by the client.
> 
> It's unclear whether this means committed to stable storage *locally at
> the client* or *on the server*.  Presumably, it's the latter, since the
> client might not have any stable storage.  This occurs again later:

Yes, on the server.

> 
> >    The data that is written to the server as a pre-requisite to the
> >    unlocking of a region must be written to stable storage.  The client

Also, on the server.

> 
> >    o    For a write open delegation, if, at the time of recall, if the
> >         file is not open for write, all modified data for the file must
> >         be flushed to the server.  If the delegation had not existed,
> 
> "if ... if" in the first sentence scans awkwardly.

I think the second "if" should be removed.
 
> 
> >         ... If the delegation had not existed,
> >         the client would have done this data flush before the CLOSE
> >         operation.
> 
> This is at odds with the last bullet:
> 
> >    o    Any modified data for the file needs to be flushed to the the
> >         server.
> 
> which sounds like the flush is done anyway.

Good point.  What the client would have done before the CLOSE is flush
the data to server and force it to stable storage (it must be committed),
as was discussed a bit above.

In the second case, you can just do the write (but don't have to committ)
since you have a file open for write, you have a stateid to redo
asynchronous writes, at least until you do a CLOSE and then the
rule discussed above applies.

> 
> Also, "the the" -> "the"
> 
> >    In the case of modified data existing in the client's cache, that
> >    data must be removed from the client without it being written to the
> >    server.
> 
> Explain why this is necessary.

Since your lock was revoked, a conflicting lock may have been given to
another client.  If you were allowed to write the data based on your
old locks, the assuptions that other clients validly make about the 
data would be violated.  This applies even if another client no longer
holds a conflicting lock or you use the special stateids to write.
Once, a lokc has been revoked the modified data that you put into
your cache when you had it should not be written to the server.

> 
>   
>  
> 
> >      This operation should also be used by clients which do have
> >      delegation information on stable storage after doing all of
> >      delegation recovery that is needed.  Using DELEGPURGE will prevent
> 
> I found this sentence confusing.

How about this paragraph instead

     This operation should be used by a clients which do record delegation
     information on stable storage on the client.  In this case, DELEGPURGE
     should be issued immediately after doing delegation recovery on all
     delegations know to the client.  Doing so will notify the server that
     no additional delegations for the client will be recovered allowing 
     it to free resources, and avoid delaying other clients who make
     request that conflict with the unrecovered delegations.  The set of
     delgations known to the server and the client may be different since
     a client may fail after making a request that resulted in delegation
     but before it receieved the results and committed them to its own
     stable storage.
     
>  
> > 15.2.  Procedure 1: CB_COMPOUND - Compound Operations
> > 
> > ...
> >    ERRORS
> > 
> >      All errors defined in the protocol
> 
> (actually, it can't return them all, or even close ...)

True enough.  We can substitute the union of the errors defined for
each of the callback ops.

> 
> >      The client returns attrbits and the associated attribute values
> >      only for attributes that it may change (change, time_modify,
> >      object_size).  It may further limit the response to attributes that
> >      it has in fact changed during the scope of the delegation.
> 
> Why would it bother limiting the response to just those that have
> changed?  Surely this is a very minor savings ... ?

You're right.  I would strike the last sentence.

 


From nfs4-wg-request@sunroof.eng.sun.com  Sat Apr 15 02:31:20 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 CAA01976
	for <nfsv4-archive@odin.ietf.org>; Sat, 15 Apr 2000 02:31:19 -0400 (EDT)
Received: from engmail4.Eng.Sun.COM ([129.144.134.6])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id AAA22497;
	Sat, 15 Apr 2000 00:31:14 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail4.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id XAA06836;
	Fri, 14 Apr 2000 23:31:02 -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 e3F6Ug704846
	for <nfsv4-wg@sunroof.eng.sun.com>; Fri, 14 Apr 2000 23:30:43 -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 XAA00479;
	Fri, 14 Apr 2000 23:30:41 -0700 (PDT)
Received: from daffy.ee.lbl.gov (daffy.ee.lbl.gov [131.243.1.31])
	by venus.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id XAA07970;
	Fri, 14 Apr 2000 23:30:41 -0700 (PDT)
Received: (from vern@localhost)
	by daffy.ee.lbl.gov (8.10.0/8.10.0) id e3F6Ueg23692;
	Fri, 14 Apr 2000 23:30:40 -0700 (PDT)
Message-Id: <200004150630.e3F6Ueg23692@daffy.ee.lbl.gov>
To: "Noveck, Dave" <Dave.Noveck@netapp.com>
Cc: Brent.Callaghan@eng.sun.com, "Pawlowski, Brian" <beepy@netapp.com>,
        sob@harvard.edu, mankin@east.isi.edu, shepler@eng.sun.com,
        beame@bws.com, mre@eng.sun.com, david.robinson@eng.sun.com,
        robert.thurlow@eng.sun.com,
        "'nfsv4-wg@sunroof.eng.sun.com'" <nfsv4-wg@sunroof.eng.sun.com>
Subject: Re: comments on draft-ietf-nfsv4-06.txt
In-reply-to: Your message of Fri, 14 Apr 2000 12:48:41 PDT.
Date: Fri, 14 Apr 2000 23:30:40 PDT
From: Vern Paxson <vern@ee.lbl.gov>

These all look fine to me - thanks!  Two tweaks appended.

		Vern


> How about this paragraph instead
> 
>      This operation should be used by a clients which do record delegation
>      information on stable storage on the client.  In this case, DELEGPURGE
>      should be issued immediately after doing delegation recovery on all
>      delegations know to the client.  Doing so will notify the server that
>      no additional delegations for the client will be recovered allowing 
>      it to free resources, and avoid delaying other clients who make
>      request that conflict with the unrecovered delegations.  The set of

request -> requests

>      delgations known to the server and the client may be different since
>      a client may fail after making a request that resulted in delegation
>      but before it receieved the results and committed them to its own

receieved -> received


From nfs4-wg-request@sunroof.eng.sun.com  Tue Apr 18 19:20:56 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 TAA14274
	for <nfsv4-archive@odin.ietf.org>; Tue, 18 Apr 2000 19:20:55 -0400 (EDT)
Received: from engmail4.Eng.Sun.COM ([129.144.134.6])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id RAA03698;
	Tue, 18 Apr 2000 17:20:42 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail4.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id QAA27121;
	Tue, 18 Apr 2000 16:20:23 -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 e3INK7707002
	for <nfsv4-wg@sunroof.eng.sun.com>; Tue, 18 Apr 2000 16:20:07 -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 QAA29858
	for <nfsv4-wg@sunroof.eng.sun.com>; Tue, 18 Apr 2000 16:20:07 -0700 (PDT)
Received: from atlrel2.hp.com (atlrel2.hp.com [156.153.255.202])
	by venus.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id QAA22670
	for <nfsv4-wg@sunroof.eng.sun.com>; Tue, 18 Apr 2000 16:20:07 -0700 (PDT)
Received: from hpindmg.cup.hp.com (hpindmg.cup.hp.com [15.13.106.106])
	by atlrel2.hp.com (Postfix) with ESMTP id 7A706B7
	for <nfsv4-wg@sunroof.eng.sun.com>; Tue, 18 Apr 2000 19:20:06 -0400 (EDT)
Received: (from buvana@localhost) by hpindmg.cup.hp.com (8.7.1/8.7.1) id QAA08807 for nfsv4-wg@sunroof.eng.sun.com; Tue, 18 Apr 2000 16:21:53 -0700 (PDT)
Date: Tue, 18 Apr 2000 16:21:53 -0700 (PDT)
From: Buvanaswari Mohan <buvana@hpindmg.cup.hp.com>
Message-Id: <200004182321.QAA08807@hpindmg.cup.hp.com>
To: nfsv4-wg@sunroof.eng.sun.com
Subject: Question about fsid
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Content-MD5: GySxi3nS9hawMe9WeHWBnQ==
Content-Transfer-Encoding: 7bit

Hi,

  I have been reading the archived mail list in playground.sun.com.
  
  I am looking at the server name space implementation detail for NFS V4.  Is 
there a definition on what fsid.major and fsid.minor describe or their contents 
should be?  
  
  Any further info regarding this is greatly appreciated.
  
  
Thanks,

Buvana

P.S  -  When you reply, please reply to buvana@cup.hp.com instead of clicking on 
'reply to sender'.  Mail sent to me by 'reply to sender' is guaranteed not to 
reach me.
  
  
  


From nfs4-wg-request@sunroof.eng.sun.com  Wed Apr 26 13:11:20 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 NAA00601
	for <nfsv4-archive@odin.ietf.org>; Wed, 26 Apr 2000 13:11:20 -0400 (EDT)
Received: from engmail4.Eng.Sun.COM ([129.144.134.6])
	by lukla.Sun.COM (8.9.3+Sun/8.9.3) with ESMTP id LAA27019;
	Wed, 26 Apr 2000 11:10:50 -0600 (MDT)
Received: from sunroof.eng.sun.com (sunroof.Eng.Sun.COM [129.146.168.88])
	by engmail4.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id KAA00449;
	Wed, 26 Apr 2000 10:10:27 -0700 (PDT)
Received: from jurassic.eng.sun.com (jurassic [129.146.83.130] (may be forged))
	by sunroof.eng.sun.com (8.10.1+Sun/8.10.1.Beta0) with ESMTP id e3QHAA712238
	for <nfsv4-wg@sunroof.eng.sun.com>; Wed, 26 Apr 2000 10:10:11 -0700 (PDT)
Received: from terra.eng.sun.com (terra.Eng.Sun.COM [129.146.86.99])
	by jurassic.eng.sun.com (8.10.1+Sun/8.10.1) with ESMTP id e3QHAAh957985;
	Wed, 26 Apr 2000 10:10:10 -0700 (PDT)
Received: (from brent@localhost)
	by terra.eng.sun.com (8.9.3+Sun/8.9.3) id KAA11164;
	Wed, 26 Apr 2000 10:10:05 -0700 (PDT)
Date: Wed, 26 Apr 2000 10:10:05 -0700 (PDT)
From: Brent Callaghan <Brent.Callaghan@eng.sun.com>
Message-Id: <200004261710.KAA11164@terra.eng.sun.com>
To: nfsv4-wg@sunroof.eng.sun.com
Subject: NFSv4 Working Group Minutes @ IETF 47, Adelaide
Cc: minutes@ietf.org
X-Sun-Charset: US-ASCII


NFSv4 Working Group Meeting @ IETF 47, Adelaide
-----------------------------------------------

        Reported by Brent Callaghan

The NFSv4 working group met in two sessions. The first on Monday
evening for 2 1/2 hours and the second on Tuesday night for 1
hour.  The meetings were attended by 20 people. WG co-chair,
Brent Callaghan, welcomed the attendees and introduced the first
speaker, document editor, Spencer Shepler.

Spencer gave a quick summary of the changes that went into draft
06.  He added some new compound operations: OPEN_CONFIRM,
SETCLIENTID_CONFIRM, and OPEN_DOWNGRADE, and clarified the text
of the RENEW operation.  The document is currently pending IESG
review and more minor updates are expected following this
review.  Spencer then went on to describe some of the contents
of an Implementation Choices RFC.  The intent of this RFC is to
describe implementation detail specific to operating systems
such as UNIX.  This level of detail would be innapropriate in
the protocol spec. Spencer suggested the following items
be included:

    - Suggestions for persistent and volatile filehandle content.
    - How to support Internationalized text strings on filesystems
      that support single-byte encodings.
    - Discussions of client and server state management.
    - Options for converting between owner/group identities and
      protocol string representation.
    - Issues with allowing local access to an exported filesystem
      on a server (having NFS detect access to delegated files).
    - Managing missing attributes, solutions for file migration
      and replication.
    - Translating Access Control Lists from one representation to
      another.
    - Mapping locking and lease semantics across heterogeneous servers.

Brent summarized the results of the NFS v4 testing at
Connectathon.  As with the previous bakeoff in October, there
were six servers and 4 clients from 5 vendors.  The Solaris
snoop sniffer with extensions to handle NFSv4 decodes was used
as well as a new Tcl-based testing client. In addition to
testing some of the simpler ops (putrootfh, getfh, lookup,
getattr) there was some testing of more complex v4 ops (open,
create, rpcsec_gss security).

Bev Crair of Sun announced the availability of TI-RPC source
from Sun under the new Sun Industry Standards Source License
(SISSL) - downloadable from http://soldc.sun.com . This source
contains an implementation of the GSS-API (rfc2078) and
RPCSEC_GSS (rfc2203) along with updated RPC and XDR source code.
Sun also makes binaries of its NFS v4 prototypes available under
an evaluation license (contact dana.barsan@eng.sun.com). The
NFSv4 Tcl testing client, nfsv4shell, will be made available in
source form mid-April. Sun also continues to license its ONC+
source to ONC+ licensees.  The ONC+ license may provide early
access to NFS v4 product source.

Co-chair, Brian Pawlowski lead an interactive discussion through
the remainder of the session and the 1 hour session on Tuesday
night. Costas Sapuntzakis asked whether there was still interest
in adding protocol support for hardware decode of NFSv4
requests.  In a previous post to the list he suggested the
addition of byte counts fields that would allow ops containing
large chunks of data to be located quickly with a minimum of
protocol parsing.  The consensus seemed to favor leaving the
protocol alone - with a contention that smart enough hardware
could parse without the additional fields.  Neil Brown asked how
key exchange would be handled by LIPKEY in the reverse direction
when the server makes a callback (section 3.4 in the spec). Mike
Eisler suggested that the server might return a public key to
the client (Mike subsequently followed up with an additional
proposal on the list).  There was some discussion on the
properties of the changeid attribute: whether it should increase
or decrease.  Consensus seemed to be that the value should
increase (acknowledging wraparound for overflow).

Brian wound up the discussion by soliciting proposals for
further work that the WG could undertake:

	- Proxying support
		The protocol is not currently proxyable.
	- Implementation Choices document
		As described in Spencer's presentation.
	- Migration/replication protocols
		The NFSv4 protocol does not describe
		protocols for back-end migration of
		file data or replica management.
	- Global naming
		There is no global namespace described for
		NFSv4.  Possibilities include automounter-style
		naming (/net/server), NFS URLs, or AFS-style
		global namespaces.
	- Hardware acceleration
		Opportunities for accelerating protocol
		processing with hardware.
	- Minor versioning
		Development of a minor version of the
		protocol that includes some of the above
		features.

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

The slides from the meeting can be viewed at:

   http://playground.sun.com/pub/nfsv4/presentations/ietf47

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


From nfs4-wg-request@sunroof.eng.sun.com  Sat Apr 29 22:52:48 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 WAA02099
	for <nfsv4-archive@odin.ietf.org>; Sat, 29 Apr 2000 22:52:47 -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 UAA10043;
	Sat, 29 Apr 2000 20:52:23 -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 TAA25276;
	Sat, 29 Apr 2000 19:50:03 -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 e3U2nC714439;
	Sat, 29 Apr 2000 19:49:12 -0700 (PDT)
Received: from venus.Sun.COM (venus.EBay.Sun.COM [129.150.69.5])
	by engmail4.Eng.Sun.COM (8.9.1b+Sun/8.9.1/ENSMAIL,v1.6) with ESMTP id TAA06028;
	Sat, 29 Apr 2000 19:49:11 -0700 (PDT)
From: jeffallen@spotbuy.com
Received: from spotbuy.com (host-209-215-25-29.sav.bellsouth.net [209.215.25.29])
	by venus.Sun.COM (8.9.3+Sun/8.9.3) with SMTP id TAA26967;
	Sat, 29 Apr 2000 19:49:09 -0700 (PDT)
Subject: Would you like to save 30% on your phone bills and...
Date: Sat, 29 Apr 2000 22:55:28
Message-Id: <518.752724.617988@spotbuy.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
To: undisclosed-recipients:;


To be removed from this mailing list immediately press reply and enter REMOVE on the subject line.

Would you like some information on saving 30% on your Phone bills each month and how to get up to 8% back each month on your Utilities including phone. This service works for both business and residential, domestic and international. Sign up is FREE

Reply with "MORE INFO" in the subject field



