
From rmacklem@uoguelph.ca  Wed Jan  4 08:28:08 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0621921F87CE for <nfsv4@ietfa.amsl.com>; Wed,  4 Jan 2012 08:28:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.999
X-Spam-Level: 
X-Spam-Status: No, score=-4.999 tagged_above=-999 required=5 tests=[AWL=-1.000, BAYES_50=0.001, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id f+5LCQDGjAca for <nfsv4@ietfa.amsl.com>; Wed,  4 Jan 2012 08:28:07 -0800 (PST)
Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by ietfa.amsl.com (Postfix) with ESMTP id 8317221F87CB for <nfsv4@ietf.org>; Wed,  4 Jan 2012 08:28:07 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ArIEANl8BE+DaFvO/2dsb2JhbABDggWDCqheghyBCwINGQKIdJYOjgKRSoEvgSaGIIIEgRYEiDiMTJJS
X-IronPort-AV: E=Sophos;i="4.71,456,1320642000"; d="scan'208";a="152478792"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 04 Jan 2012 11:28:05 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id CAE63B3F24 for <nfsv4@ietf.org>; Wed,  4 Jan 2012 11:28:05 -0500 (EST)
Date: Wed, 4 Jan 2012 11:28:05 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: nfsv4@ietf.org
Message-ID: <1727025988.839289.1325694485801.JavaMail.root@erie.cs.uoguelph.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.203]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Subject: [nfsv4] tracking development of FreeBSD's pNFS client
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jan 2012 16:28:08 -0000

I just answered an email off-list about the FreeBSD pNFS client
work. I realized that someone out there might find reading the
"blow-by-blow" development logs/code amusing.

So, just in case you'd find it amusing/useful, you can monitor
the FreeBSD pNFS client development here:
  http://svn.freebsd.org/viewvc/base/projects/nfsv4.1-client
  (You can read the commit logs and look at the code.)

At this point, none of it is ready for testing.

Have fun with pNFS, rick

From internet-drafts@ietf.org  Wed Jan  4 11:20:04 2012
Return-Path: <internet-drafts@ietf.org>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8880411E8088; Wed,  4 Jan 2012 11:20:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[AWL=0.000, BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id r3mOX4jMFYFJ; Wed,  4 Jan 2012 11:20:04 -0800 (PST)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 17FDB21F864B; Wed,  4 Jan 2012 11:20:04 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 3.64p1
Message-ID: <20120104192004.27780.44832.idtracker@ietfa.amsl.com>
Date: Wed, 04 Jan 2012 11:20:04 -0800
Cc: nfsv4@ietf.org
Subject: [nfsv4] I-D Action: draft-ietf-nfsv4-minorversion2-07.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jan 2012 19:20:04 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies. This draft is a work item of the Network File System Version 4 Working=
 Group of the IETF.

	Title           : NFS Version 4 Minor Version 2
	Author(s)       : Thomas Haynes
	Filename        : draft-ietf-nfsv4-minorversion2-07.txt
	Pages           : 92
	Date            : 2012-01-04

   This Internet-Draft describes NFS version 4 minor version two,
   focusing mainly on the protocol extensions made from NFS version 4
   minor version 0 and NFS version 4 minor version 1.  Major extensions
   introduced in NFS version 4 minor version two include: Server-side
   Copy, Space Reservations, and Support for Sparse Files.



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

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

This Internet-Draft can be retrieved at:
ftp://ftp.ietf.org/internet-drafts/draft-ietf-nfsv4-minorversion2-07.txt


From internet-drafts@ietf.org  Wed Jan  4 11:20:23 2012
Return-Path: <internet-drafts@ietf.org>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 15E9811E8095; Wed,  4 Jan 2012 11:20:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level: 
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0BI2skwGTWKJ; Wed,  4 Jan 2012 11:20:22 -0800 (PST)
Received: from ietfa.amsl.com (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 28D9B11E809C; Wed,  4 Jan 2012 11:20:20 -0800 (PST)
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
From: internet-drafts@ietf.org
To: i-d-announce@ietf.org
X-Test-IDTracker: no
X-IETF-IDTracker: 3.64p1
Message-ID: <20120104192020.27966.33098.idtracker@ietfa.amsl.com>
Date: Wed, 04 Jan 2012 11:20:20 -0800
Cc: nfsv4@ietf.org
Subject: [nfsv4] I-D Action: draft-ietf-nfsv4-minorversion2-dot-x-07.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jan 2012 19:20:23 -0000

A New Internet-Draft is available from the on-line Internet-Drafts director=
ies. This draft is a work item of the Network File System Version 4 Working=
 Group of the IETF.

	Title           : NFSv4 Minor Version 2 Protocol External Data Representat=
ion Standard (XDR) Description
	Author(s)       : Thomas Haynes
	Filename        : draft-ietf-nfsv4-minorversion2-dot-x-07.txt
	Pages           : 81
	Date            : 2012-01-04

   This Internet-Draft provides the XDR description for NFSv4 minor
   version two.



A URL for this Internet-Draft is:
http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-minorversion2-dot-x-07=
.txt

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

This Internet-Draft can be retrieved at:
ftp://ftp.ietf.org/internet-drafts/draft-ietf-nfsv4-minorversion2-dot-x-07.=
txt


From Tom.Haynes@netapp.com  Wed Jan  4 11:27:46 2012
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EAAA121F8736 for <nfsv4@ietfa.amsl.com>; Wed,  4 Jan 2012 11:27:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.479
X-Spam-Level: 
X-Spam-Status: No, score=-10.479 tagged_above=-999 required=5 tests=[AWL=0.120, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ev7USZi6UVDK for <nfsv4@ietfa.amsl.com>; Wed,  4 Jan 2012 11:27:44 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 7013C21F871B for <nfsv4@ietf.org>; Wed,  4 Jan 2012 11:27:44 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,457,1320652800"; d="scan'208";a="613402054"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 04 Jan 2012 11:27:43 -0800
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q04JRVqV016740 for <nfsv4@ietf.org>; Wed, 4 Jan 2012 11:27:32 -0800 (PST)
Received: from VMWEXCEHT01-PRD.hq.netapp.com ([10.106.76.239]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Wed, 4 Jan 2012 11:27:27 -0800
Received: from SACEXCMBX04-PRD.hq.netapp.com ([169.254.6.193]) by vmwexceht01-prd.hq.netapp.com ([10.106.76.239]) with mapi id 14.01.0355.002; Wed, 4 Jan 2012 11:27:26 -0800
From: "Haynes, Tom" <Tom.Haynes@netapp.com>
To: "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: [nfsv4] I-D Action: draft-ietf-nfsv4-minorversion2-07.txt
Thread-Index: AQHMyxYBYthoBcoVCUGaTFQHuf/IOJX9HbaA
Date: Wed, 4 Jan 2012 19:27:25 +0000
Message-ID: <75F83D5A-8E7A-4185-82DE-198DF3AC9056@netapp.com>
References: <20120104192004.27780.44832.idtracker@ietfa.amsl.com>
In-Reply-To: <20120104192004.27780.44832.idtracker@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.106.53.51]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <CADCE86CAF7B704BA94687C660D2F041@tahoe.netapp.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 04 Jan 2012 19:27:27.0096 (UTC) FILETIME=[E48B5F80:01CCCB16]
Subject: Re: [nfsv4] I-D Action: draft-ietf-nfsv4-minorversion2-07.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jan 2012 19:27:47 -0000

This contains the changes made by David Black for the security in Server-Si=
de Copy and
a start of the description for SEEK.

I'm going to start (bi-)weekly conference calls back up on Thursday the 19t=
h.

We'll talk about format, how to prepare changes, and content.

On Jan 4, 2012, at 1:20 PM, <internet-drafts@ietf.org>
 <internet-drafts@ietf.org> wrote:

>=20
> A New Internet-Draft is available from the on-line Internet-Drafts direct=
ories. This draft is a work item of the Network File System Version 4 Worki=
ng Group of the IETF.
>=20
> 	Title           : NFS Version 4 Minor Version 2
> 	Author(s)       : Thomas Haynes
> 	Filename        : draft-ietf-nfsv4-minorversion2-07.txt
> 	Pages           : 92
> 	Date            : 2012-01-04
>=20
>   This Internet-Draft describes NFS version 4 minor version two,
>   focusing mainly on the protocol extensions made from NFS version 4
>   minor version 0 and NFS version 4 minor version 1.  Major extensions
>   introduced in NFS version 4 minor version two include: Server-side
>   Copy, Space Reservations, and Support for Sparse Files.
>=20
>=20
>=20
> A URL for this Internet-Draft is:
> http://www.ietf.org/internet-drafts/draft-ietf-nfsv4-minorversion2-07.txt
>=20
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
>=20
> This Internet-Draft can be retrieved at:
> ftp://ftp.ietf.org/internet-drafts/draft-ietf-nfsv4-minorversion2-07.txt
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


From david.noveck@emc.com  Wed Jan  4 14:00:20 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 421E211E80CB for <nfsv4@ietfa.amsl.com>; Wed,  4 Jan 2012 14:00:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.899
X-Spam-Level: 
X-Spam-Status: No, score=-5.899 tagged_above=-999 required=5 tests=[AWL=0.100,  BAYES_00=-2.599, J_CHICKENPOX_32=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id FS92PdQuXv76 for <nfsv4@ietfa.amsl.com>; Wed,  4 Jan 2012 14:00:19 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id 2E44811E80C9 for <nfsv4@ietf.org>; Wed,  4 Jan 2012 14:00:18 -0800 (PST)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q04M0G9I000574 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Jan 2012 17:00:18 -0500
Received: from mailhub.lss.emc.com (mailhubhoprd02.lss.emc.com [10.254.221.253]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Wed, 4 Jan 2012 16:59:52 -0500
Received: from mxhub35.corp.emc.com (mxhub35.corp.emc.com [10.254.93.83]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q04LxqTH029242; Wed, 4 Jan 2012 16:59:52 -0500
Received: from mx31a.corp.emc.com ([169.254.1.100]) by mxhub35.corp.emc.com ([::1]) with mapi; Wed, 4 Jan 2012 16:59:51 -0500
From: <david.noveck@emc.com>
To: <rmacklem@uoguelph.ca>
Date: Wed, 4 Jan 2012 16:59:51 -0500
Thread-Topic: [nfsv4] pNFS MDS and DS sharing clientid
Thread-Index: AczHGltXRwVYNPd8QaKH0iK0uQipMgA3AOKg
Message-ID: <5DEA8DB993B81040A21CF3CB332489F695EB1EF0@MX31A.corp.emc.com>
References: <5DEA8DB993B81040A21CF3CB332489F6955DA20D@MX31A.corp.emc.com> <1504987406.695762.1325266881769.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <1504987406.695762.1325266881769.JavaMail.root@erie.cs.uoguelph.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] pNFS MDS and DS sharing clientid
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Jan 2012 22:00:20 -0000

> It seems that a bunch of stuff was put in the EXCHANGEID reply,
> like server_scope, so that "same/not same server" could be decided,
> but only EXCHANGEID gets that information.

It seems like you are thinking that there is something wrong with that,
and that you might need such information at other times.

When this was done, the assumptions was that one had already some occasion/
motivation to begin communication with the given server(s) and that you nee=
ded
server-owner information to avoid getting confused, as you would when two=20
different IP addresses behaved as part of the same server, if you didn't ha=
ve
the information that they were the same server.

I don't think that anyone then raised the question of a need for such
information at any other time.  =20

> But if I don't do what I suggested below, "How do I know whether or
> not the address in nfsv4_1_file_layout_ds_addr4.nflda_multipath_ds_list<N=
>
> is the "same server" as the MDS?

You don't.  Why is that a problem?

> Without a new EXCHANGEID, all I can see the client can do is compare
> the netaddr4 host IP address with the one provided at mount time for
> the NFSv4.1 (MDS) server.=20

A matching IP address is a sufficient condition for server equivalence, so =
if you=20
have equality, you know.  It is not a necessary condition, so in the event =
of=20
inequality you don't know if it is the same server without an EXCHANGEID.  =
Why is=20
that a problem? =20

> And do I compare all of the ones in
> multipath_list4<>, looking for a match in this way?

Only if you had a very strong preference for the same server.  I might have=
 a preference
to not use the same server (and look for a non-match) to give the MDS a per=
formance break,=20
But overall, it seems best to use the first address that works well and let=
 the MDS, who
is in a better position to do global load balancing give you his best sugge=
stion.





-----Original Message-----
From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of R=
ick Macklem
Sent: Friday, December 30, 2011 12:41 PM
To: Noveck, David
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] pNFS MDS and DS sharing clientid

David Noveck wrote:
> > Now, the client has a netaddr for a DS server it needs to talk to
> > and
> > it already has an established clientid/session for the MDS.
>=20
> I believe that it is best to treat this exactly the same as any other
> situation
> in which we have a session for a clientid for which USE_DS was
> returned.
> Whether USE_MDS was also returned doesn't/shouldn't affect the issue.
>=20
Ok, I see what you are saying. I was just worrying about the 1st time
I needed to talk to a DS, but I can see that the same would apply to
subsequent cases of needing a clientid/session for an address in
nfsv4_1_file_layout_ds_addr4.

> > --> This was where I couldn't decide if/when I could use the already
> >     established TCP connection with clientid/session.
>=20
>=20
> I say that I the original EXCHANGED_ID got back USE_DS, and that
> session
> is still active, then you are done, and should use that session
>=20
But if I don't do what I suggested below, "How do I know whether or
not the address in nfsv4_1_file_layout_ds_addr4.nflda_multipath_ds_list<N>
is the "same server" as the MDS?

Without a new EXCHANGEID, all I can see the client can do is compare
the netaddr4 host IP address with the one provided at mount time for
the NFSv4.1 (MDS) server. And do I compare all of the ones in
multipath_list4<>, looking for a match in this way?

It seems that a bunch of stuff was put in the EXCHANGEID reply,
like server_scope, so that "same/not same server" could be decided,
but only EXCHANGEID gets that information.

Still confused, but thanks for the help, rick

> If you did a new EXCHANGEID and the server was not the same, then
> there
> is a problem with the server, or it just happened to reboot in which
> case
> you would find that out when using the existing session.
>=20
>=20
> -----Original Message-----
> From: Rick Macklem [mailto:rmacklem@uoguelph.ca]
> Sent: Friday, December 30, 2011 12:03 PM
> To: Noveck, David
> Cc: nfsv4@ietf.org
> Subject: Re: [nfsv4] pNFS MDS and DS sharing clientid
>=20
> David Noveck wrote:
> > > If I understood it correctly (quite possibly not), this means
> > > that the server can handle both MDS and DS RPCs using the
> > > same ClientID replied by the EXCHANGEID Op.
> >
> > I agree.
> >
> > > If the above is correct, for the File layout case, how does the
> > > client know that the server in struct nfsv4_1_file_layout_ds_addr4
> > > reply for a GETDEVICEINFO is the same as the above MDS+DS?
> >
> > Why does he care about that question specifically?
> >
> > > (Is it simply "same IP address"?)
> >
> > If it isn't, then it is "same IP address or different IP address
> > connected to the same server (as shown by server owner)", but I
> > don't
> > know which of those two is right.
> >
> Ok, my question comes down to "How does the client know it's the
> same server", see below. (For the case where the MDS doesn't set
> EXCHGID_FLAG_USE_PNFS_DS it is not the same server.)
>=20
> > The client needs to take the layout and establish a connection with
> > the DS.
> > So the first thing he does is to see if he has a session with that
> > address that has the USE_PNFS_DS bit set, and if he does, he uses
> > it.
> > (and he might also allow one to a different IP that is for the same
> > Server). I don't think that the fact that that server also set
> > USE_PNFS_MDS changes anything here.
> >
> > > Alternately, if I always do a separate EXCHANGE_ID, CREATE_SESSION
> > > on
> > > a different TCP connection to a DS in "struct
> > > NFSv4.1_file_layout_ds_addr4"
> > > (even if the MDS with EXCHGID4_FLAG_USE_PNFS_DS as above), will
> > > the
> > > server allow that and reply with a separate ClientID and SessionID
> > > that can be used for the connection to the DS?
> >
> > I expect that the server will give you back the same clientid that
> > you
> > got
> > the first time and you can use it do DS stuff (and MDFS stuff)
> >
> Ok, here's where I was stuck:
> - client connects to MDS and does EXCHANGEID, etc (Getting a reply
> with
> both EXCHGID4_FLAG_USE_PNFS_MDS and EXCHGID4_FLAG_USE_PNFS_DS set.)
> - at some point, the client needs to do I/O, so it does a
> LAYOUTGET followed by a GETDEVICEINFO for the deviceid4
>=20
> Now, the client has a netaddr for a DS server it needs to talk to and
> it already has an established clientid/session for the MDS.
> --> This was where I couldn't decide if/when I could use the already
> established TCP connection with clientid/session.
>=20
> From your comment above, is the correct thing for the client to do...
> - create a TCP connection to the netaddr4 in the reply from
> GETDEVICEINFO
> - do an EXCHANGEID4 on that TCP connection with the same
> eia_clientowner it used for EXCHANGEID on the MDS above
> --> Then use the reply from this EXCHANGEID to determine "same server"
> as the MDS above.
> - If same
> - just close this TCP connection and use the established one
> for the MDS above
> else (not same)
> - do a CREATE_SESSION and use this established session for
> the DS I/O operations
>=20
> Does this variant sound right? (When I first posted, I had assumed the
> "same server" decision needed to be made before doing a new TCP
> connection
> and EXCHANGEID4.)
>=20
> Thanks for the help, rick
>=20
> > -----Original Message-----
> > From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On
> > Behalf
> > Of Rick Macklem
> > Sent: Thursday, December 29, 2011 8:25 PM
> > To: nfsv4
> > Subject: [nfsv4] pNFS MDS and DS sharing clientid
> >
> > I've read Sec. 13.1 of rfc5661 a couple of times and am still
> > confused (always:-), so I thought someone could help clarify
> > the case where the server replies with both:
> > EXCHGID4_FLAG_USE_PNFS_MDS | EXCHGID4_FLAG_USE_PNFS_DS
> >
> > If I understood it correctly (quite possibly not), this means
> > that the server can handle both MDS and DS RPCs using the
> > same ClientID replied by the EXCHANGEID Op.
> >
> > If the above is correct, for the File layout case, how does the
> > client know that the server in struct nfsv4_1_file_layout_ds_addr4
> > reply for a GETDEVICEINFO is the same as the above MDS+DS?
> > (Is it simply "same IP address"?)
> >
> > Alternately, if I always do a separate EXCHANGEID, CREATE_SESSION on
> > a different TCP connection to a DS in "struct
> > nfsv4_1_file_layout_ds_addr4"
> > (even if the MDS with EXCHGID4_FLAG_USE_PNFS_DS as above), will the
> > server allow that and reply with a separate ClientID and SessionID
> > that can be used for the connection to the DS?
> >
> > Thanks in advance for any help, rick
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
> >
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www.ietf.org/mailman/listinfo/nfsv4


From rmacklem@uoguelph.ca  Wed Jan  4 17:57:15 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DF7BD21F866E for <nfsv4@ietfa.amsl.com>; Wed,  4 Jan 2012 17:57:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.749
X-Spam-Level: 
X-Spam-Status: No, score=-5.749 tagged_above=-999 required=5 tests=[AWL=0.250,  BAYES_00=-2.599, J_CHICKENPOX_32=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pJ3pjc0by3I8 for <nfsv4@ietfa.amsl.com>; Wed,  4 Jan 2012 17:57:14 -0800 (PST)
Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by ietfa.amsl.com (Postfix) with ESMTP id 7C65D21F865E for <nfsv4@ietf.org>; Wed,  4 Jan 2012 17:57:14 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AnQAAOICBU+DaFvO/2dsb2JhbABDggWDCpcbkUqBcgEBAQMBAQEBIARHCwUHDxEEAQEBAgINFgMCKR8JCAYTh3oIo3aRHgSBL4lKgRYEiDiMTJJS
X-IronPort-AV: E=Sophos;i="4.71,459,1320642000"; d="scan'208";a="152555075"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 04 Jan 2012 20:57:12 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 734A4B3F78; Wed,  4 Jan 2012 20:57:12 -0500 (EST)
Date: Wed, 4 Jan 2012 20:57:12 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: david noveck <david.noveck@emc.com>
Message-ID: <798643735.877063.1325728632429.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <5DEA8DB993B81040A21CF3CB332489F695EB1EF0@MX31A.corp.emc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.203]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] pNFS MDS and DS sharing clientid
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jan 2012 01:57:16 -0000

David Noveck wrote:
> > It seems that a bunch of stuff was put in the EXCHANGEID reply,
> > like server_scope, so that "same/not same server" could be decided,
> > but only EXCHANGEID gets that information.
> 
> It seems like you are thinking that there is something wrong with
> that,
> and that you might need such information at other times.
> 
Well, only if the client is expected to "know that the DS server
is the same one as the MDS server".

> When this was done, the assumptions was that one had already some
> occasion/
> motivation to begin communication with the given server(s) and that
> you needed
> server-owner information to avoid getting confused, as you would when
> two
> different IP addresses behaved as part of the same server, if you
> didn't have
> the information that they were the same server.
> 
> I don't think that anyone then raised the question of a need for such
> information at any other time.
> 
> > But if I don't do what I suggested below, "How do I know whether or
> > not the address in
> > nfsv4_1_file_layout_ds_addr4.nflda_multipath_ds_list<N>
> > is the "same server" as the MDS?
> 
> You don't. Why is that a problem?
> 
> > Without a new EXCHANGEID, all I can see the client can do is compare
> > the netaddr4 host IP address with the one provided at mount time for
> > the NFSv4.1 (MDS) server.
> 
> A matching IP address is a sufficient condition for server
> equivalence, so if you
> have equality, you know. It is not a necessary condition, so in the
> event of
> inequality you don't know if it is the same server without an
> EXCHANGEID. Why is
> that a problem?
> 
See your previous reply, below.

> > And do I compare all of the ones in
> > multipath_list4<>, looking for a match in this way?
> 
> Only if you had a very strong preference for the same server.

Dave, for some reason we seem to be going in circles on this. In a
previous reply, you said:
>> --> This was where I couldn't decide if/when I could use the already
>>     established TCP connection with clientid/session.
>
>
>I say that I the original EXCHANGED_ID got back USE_DS, and that session
>is still active, then you are done, and should use that session
>
>If you did a new EXCHANGEID and the server was not the same, then there
>is a problem with the server, or it just happened to reboot in which case
>you would find that out when using the existing session.

I understood the above reply as saying; "The client should use the same
TCP connection/ClientID/session that it already got from the MDS, if it
is also the DS". And this implies that the client "knows it is the same
server", while you seem to agree that client does not know if it is the
same server.

> I might
> have a preference
> to not use the same server (and look for a non-match) to give the MDS
> a performance break,
> But overall, it seems best to use the first address that works well
> and let the MDS, who
> is in a better position to do global load balancing give you his best
> suggestion.
> 
This makes sense. However, this doesn't affect the case I am concerned with.

It is the case where the client chooses to use the DS that happens to also
be the MDS it is already communicating with, but doesn't recognize it as
"same server" (you agree, above, that it cannot), so it does a separate:
- TCP connect, ExchangeID, CreateSession using the DS address in the DeviceInfo
  reply. (It appears it can answer the "same server" question using the
  reply to ExchangeID, but not before that.)

Sorry that I don't seem to be expressing this clearly. I suspect it may be
"client implementor view" vs "server implementor view"?

rick

> 
> 
> 
> 
> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf
> Of Rick Macklem
> Sent: Friday, December 30, 2011 12:41 PM
> To: Noveck, David
> Cc: nfsv4@ietf.org
> Subject: Re: [nfsv4] pNFS MDS and DS sharing clientid
> 
> David Noveck wrote:
> > > Now, the client has a netaddr for a DS server it needs to talk to
> > > and
> > > it already has an established clientid/session for the MDS.
> >
> > I believe that it is best to treat this exactly the same as any
> > other
> > situation
> > in which we have a session for a clientid for which USE_DS was
> > returned.
> > Whether USE_MDS was also returned doesn't/shouldn't affect the
> > issue.
> >
> Ok, I see what you are saying. I was just worrying about the 1st time
> I needed to talk to a DS, but I can see that the same would apply to
> subsequent cases of needing a clientid/session for an address in
> nfsv4_1_file_layout_ds_addr4.
> 
> > > --> This was where I couldn't decide if/when I could use the
> > > already
> > >     established TCP connection with clientid/session.
> >
> >
> > I say that I the original EXCHANGED_ID got back USE_DS, and that
> > session
> > is still active, then you are done, and should use that session
> >
> But if I don't do what I suggested below, "How do I know whether or
> not the address in
> nfsv4_1_file_layout_ds_addr4.nflda_multipath_ds_list<N>
> is the "same server" as the MDS?
> 
> Without a new EXCHANGEID, all I can see the client can do is compare
> the netaddr4 host IP address with the one provided at mount time for
> the NFSv4.1 (MDS) server. And do I compare all of the ones in
> multipath_list4<>, looking for a match in this way?
> 
> It seems that a bunch of stuff was put in the EXCHANGEID reply,
> like server_scope, so that "same/not same server" could be decided,
> but only EXCHANGEID gets that information.
> 
> Still confused, but thanks for the help, rick
> 
> > If you did a new EXCHANGEID and the server was not the same, then
> > there
> > is a problem with the server, or it just happened to reboot in which
> > case
> > you would find that out when using the existing session.
> >
> >
> > -----Original Message-----
> > From: Rick Macklem [mailto:rmacklem@uoguelph.ca]
> > Sent: Friday, December 30, 2011 12:03 PM
> > To: Noveck, David
> > Cc: nfsv4@ietf.org
> > Subject: Re: [nfsv4] pNFS MDS and DS sharing clientid
> >
> > David Noveck wrote:
> > > > If I understood it correctly (quite possibly not), this means
> > > > that the server can handle both MDS and DS RPCs using the
> > > > same ClientID replied by the EXCHANGEID Op.
> > >
> > > I agree.
> > >
> > > > If the above is correct, for the File layout case, how does the
> > > > client know that the server in struct
> > > > nfsv4_1_file_layout_ds_addr4
> > > > reply for a GETDEVICEINFO is the same as the above MDS+DS?
> > >
> > > Why does he care about that question specifically?
> > >
> > > > (Is it simply "same IP address"?)
> > >
> > > If it isn't, then it is "same IP address or different IP address
> > > connected to the same server (as shown by server owner)", but I
> > > don't
> > > know which of those two is right.
> > >
> > Ok, my question comes down to "How does the client know it's the
> > same server", see below. (For the case where the MDS doesn't set
> > EXCHGID_FLAG_USE_PNFS_DS it is not the same server.)
> >
> > > The client needs to take the layout and establish a connection
> > > with
> > > the DS.
> > > So the first thing he does is to see if he has a session with that
> > > address that has the USE_PNFS_DS bit set, and if he does, he uses
> > > it.
> > > (and he might also allow one to a different IP that is for the
> > > same
> > > Server). I don't think that the fact that that server also set
> > > USE_PNFS_MDS changes anything here.
> > >
> > > > Alternately, if I always do a separate EXCHANGE_ID,
> > > > CREATE_SESSION
> > > > on
> > > > a different TCP connection to a DS in "struct
> > > > NFSv4.1_file_layout_ds_addr4"
> > > > (even if the MDS with EXCHGID4_FLAG_USE_PNFS_DS as above), will
> > > > the
> > > > server allow that and reply with a separate ClientID and
> > > > SessionID
> > > > that can be used for the connection to the DS?
> > >
> > > I expect that the server will give you back the same clientid that
> > > you
> > > got
> > > the first time and you can use it do DS stuff (and MDFS stuff)
> > >
> > Ok, here's where I was stuck:
> > - client connects to MDS and does EXCHANGEID, etc (Getting a reply
> > with
> > both EXCHGID4_FLAG_USE_PNFS_MDS and EXCHGID4_FLAG_USE_PNFS_DS set.)
> > - at some point, the client needs to do I/O, so it does a
> > LAYOUTGET followed by a GETDEVICEINFO for the deviceid4
> >
> > Now, the client has a netaddr for a DS server it needs to talk to
> > and
> > it already has an established clientid/session for the MDS.
> > --> This was where I couldn't decide if/when I could use the already
> > established TCP connection with clientid/session.
> >
> > From your comment above, is the correct thing for the client to
> > do...
> > - create a TCP connection to the netaddr4 in the reply from
> > GETDEVICEINFO
> > - do an EXCHANGEID4 on that TCP connection with the same
> > eia_clientowner it used for EXCHANGEID on the MDS above
> > --> Then use the reply from this EXCHANGEID to determine "same
> > server"
> > as the MDS above.
> > - If same
> > - just close this TCP connection and use the established one
> > for the MDS above
> > else (not same)
> > - do a CREATE_SESSION and use this established session for
> > the DS I/O operations
> >
> > Does this variant sound right? (When I first posted, I had assumed
> > the
> > "same server" decision needed to be made before doing a new TCP
> > connection
> > and EXCHANGEID4.)
> >
> > Thanks for the help, rick
> >
> > > -----Original Message-----
> > > From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On
> > > Behalf
> > > Of Rick Macklem
> > > Sent: Thursday, December 29, 2011 8:25 PM
> > > To: nfsv4
> > > Subject: [nfsv4] pNFS MDS and DS sharing clientid
> > >
> > > I've read Sec. 13.1 of rfc5661 a couple of times and am still
> > > confused (always:-), so I thought someone could help clarify
> > > the case where the server replies with both:
> > > EXCHGID4_FLAG_USE_PNFS_MDS | EXCHGID4_FLAG_USE_PNFS_DS
> > >
> > > If I understood it correctly (quite possibly not), this means
> > > that the server can handle both MDS and DS RPCs using the
> > > same ClientID replied by the EXCHANGEID Op.
> > >
> > > If the above is correct, for the File layout case, how does the
> > > client know that the server in struct nfsv4_1_file_layout_ds_addr4
> > > reply for a GETDEVICEINFO is the same as the above MDS+DS?
> > > (Is it simply "same IP address"?)
> > >
> > > Alternately, if I always do a separate EXCHANGEID, CREATE_SESSION
> > > on
> > > a different TCP connection to a DS in "struct
> > > nfsv4_1_file_layout_ds_addr4"
> > > (even if the MDS with EXCHGID4_FLAG_USE_PNFS_DS as above), will
> > > the
> > > server allow that and reply with a separate ClientID and SessionID
> > > that can be used for the connection to the DS?
> > >
> > > Thanks in advance for any help, rick
> > > _______________________________________________
> > > nfsv4 mailing list
> > > nfsv4@ietf.org
> > > https://www.ietf.org/mailman/listinfo/nfsv4
> > >
> > > _______________________________________________
> > > nfsv4 mailing list
> > > nfsv4@ietf.org
> > > https://www.ietf.org/mailman/listinfo/nfsv4
> >
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

From david.noveck@emc.com  Thu Jan  5 04:13:39 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6BFAC21F87F1 for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 04:13:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.924
X-Spam-Level: 
X-Spam-Status: No, score=-5.924 tagged_above=-999 required=5 tests=[AWL=0.075,  BAYES_00=-2.599, J_CHICKENPOX_32=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vM9-680CKqIL for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 04:13:38 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id CD71C21F87E3 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 04:13:37 -0800 (PST)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q05CDaLP000992 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Jan 2012 07:13:36 -0500
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.130]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Thu, 5 Jan 2012 07:13:17 -0500
Received: from mxhub10.corp.emc.com (mxhub10.corp.emc.com [10.254.92.105]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q05CDFT2011226; Thu, 5 Jan 2012 07:13:15 -0500
Received: from mx31a.corp.emc.com ([169.254.1.100]) by mxhub10.corp.emc.com ([10.254.92.105]) with mapi; Thu, 5 Jan 2012 07:13:15 -0500
From: <david.noveck@emc.com>
To: <rmacklem@uoguelph.ca>
Date: Thu, 5 Jan 2012 07:13:14 -0500
Thread-Topic: [nfsv4] pNFS MDS and DS sharing clientid
Thread-Index: AczLTWOX/bLiwAxCQA6i2nRHr9/D0QAT18jA
Message-ID: <5DEA8DB993B81040A21CF3CB332489F695EB1F53@MX31A.corp.emc.com>
References: <5DEA8DB993B81040A21CF3CB332489F695EB1EF0@MX31A.corp.emc.com> <798643735.877063.1325728632429.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <798643735.877063.1325728632429.JavaMail.root@erie.cs.uoguelph.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] pNFS MDS and DS sharing clientid
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jan 2012 12:13:39 -0000

Yes, we are going in circles and it is getting boring.  Sorry, everybody.

Rick and I seem to be in violent agreement even though we have retained suf=
ficient
angular momentum to keep the discussion spinning.  I think I wrote some stu=
ff that was
not clear and I will try below to reduce (and I hope not to increase) our a=
ngular
momentum.

<dn:ok> I say that I the original EXCHANGED_ID got back USE_DS, and that se=
ssion
<dn:ok> is still active, then you are done, and should use that session

I would have been better off to just stop or say:

<dn:ok?> The above holds whether the EXCHANGE_ID also got back USE_MDS or n=
ot.

Instead, I led the discussion astray by saying.

<dn:sic> If you did a new EXCHANGEID and the server was not the same, then =
there
<dn:sic> is a problem with the server, or it just happened to reboot in whi=
ch case
<dn:sic> you would find that out when using the existing session.

While it might have been clearer if I had said:

<dn:ok?> note that if you somehow ignored or forgot the fact that you had t=
his
<dn:ok?> information from the previous EXCHANGE_ID, things would still work=
 out
<dn:ok?> OK, and this also applies in all cases in which USE_DS was returne=
d, whether
<dn:ok?> USE_MDS was also returned or not.
<dn:ok?>
<dn:ok?> In all such cases, as long as the server was operating correctly y=
ou would get
<dn:ok?> either:
<dn:ok?>    (1) the same clientid, server_owner, and use bits that you got =
in the
<dn:ok?>        original EXCHANGE_ID.
<dn:ok?>    (2) A new clientid indicating the server has rebooted since the=
 first
<dn:ok?>        EXCHANGED_ID, in which case normal state/client handling pr=
ocedures
<dn:ok?>        should be used to clear state associated with the old serve=
r
<dn:ok?>        instantiation and you can then act on the information in th=
e new
<dn:ok?>        EXCHANGE_ID.

<rm:ok> I understood the above reply as saying; "The client should use the =
same
<rm:ok> TCP connection/ClientID/session that it already got from the MDS, i=
f it
<rm:ok> is also the DS".

I din't say that but I agree that I did imply it.

But note that, while I didn't make it clear, what I meant was more like "Th=
e client
should use the same TCP connection/ClientID/session that it already got fro=
m the DS,
whether it is also the MDS, or not".  That implies your statement above but=
 it would have
been clearer about the implied-knowledge issue which set us on our circular=
 path.

<rm:sic?> And this implies that the client "knows it is the same
<rm:sic?> server", while you seem to agree that client does not know if it =
is the
<rm:sic?> same server.

It doesn't imply this.  You can, in analyzing a situation, make reference t=
o things the
participants don't know, as long as you don't ask them to do something diff=
erent,
based on knowledge they don't have.  In this case, although I should have m=
ade that
clearer, I am asking the server to use the connection/ClientID/session it g=
ot previously
whether it got it from the same server as the MDS or not, so such knowledge=
 is not required,
as the client would do the same thing in either case.

-----Original Message-----
From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of R=
ick Macklem
Sent: Wednesday, January 04, 2012 8:57 PM
To: Noveck, David
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] pNFS MDS and DS sharing clientid

David Noveck wrote:
> > It seems that a bunch of stuff was put in the EXCHANGEID reply,
> > like server_scope, so that "same/not same server" could be decided,
> > but only EXCHANGEID gets that information.
>
> It seems like you are thinking that there is something wrong with
> that,
> and that you might need such information at other times.
>
Well, only if the client is expected to "know that the DS server
is the same one as the MDS server".

> When this was done, the assumptions was that one had already some
> occasion/
> motivation to begin communication with the given server(s) and that
> you needed
> server-owner information to avoid getting confused, as you would when
> two
> different IP addresses behaved as part of the same server, if you
> didn't have
> the information that they were the same server.
>
> I don't think that anyone then raised the question of a need for such
> information at any other time.
>
> > But if I don't do what I suggested below, "How do I know whether or
> > not the address in
> > nfsv4_1_file_layout_ds_addr4.nflda_multipath_ds_list<N>
> > is the "same server" as the MDS?
>
> You don't. Why is that a problem?
>
> > Without a new EXCHANGEID, all I can see the client can do is compare
> > the netaddr4 host IP address with the one provided at mount time for
> > the NFSv4.1 (MDS) server.
>
> A matching IP address is a sufficient condition for server
> equivalence, so if you
> have equality, you know. It is not a necessary condition, so in the
> event of
> inequality you don't know if it is the same server without an
> EXCHANGEID. Why is
> that a problem?
>
See your previous reply, below.

> > And do I compare all of the ones in
> > multipath_list4<>, looking for a match in this way?
>
> Only if you had a very strong preference for the same server.

Dave, for some reason we seem to be going in circles on this. In a
previous reply, you said:
>> --> This was where I couldn't decide if/when I could use the already
>>     established TCP connection with clientid/session.
>
>
>I say that I the original EXCHANGED_ID got back USE_DS, and that session
>is still active, then you are done, and should use that session
>
>If you did a new EXCHANGEID and the server was not the same, then there
>is a problem with the server, or it just happened to reboot in which case
>you would find that out when using the existing session.

I understood the above reply as saying; "The client should use the same
TCP connection/ClientID/session that it already got from the MDS, if it
is also the DS". And this implies that the client "knows it is the same
server", while you seem to agree that client does not know if it is the
same server.

> I might
> have a preference
> to not use the same server (and look for a non-match) to give the MDS
> a performance break,
> But overall, it seems best to use the first address that works well
> and let the MDS, who
> is in a better position to do global load balancing give you his best
> suggestion.
>
This makes sense. However, this doesn't affect the case I am concerned with=
.

It is the case where the client chooses to use the DS that happens to also
be the MDS it is already communicating with, but doesn't recognize it as
"same server" (you agree, above, that it cannot), so it does a separate:
- TCP connect, ExchangeID, CreateSession using the DS address in the Device=
Info
  reply. (It appears it can answer the "same server" question using the
  reply to ExchangeID, but not before that.)

Sorry that I don't seem to be expressing this clearly. I suspect it may be
"client implementor view" vs "server implementor view"?

rick

>
>
>
>
> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf
> Of Rick Macklem
> Sent: Friday, December 30, 2011 12:41 PM
> To: Noveck, David
> Cc: nfsv4@ietf.org
> Subject: Re: [nfsv4] pNFS MDS and DS sharing clientid
>
> David Noveck wrote:
> > > Now, the client has a netaddr for a DS server it needs to talk to
> > > and
> > > it already has an established clientid/session for the MDS.
> >
> > I believe that it is best to treat this exactly the same as any
> > other
> > situation
> > in which we have a session for a clientid for which USE_DS was
> > returned.
> > Whether USE_MDS was also returned doesn't/shouldn't affect the
> > issue.
> >
> Ok, I see what you are saying. I was just worrying about the 1st time
> I needed to talk to a DS, but I can see that the same would apply to
> subsequent cases of needing a clientid/session for an address in
> nfsv4_1_file_layout_ds_addr4.
>
> > > --> This was where I couldn't decide if/when I could use the
> > > already
> > >     established TCP connection with clientid/session.
> >
> >
> > I say that I the original EXCHANGED_ID got back USE_DS, and that
> > session
> > is still active, then you are done, and should use that session
> >
> But if I don't do what I suggested below, "How do I know whether or
> not the address in
> nfsv4_1_file_layout_ds_addr4.nflda_multipath_ds_list<N>
> is the "same server" as the MDS?
>
> Without a new EXCHANGEID, all I can see the client can do is compare
> the netaddr4 host IP address with the one provided at mount time for
> the NFSv4.1 (MDS) server. And do I compare all of the ones in
> multipath_list4<>, looking for a match in this way?
>
> It seems that a bunch of stuff was put in the EXCHANGEID reply,
> like server_scope, so that "same/not same server" could be decided,
> but only EXCHANGEID gets that information.
>
> Still confused, but thanks for the help, rick
>
> > If you did a new EXCHANGEID and the server was not the same, then
> > there
> > is a problem with the server, or it just happened to reboot in which
> > case
> > you would find that out when using the existing session.
> >
> >
> > -----Original Message-----
> > From: Rick Macklem [mailto:rmacklem@uoguelph.ca]
> > Sent: Friday, December 30, 2011 12:03 PM
> > To: Noveck, David
> > Cc: nfsv4@ietf.org
> > Subject: Re: [nfsv4] pNFS MDS and DS sharing clientid
> >
> > David Noveck wrote:
> > > > If I understood it correctly (quite possibly not), this means
> > > > that the server can handle both MDS and DS RPCs using the
> > > > same ClientID replied by the EXCHANGEID Op.
> > >
> > > I agree.
> > >
> > > > If the above is correct, for the File layout case, how does the
> > > > client know that the server in struct
> > > > nfsv4_1_file_layout_ds_addr4
> > > > reply for a GETDEVICEINFO is the same as the above MDS+DS?
> > >
> > > Why does he care about that question specifically?
> > >
> > > > (Is it simply "same IP address"?)
> > >
> > > If it isn't, then it is "same IP address or different IP address
> > > connected to the same server (as shown by server owner)", but I
> > > don't
> > > know which of those two is right.
> > >
> > Ok, my question comes down to "How does the client know it's the
> > same server", see below. (For the case where the MDS doesn't set
> > EXCHGID_FLAG_USE_PNFS_DS it is not the same server.)
> >
> > > The client needs to take the layout and establish a connection
> > > with
> > > the DS.
> > > So the first thing he does is to see if he has a session with that
> > > address that has the USE_PNFS_DS bit set, and if he does, he uses
> > > it.
> > > (and he might also allow one to a different IP that is for the
> > > same
> > > Server). I don't think that the fact that that server also set
> > > USE_PNFS_MDS changes anything here.
> > >
> > > > Alternately, if I always do a separate EXCHANGE_ID,
> > > > CREATE_SESSION
> > > > on
> > > > a different TCP connection to a DS in "struct
> > > > NFSv4.1_file_layout_ds_addr4"
> > > > (even if the MDS with EXCHGID4_FLAG_USE_PNFS_DS as above), will
> > > > the
> > > > server allow that and reply with a separate ClientID and
> > > > SessionID
> > > > that can be used for the connection to the DS?
> > >
> > > I expect that the server will give you back the same clientid that
> > > you
> > > got
> > > the first time and you can use it do DS stuff (and MDFS stuff)
> > >
> > Ok, here's where I was stuck:
> > - client connects to MDS and does EXCHANGEID, etc (Getting a reply
> > with
> > both EXCHGID4_FLAG_USE_PNFS_MDS and EXCHGID4_FLAG_USE_PNFS_DS set.)
> > - at some point, the client needs to do I/O, so it does a
> > LAYOUTGET followed by a GETDEVICEINFO for the deviceid4
> >
> > Now, the client has a netaddr for a DS server it needs to talk to
> > and
> > it already has an established clientid/session for the MDS.
> > --> This was where I couldn't decide if/when I could use the already
> > established TCP connection with clientid/session.
> >
> > From your comment above, is the correct thing for the client to
> > do...
> > - create a TCP connection to the netaddr4 in the reply from
> > GETDEVICEINFO
> > - do an EXCHANGEID4 on that TCP connection with the same
> > eia_clientowner it used for EXCHANGEID on the MDS above
> > --> Then use the reply from this EXCHANGEID to determine "same
> > server"
> > as the MDS above.
> > - If same
> > - just close this TCP connection and use the established one
> > for the MDS above
> > else (not same)
> > - do a CREATE_SESSION and use this established session for
> > the DS I/O operations
> >
> > Does this variant sound right? (When I first posted, I had assumed
> > the
> > "same server" decision needed to be made before doing a new TCP
> > connection
> > and EXCHANGEID4.)
> >
> > Thanks for the help, rick
> >
> > > -----Original Message-----
> > > From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On
> > > Behalf
> > > Of Rick Macklem
> > > Sent: Thursday, December 29, 2011 8:25 PM
> > > To: nfsv4
> > > Subject: [nfsv4] pNFS MDS and DS sharing clientid
> > >
> > > I've read Sec. 13.1 of rfc5661 a couple of times and am still
> > > confused (always:-), so I thought someone could help clarify
> > > the case where the server replies with both:
> > > EXCHGID4_FLAG_USE_PNFS_MDS | EXCHGID4_FLAG_USE_PNFS_DS
> > >
> > > If I understood it correctly (quite possibly not), this means
> > > that the server can handle both MDS and DS RPCs using the
> > > same ClientID replied by the EXCHANGEID Op.
> > >
> > > If the above is correct, for the File layout case, how does the
> > > client know that the server in struct nfsv4_1_file_layout_ds_addr4
> > > reply for a GETDEVICEINFO is the same as the above MDS+DS?
> > > (Is it simply "same IP address"?)
> > >
> > > Alternately, if I always do a separate EXCHANGEID, CREATE_SESSION
> > > on
> > > a different TCP connection to a DS in "struct
> > > nfsv4_1_file_layout_ds_addr4"
> > > (even if the MDS with EXCHGID4_FLAG_USE_PNFS_DS as above), will
> > > the
> > > server allow that and reply with a separate ClientID and SessionID
> > > that can be used for the connection to the DS?
> > >
> > > Thanks in advance for any help, rick
> > > _______________________________________________
> > > nfsv4 mailing list
> > > nfsv4@ietf.org
> > > https://www.ietf.org/mailman/listinfo/nfsv4
> > >
> > > _______________________________________________
> > > nfsv4 mailing list
> > > nfsv4@ietf.org
> > > https://www.ietf.org/mailman/listinfo/nfsv4
> >
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www.ietf.org/mailman/listinfo/nfsv4


From rmacklem@uoguelph.ca  Thu Jan  5 08:26:43 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F3BCC21F86D1 for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 08:26:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.099
X-Spam-Level: 
X-Spam-Status: No, score=-6.099 tagged_above=-999 required=5 tests=[AWL=0.500,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SPozXWhrgXMr for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 08:26:42 -0800 (PST)
Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by ietfa.amsl.com (Postfix) with ESMTP id A8B0F21F8667 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 08:26:41 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AroEAMjOBU+DaFvO/2dsb2JhbABCggWDCqhzghyBCwINGQKfKY4EkTaBL4dIggSBFgSIOYxNklM
X-IronPort-AV: E=Sophos;i="4.71,462,1320642000"; d="scan'208";a="152620497"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 05 Jan 2012 11:26:39 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 0FEE7B3F28 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 11:26:40 -0500 (EST)
Date: Thu, 5 Jan 2012 11:26:40 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: nfsv4@ietf.org
Message-ID: <308054489.903420.1325780800053.JavaMail.root@erie.cs.uoguelph.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.202]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Subject: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jan 2012 16:26:43 -0000

Ok, since Dave and I are going in circles, I'm going to try asking
the question again. (I think Dave was looking for some general case,
where I had simply intended to ask about the following scenario.)
(Dave, try and forget everything we've said until now, since this is
 a new question.;-)

The scenario:
A newly installed NFS client does the first NFS mount it has ever done.
- mount command to an NFS server specified by host IP address.
- client does TCP connect to server port 2049   - works
- client does NULL RPC to NFS version 4         - works, knows server supports v4
- client does Compound, minor vers=1, with EXCHANGE_ID op - works
  - client now knows that the server supports NFSv4.1
  - in the ExchangeID reply, there are the 3 flags
    EXCHGID4_FLAG_USE_NON_PNFS - clear
    EXCHGID4_FLAG_USE_PNFS_MDS - set - client knows that server can issue layouts, etc
    EXCHGID4_FLAG_USE_PNFS_DS - set - client knows that this server is also a DS
- client does CREATE_SESSION - works

- client does assorted NFS stuff, then
- client Opens a file, gets Open_StateID
  - since client knows the server is an MDS and the client supports pNFS, it then
  - client does LAYOUTGET - works (has never done this before) -
    - reply is for a files_layout and has deviceidX
  - client does GETDEVICEINFO with deviceidX - works
    - Now, the reply had a list of DS servers, by netaddr4
      (Lets for simplicity assume that each multipath_list4 is of length 1, so the
       client doesn't have a choice w.r.t. which one to use.)

Here's where I'm not sure what to do next...because I am not sure if a DS specified
in nflda_multipath_ds_list<> is the same server as the above MDS I am already connected
to.

So, what does the client do at this point?
#1 - just do a fresh TCP connection and EXCHANGE_ID for the address in nflda_multipath_ds_list<N>.
     and use that to talk to the DS.
OR
#2 - do the above, but check for same ClientID, scope and if the same as the above MDS,
     close this TCP connection and use the one for the MDS.
OR
#3 - compare the host IP address in nflda_multipath_ds_list<N> with the one used to
     establish the TCP connection to the NFS server above and if the same, just use
     the above established connection for DS operations. The problem here is "what do
     you do for the case where the host IP addresses are not the same"? Can you assume
     that means "use a new TCP connection/ClientID/Session"?

If this still doesn't make sense, don't worry about it. I'll try something and learn
what works. rick

    

From androsadamson@gmail.com  Thu Jan  5 09:28:40 2012
Return-Path: <androsadamson@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3973D21F8852 for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 09:28:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oubXKpIgK7wM for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 09:28:39 -0800 (PST)
Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by ietfa.amsl.com (Postfix) with ESMTP id 829AC21F8851 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 09:28:38 -0800 (PST)
Received: by werb14 with SMTP id b14so662775wer.31 for <nfsv4@ietf.org>; Thu, 05 Jan 2012 09:28:37 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=OMr0+JljY8e6LlE/rBna2nwjEkqhXQI+KDR5gTH1u6Y=; b=P6iU3G1KmdQ9VXuxkp1rQDSO+UIamH/PiphxvPyIc4xmAn0RYjjhAALrf33hkP8aaZ eZEGT3UcnhdNvXZrSWqzU7tZ+l8kU3lScHCfhxz2OYepsUzTgGQiO+S50pKkuCQf6GRH Ub69pCptcpAIMGPTafVkAqI9k6fw0SxucleZA=
MIME-Version: 1.0
Received: by 10.216.138.148 with SMTP id a20mr1609172wej.15.1325784517678; Thu, 05 Jan 2012 09:28:37 -0800 (PST)
Received: by 10.216.48.144 with HTTP; Thu, 5 Jan 2012 09:28:37 -0800 (PST)
In-Reply-To: <308054489.903420.1325780800053.JavaMail.root@erie.cs.uoguelph.ca>
References: <308054489.903420.1325780800053.JavaMail.root@erie.cs.uoguelph.ca>
Date: Thu, 5 Jan 2012 12:28:37 -0500
Message-ID: <CAHVgHyVs3CEHAs7a+z1UeCVvPeAMY+nGDZTb-Ad66+6EEVXFcQ@mail.gmail.com>
From: Andy Adamson <androsadamson@gmail.com>
To: Rick Macklem <rmacklem@uoguelph.ca>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jan 2012 17:28:40 -0000

Hi Rick

On Thu, Jan 5, 2012 at 11:26 AM, Rick Macklem <rmacklem@uoguelph.ca> wrote:
> Ok, since Dave and I are going in circles, I'm going to try asking
> the question again. (I think Dave was looking for some general case,
> where I had simply intended to ask about the following scenario.)
> (Dave, try and forget everything we've said until now, since this is
> =A0a new question.;-)
>
> The scenario:
> A newly installed NFS client does the first NFS mount it has ever done.
> - mount command to an NFS server specified by host IP address.
> - client does TCP connect to server port 2049 =A0 - works
> - client does NULL RPC to NFS version 4 =A0 =A0 =A0 =A0 - works, knows se=
rver supports v4
> - client does Compound, minor vers=3D1, with EXCHANGE_ID op - works
> =A0- client now knows that the server supports NFSv4.1
> =A0- in the ExchangeID reply, there are the 3 flags
> =A0 =A0EXCHGID4_FLAG_USE_NON_PNFS - clear
> =A0 =A0EXCHGID4_FLAG_USE_PNFS_MDS - set - client knows that server can is=
sue layouts, etc
> =A0 =A0EXCHGID4_FLAG_USE_PNFS_DS - set - client knows that this server is=
 also a DS
> - client does CREATE_SESSION - works
>
> - client does assorted NFS stuff, then
> - client Opens a file, gets Open_StateID
> =A0- since client knows the server is an MDS and the client supports pNFS=
, it then
> =A0- client does LAYOUTGET - works (has never done this before) -
> =A0 =A0- reply is for a files_layout and has deviceidX
> =A0- client does GETDEVICEINFO with deviceidX - works
> =A0 =A0- Now, the reply had a list of DS servers, by netaddr4
> =A0 =A0 =A0(Lets for simplicity assume that each multipath_list4 is of le=
ngth 1, so the
> =A0 =A0 =A0 client doesn't have a choice w.r.t. which one to use.)
>
> Here's where I'm not sure what to do next...because I am not sure if a DS=
 specified
> in nflda_multipath_ds_list<> is the same server as the above MDS I am alr=
eady connected
> to.

The Linux client uses the same criteria for deciding if we already
have a connection set up (e.g. DS is same as MDS) as we do when we get
a second mount request to a non-pNFS NFS server.

If we have a connection where the NFS version, minorversion, protocol,
full socket address, and network namespace all match, we use it.

-->Andy


>
> So, what does the client do at this point?
> #1 - just do a fresh TCP connection and EXCHANGE_ID for the address in nf=
lda_multipath_ds_list<N>.
> =A0 =A0 and use that to talk to the DS.
> OR
> #2 - do the above, but check for same ClientID, scope and if the same as =
the above MDS,
> =A0 =A0 close this TCP connection and use the one for the MDS.
> OR
> #3 - compare the host IP address in nflda_multipath_ds_list<N> with the o=
ne used to
> =A0 =A0 establish the TCP connection to the NFS server above and if the s=
ame, just use
> =A0 =A0 the above established connection for DS operations. The problem h=
ere is "what do
> =A0 =A0 you do for the case where the host IP addresses are not the same"=
? Can you assume
> =A0 =A0 that means "use a new TCP connection/ClientID/Session"?
>
> If this still doesn't make sense, don't worry about it. I'll try somethin=
g and learn
> what works. rick
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

From androsadamson@gmail.com  Thu Jan  5 10:21:43 2012
Return-Path: <androsadamson@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7568121F87E4 for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 10:21:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k6MfIiNYiolK for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 10:21:42 -0800 (PST)
Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by ietfa.amsl.com (Postfix) with ESMTP id 9A59C21F87E8 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 10:21:39 -0800 (PST)
Received: by werb14 with SMTP id b14so707368wer.31 for <nfsv4@ietf.org>; Thu, 05 Jan 2012 10:21:34 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=VX7yHgbv91/XRkgCuvjETRXlaP8qa78TNg4/owDsElI=; b=VDCDDHumvxcGmt3/Z/HNbYSGGlbSNGUYKeHDw48CC76I7QXTRpdrXAo3fkxufeWIeQ vFkeReTA+RF5KWiYAiH+TpUtWHWoixeKTEG3w2ieuHFtzsXSHhbSiHgN3Q3Ec3oFlWLS 2qcNF86DP9wkKR+NJw/BVUrKrLvk4Y+kAcUaY=
MIME-Version: 1.0
Received: by 10.216.138.148 with SMTP id a20mr1705832wej.15.1325787694373; Thu, 05 Jan 2012 10:21:34 -0800 (PST)
Received: by 10.216.48.144 with HTTP; Thu, 5 Jan 2012 10:21:34 -0800 (PST)
In-Reply-To: <CAK3OfOgUXkE1MUdUJScQZ4Tct4pKO823ayOaYTv3iyPsmptgGA@mail.gmail.com>
References: <308054489.903420.1325780800053.JavaMail.root@erie.cs.uoguelph.ca> <CAHVgHyVs3CEHAs7a+z1UeCVvPeAMY+nGDZTb-Ad66+6EEVXFcQ@mail.gmail.com> <CAK3OfOgUXkE1MUdUJScQZ4Tct4pKO823ayOaYTv3iyPsmptgGA@mail.gmail.com>
Date: Thu, 5 Jan 2012 13:21:34 -0500
Message-ID: <CAHVgHyV_0jBLa7Rv4CMGOkbE1HHhg-soVO7ywP2sjdVrL=tKHA@mail.gmail.com>
From: Andy Adamson <androsadamson@gmail.com>
To: Nico Williams <nico@cryptonector.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: Rick Macklem <rmacklem@uoguelph.ca>, nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jan 2012 18:21:43 -0000

On Thu, Jan 5, 2012 at 1:12 PM, Nico Williams <nico@cryptonector.com> wrote=
:
> On Thu, Jan 5, 2012 at 11:28 AM, Andy Adamson <androsadamson@gmail.com> w=
rote:
>> If we have a connection where the NFS version, minorversion, protocol,
>> full socket address, and network namespace all match, we use it.
>
> This seems weak to me. =A0It'd be better if there was some higher-layer
> method for determining a server's identity.

All we currently have is what is returned in the file layout
GETDEVICEINFO operation - a netaddr4.

-->Andy

From nico@cryptonector.com  Thu Jan  5 10:25:32 2012
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 06BE721F8819 for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 10:25:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.928
X-Spam-Level: 
X-Spam-Status: No, score=-1.928 tagged_above=-999 required=5 tests=[AWL=0.049,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8Mh6sZqqF7yk for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 10:25:31 -0800 (PST)
Received: from homiemail-a27.g.dreamhost.com (caiajhbdcbbj.dreamhost.com [208.97.132.119]) by ietfa.amsl.com (Postfix) with ESMTP id 7459D21F87E8 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 10:25:31 -0800 (PST)
Received: from homiemail-a27.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTP id 63D6B598092 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 10:25:21 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=O6ETkg8T7OUo5W2djCczH RzaEpcG94Tv0g1SaNjHh72X1M9vdOrSKhv8q1WkVkdd0mZCxIBi6KrOzgjOL3AFj yGbVildTDVjZQi19q4dahM2079IVhJTZNreqk4powirYjDJpvEgVdoKarq8RjfoH CC0Mbqo+tjrVLrubDL/n9A=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=0JSIN44KyPQMxn3M83YL fXm+Zak=; b=vPp/wJ4FVRkfuJ0aQQnsG5xAGjCkaRa4URuOVBEWwy6RQJXjZo1F +gIZseFH5AwO5zQowswLy85+vGTSUZ7Vj/kryCTXfE1PJo9Eq4mvq4BPWZGiTKOd Yc8RWrEKVnnIwZ4NxekUuHhUyURLwSRAJNt52to7qCdMfRFUAl7otGQ=
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTPSA id 4AE125980CA for <nfsv4@ietf.org>; Thu,  5 Jan 2012 10:12:32 -0800 (PST)
Received: by pbdd12 with SMTP id d12so607434pbd.31 for <nfsv4@ietf.org>; Thu, 05 Jan 2012 10:12:22 -0800 (PST)
MIME-Version: 1.0
Received: by 10.68.74.69 with SMTP id r5mr7431182pbv.118.1325787142085; Thu, 05 Jan 2012 10:12:22 -0800 (PST)
Received: by 10.68.10.234 with HTTP; Thu, 5 Jan 2012 10:12:22 -0800 (PST)
In-Reply-To: <CAHVgHyVs3CEHAs7a+z1UeCVvPeAMY+nGDZTb-Ad66+6EEVXFcQ@mail.gmail.com>
References: <308054489.903420.1325780800053.JavaMail.root@erie.cs.uoguelph.ca> <CAHVgHyVs3CEHAs7a+z1UeCVvPeAMY+nGDZTb-Ad66+6EEVXFcQ@mail.gmail.com>
Date: Thu, 5 Jan 2012 12:12:22 -0600
Message-ID: <CAK3OfOgUXkE1MUdUJScQZ4Tct4pKO823ayOaYTv3iyPsmptgGA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Andy Adamson <androsadamson@gmail.com>
Content-Type: text/plain; charset=UTF-8
Cc: Rick Macklem <rmacklem@uoguelph.ca>, nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jan 2012 18:25:32 -0000

On Thu, Jan 5, 2012 at 11:28 AM, Andy Adamson <androsadamson@gmail.com> wrote:
> If we have a connection where the NFS version, minorversion, protocol,
> full socket address, and network namespace all match, we use it.

This seems weak to me.  It'd be better if there was some higher-layer
method for determining a server's identity.

From Trond.Myklebust@netapp.com  Thu Jan  5 11:05:15 2012
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B0D9921F8833 for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 11:05:15 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.299
X-Spam-Level: 
X-Spam-Status: No, score=-10.299 tagged_above=-999 required=5 tests=[AWL=0.300, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bVft+nCBukgV for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 11:05:14 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 4A4B721F87E8 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 11:05:14 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,463,1320652800"; d="scan'208";a="613771628"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 05 Jan 2012 11:05:13 -0800
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q05J51Mh002304; Thu, 5 Jan 2012 11:05:13 -0800 (PST)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.18]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Thu, 5 Jan 2012 11:05:10 -0800
Received: from 10.55.76.207 ([10.55.76.207]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Thu,  5 Jan 2012 19:05:09 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 05 Jan 2012 14:05:09 -0500
Message-ID: <1325790309.11084.1.camel@lade.trondhjem.org>
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Nico Williams <nico@cryptonector.com>
Date: Thu, 05 Jan 2012 14:05:09 -0500
In-Reply-To: <CAK3OfOgUXkE1MUdUJScQZ4Tct4pKO823ayOaYTv3iyPsmptgGA@mail.gmail.com>
References: <308054489.903420.1325780800053.JavaMail.root@erie.cs.uoguelph.ca> <CAHVgHyVs3CEHAs7a+z1UeCVvPeAMY+nGDZTb-Ad66+6EEVXFcQ@mail.gmail.com> <CAK3OfOgUXkE1MUdUJScQZ4Tct4pKO823ayOaYTv3iyPsmptgGA@mail.gmail.com>
Organization: NetApp Inc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) 
Mime-Version: 1.0
X-OriginalArrivalTime: 05 Jan 2012 19:05:10.0244 (UTC) FILETIME=[F221B240:01CCCBDC]
Cc: Rick Macklem <rmacklem@uoguelph.ca>, Andy Adamson <androsadamson@gmail.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jan 2012 19:05:15 -0000

On Thu, 2012-01-05 at 12:12 -0600, Nico Williams wrote:=20
> On Thu, Jan 5, 2012 at 11:28 AM, Andy Adamson <androsadamson@gmail.com> w=
rote:
> > If we have a connection where the NFS version, minorversion, protocol,
> > full socket address, and network namespace all match, we use it.
>=20
> This seems weak to me.  It'd be better if there was some higher-layer
> method for determining a server's identity.

There is: EXCHANGE_ID allows the client and server to mutually identify
each other by means of an exchange of unique identifier strings.
--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From Trond.Myklebust@netapp.com  Thu Jan  5 11:10:06 2012
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4F9CB21F8870 for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 11:10:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.399
X-Spam-Level: 
X-Spam-Status: No, score=-10.399 tagged_above=-999 required=5 tests=[AWL=0.200, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bDkMCwwgAsZm for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 11:10:04 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id E787321F8868 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 11:09:58 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,463,1320652800"; d="scan'208";a="613773298"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 05 Jan 2012 11:09:44 -0800
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q05J9inQ005926; Thu, 5 Jan 2012 11:09:44 -0800 (PST)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.18]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Thu, 5 Jan 2012 11:09:44 -0800
Received: from 10.55.76.207 ([10.55.76.207]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Thu,  5 Jan 2012 19:09:43 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 05 Jan 2012 14:09:43 -0500
Message-ID: <1325790583.11084.4.camel@lade.trondhjem.org>
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Andy Adamson <androsadamson@gmail.com>
Date: Thu, 05 Jan 2012 14:09:43 -0500
In-Reply-To: <CAHVgHyVs3CEHAs7a+z1UeCVvPeAMY+nGDZTb-Ad66+6EEVXFcQ@mail.gmail.com>
References: <308054489.903420.1325780800053.JavaMail.root@erie.cs.uoguelph.ca> <CAHVgHyVs3CEHAs7a+z1UeCVvPeAMY+nGDZTb-Ad66+6EEVXFcQ@mail.gmail.com>
Organization: NetApp Inc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) 
Mime-Version: 1.0
X-OriginalArrivalTime: 05 Jan 2012 19:09:44.0349 (UTC) FILETIME=[9582CCD0:01CCCBDD]
Cc: Rick Macklem <rmacklem@uoguelph.ca>, nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jan 2012 19:10:06 -0000

On Thu, 2012-01-05 at 12:28 -0500, Andy Adamson wrote:=20
> Hi Rick
>=20
> On Thu, Jan 5, 2012 at 11:26 AM, Rick Macklem <rmacklem@uoguelph.ca> wrot=
e:
> > Ok, since Dave and I are going in circles, I'm going to try asking
> > the question again. (I think Dave was looking for some general case,
> > where I had simply intended to ask about the following scenario.)
> > (Dave, try and forget everything we've said until now, since this is
> >  a new question.;-)
> >
> > The scenario:
> > A newly installed NFS client does the first NFS mount it has ever done.
> > - mount command to an NFS server specified by host IP address.
> > - client does TCP connect to server port 2049   - works
> > - client does NULL RPC to NFS version 4         - works, knows server s=
upports v4
> > - client does Compound, minor vers=3D1, with EXCHANGE_ID op - works
> >  - client now knows that the server supports NFSv4.1
> >  - in the ExchangeID reply, there are the 3 flags
> >    EXCHGID4_FLAG_USE_NON_PNFS - clear
> >    EXCHGID4_FLAG_USE_PNFS_MDS - set - client knows that server can issu=
e layouts, etc
> >    EXCHGID4_FLAG_USE_PNFS_DS - set - client knows that this server is a=
lso a DS
> > - client does CREATE_SESSION - works
> >
> > - client does assorted NFS stuff, then
> > - client Opens a file, gets Open_StateID
> >  - since client knows the server is an MDS and the client supports pNFS=
, it then
> >  - client does LAYOUTGET - works (has never done this before) -
> >    - reply is for a files_layout and has deviceidX
> >  - client does GETDEVICEINFO with deviceidX - works
> >    - Now, the reply had a list of DS servers, by netaddr4
> >      (Lets for simplicity assume that each multipath_list4 is of length=
 1, so the
> >       client doesn't have a choice w.r.t. which one to use.)
> >
> > Here's where I'm not sure what to do next...because I am not sure if a =
DS specified
> > in nflda_multipath_ds_list<> is the same server as the above MDS I am a=
lready connected
> > to.
>=20
> The Linux client uses the same criteria for deciding if we already
> have a connection set up (e.g. DS is same as MDS) as we do when we get
> a second mount request to a non-pNFS NFS server.
>=20
> If we have a connection where the NFS version, minorversion, protocol,
> full socket address, and network namespace all match, we use it.

Yes, however we recognise that this is the wrong approach. Chuck is
implementing a better system (based on the EXCHANGE_ID identifier) as
part of the migration patches.

--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From androsadamson@gmail.com  Thu Jan  5 12:10:20 2012
Return-Path: <androsadamson@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3FFC821F8897 for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 12:10:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3mjUYdEdF4zD for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 12:10:19 -0800 (PST)
Received: from mail-we0-f172.google.com (mail-we0-f172.google.com [74.125.82.172]) by ietfa.amsl.com (Postfix) with ESMTP id 3144821F8893 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 12:10:19 -0800 (PST)
Received: by werb14 with SMTP id b14so790325wer.31 for <nfsv4@ietf.org>; Thu, 05 Jan 2012 12:10:18 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=psJlUuQNYd9pbb+p0DWDnW4ofDUq0b6N2OSwLXX9Epk=; b=HQyOSqT1Ww4kjaXbCLAxVZBM1vqNlBJ3jbksCa7IJaRiazO6AuSm2RqGwUvlu+9Fce 6YTbxWEd5SZBLOu4Xt/gDYVnKNnMy3I+/aIEENVaxioBwy6MC3K80Z3hmNxiZxrwaPiB dcPjk0v8eTVWl7d9+3JbyRl/EdBW0cmTDxswg=
MIME-Version: 1.0
Received: by 10.216.138.148 with SMTP id a20mr1906801wej.15.1325794218408; Thu, 05 Jan 2012 12:10:18 -0800 (PST)
Received: by 10.216.48.144 with HTTP; Thu, 5 Jan 2012 12:10:18 -0800 (PST)
In-Reply-To: <1325790583.11084.4.camel@lade.trondhjem.org>
References: <308054489.903420.1325780800053.JavaMail.root@erie.cs.uoguelph.ca> <CAHVgHyVs3CEHAs7a+z1UeCVvPeAMY+nGDZTb-Ad66+6EEVXFcQ@mail.gmail.com> <1325790583.11084.4.camel@lade.trondhjem.org>
Date: Thu, 5 Jan 2012 15:10:18 -0500
Message-ID: <CAHVgHyVNomD+i-0xYg9Ewdo-xYpHamCPPOqSc_NO49+o4ZWrcw@mail.gmail.com>
From: Andy Adamson <androsadamson@gmail.com>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: Rick Macklem <rmacklem@uoguelph.ca>, nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jan 2012 20:10:20 -0000

On Thu, Jan 5, 2012 at 2:09 PM, Trond Myklebust
<Trond.Myklebust@netapp.com> wrote:
> On Thu, 2012-01-05 at 12:28 -0500, Andy Adamson wrote:
>> Hi Rick
>>
>> On Thu, Jan 5, 2012 at 11:26 AM, Rick Macklem <rmacklem@uoguelph.ca> wro=
te:
>> > Ok, since Dave and I are going in circles, I'm going to try asking
>> > the question again. (I think Dave was looking for some general case,
>> > where I had simply intended to ask about the following scenario.)
>> > (Dave, try and forget everything we've said until now, since this is
>> > =A0a new question.;-)
>> >
>> > The scenario:
>> > A newly installed NFS client does the first NFS mount it has ever done=
.
>> > - mount command to an NFS server specified by host IP address.
>> > - client does TCP connect to server port 2049 =A0 - works
>> > - client does NULL RPC to NFS version 4 =A0 =A0 =A0 =A0 - works, knows=
 server supports v4
>> > - client does Compound, minor vers=3D1, with EXCHANGE_ID op - works
>> > =A0- client now knows that the server supports NFSv4.1
>> > =A0- in the ExchangeID reply, there are the 3 flags
>> > =A0 =A0EXCHGID4_FLAG_USE_NON_PNFS - clear
>> > =A0 =A0EXCHGID4_FLAG_USE_PNFS_MDS - set - client knows that server can=
 issue layouts, etc
>> > =A0 =A0EXCHGID4_FLAG_USE_PNFS_DS - set - client knows that this server=
 is also a DS
>> > - client does CREATE_SESSION - works
>> >
>> > - client does assorted NFS stuff, then
>> > - client Opens a file, gets Open_StateID
>> > =A0- since client knows the server is an MDS and the client supports p=
NFS, it then
>> > =A0- client does LAYOUTGET - works (has never done this before) -
>> > =A0 =A0- reply is for a files_layout and has deviceidX
>> > =A0- client does GETDEVICEINFO with deviceidX - works
>> > =A0 =A0- Now, the reply had a list of DS servers, by netaddr4
>> > =A0 =A0 =A0(Lets for simplicity assume that each multipath_list4 is of=
 length 1, so the
>> > =A0 =A0 =A0 client doesn't have a choice w.r.t. which one to use.)
>> >
>> > Here's where I'm not sure what to do next...because I am not sure if a=
 DS specified
>> > in nflda_multipath_ds_list<> is the same server as the above MDS I am =
already connected
>> > to.
>>
>> The Linux client uses the same criteria for deciding if we already
>> have a connection set up (e.g. DS is same as MDS) as we do when we get
>> a second mount request to a non-pNFS NFS server.
>>
>> If we have a connection where the NFS version, minorversion, protocol,
>> full socket address, and network namespace all match, we use it.
>
> Yes, however we recognise that this is the wrong approach. Chuck is
> implementing a better system (based on the EXCHANGE_ID identifier) as
> part of the migration patches.

OK. Can you give an example of when the netaddr4 info returned by the
file layout GETDEVICEINFO can be the same for more than one server?

-->Andy


>
> --
> Trond Myklebust
> Linux NFS client maintainer
>
> NetApp
> Trond.Myklebust@netapp.com
> www.netapp.com
>

From Trond.Myklebust@netapp.com  Thu Jan  5 12:32:37 2012
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 94E1821F8650 for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 12:32:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.449
X-Spam-Level: 
X-Spam-Status: No, score=-10.449 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id acTvOwPqv3wd for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 12:32:36 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id B604A21F8870 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 12:32:36 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,464,1320652800"; d="scan'208";a="613805139"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 05 Jan 2012 12:32:36 -0800
Received: from svlrsexc1-prd.hq.netapp.com (svlrsexc1-prd.hq.netapp.com [10.57.115.30]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q05KWaH7008792; Thu, 5 Jan 2012 12:32:36 -0800 (PST)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.18]) by svlrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Thu, 5 Jan 2012 12:32:36 -0800
Received: from 10.55.76.173 ([10.55.76.173]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Thu,  5 Jan 2012 20:32:35 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 05 Jan 2012 15:32:35 -0500
Message-ID: <1325795555.11084.10.camel@lade.trondhjem.org>
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Andy Adamson <androsadamson@gmail.com>
Date: Thu, 05 Jan 2012 15:32:35 -0500
In-Reply-To: <CAHVgHyVNomD+i-0xYg9Ewdo-xYpHamCPPOqSc_NO49+o4ZWrcw@mail.gmail.com>
References: <308054489.903420.1325780800053.JavaMail.root@erie.cs.uoguelph.ca> <CAHVgHyVs3CEHAs7a+z1UeCVvPeAMY+nGDZTb-Ad66+6EEVXFcQ@mail.gmail.com> <1325790583.11084.4.camel@lade.trondhjem.org> <CAHVgHyVNomD+i-0xYg9Ewdo-xYpHamCPPOqSc_NO49+o4ZWrcw@mail.gmail.com>
Organization: NetApp Inc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) 
Mime-Version: 1.0
X-OriginalArrivalTime: 05 Jan 2012 20:32:36.0341 (UTC) FILETIME=[290C9250:01CCCBE9]
Cc: Rick Macklem <rmacklem@uoguelph.ca>, nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 05 Jan 2012 20:32:37 -0000

On Thu, 2012-01-05 at 15:10 -0500, Andy Adamson wrote:=20
> On Thu, Jan 5, 2012 at 2:09 PM, Trond Myklebust
> <Trond.Myklebust@netapp.com> wrote:
> > On Thu, 2012-01-05 at 12:28 -0500, Andy Adamson wrote:
> >> Hi Rick
> >>
> >> On Thu, Jan 5, 2012 at 11:26 AM, Rick Macklem <rmacklem@uoguelph.ca> w=
rote:
> >> > Ok, since Dave and I are going in circles, I'm going to try asking
> >> > the question again. (I think Dave was looking for some general case,
> >> > where I had simply intended to ask about the following scenario.)
> >> > (Dave, try and forget everything we've said until now, since this is
> >> >  a new question.;-)
> >> >
> >> > The scenario:
> >> > A newly installed NFS client does the first NFS mount it has ever do=
ne.
> >> > - mount command to an NFS server specified by host IP address.
> >> > - client does TCP connect to server port 2049   - works
> >> > - client does NULL RPC to NFS version 4         - works, knows serve=
r supports v4
> >> > - client does Compound, minor vers=3D1, with EXCHANGE_ID op - works
> >> >  - client now knows that the server supports NFSv4.1
> >> >  - in the ExchangeID reply, there are the 3 flags
> >> >    EXCHGID4_FLAG_USE_NON_PNFS - clear
> >> >    EXCHGID4_FLAG_USE_PNFS_MDS - set - client knows that server can i=
ssue layouts, etc
> >> >    EXCHGID4_FLAG_USE_PNFS_DS - set - client knows that this server i=
s also a DS
> >> > - client does CREATE_SESSION - works
> >> >
> >> > - client does assorted NFS stuff, then
> >> > - client Opens a file, gets Open_StateID
> >> >  - since client knows the server is an MDS and the client supports p=
NFS, it then
> >> >  - client does LAYOUTGET - works (has never done this before) -
> >> >    - reply is for a files_layout and has deviceidX
> >> >  - client does GETDEVICEINFO with deviceidX - works
> >> >    - Now, the reply had a list of DS servers, by netaddr4
> >> >      (Lets for simplicity assume that each multipath_list4 is of len=
gth 1, so the
> >> >       client doesn't have a choice w.r.t. which one to use.)
> >> >
> >> > Here's where I'm not sure what to do next...because I am not sure if=
 a DS specified
> >> > in nflda_multipath_ds_list<> is the same server as the above MDS I a=
m already connected
> >> > to.
> >>
> >> The Linux client uses the same criteria for deciding if we already
> >> have a connection set up (e.g. DS is same as MDS) as we do when we get
> >> a second mount request to a non-pNFS NFS server.
> >>
> >> If we have a connection where the NFS version, minorversion, protocol,
> >> full socket address, and network namespace all match, we use it.
> >
> > Yes, however we recognise that this is the wrong approach. Chuck is
> > implementing a better system (based on the EXCHANGE_ID identifier) as
> > part of the migration patches.
>=20
> OK. Can you give an example of when the netaddr4 info returned by the
> file layout GETDEVICEINFO can be the same for more than one server?

No, but the interesting case is when the netaddr4 info _differs_ from
the address we used to mount the MDS server with, yet EXCHANGE_ID
replies with the same owner and scope (i.e. network trunking). We don't
currently recognise that as being the same server.

FWIW, we have the same problem with the basic NFSv4.1 mount code: there
too we rely on the IP address instead of the EXCHANGE_ID results. As I
said, we do plan to fix this.

--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From david.noveck@emc.com  Thu Jan  5 16:36:08 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 442A821F8846 for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 16:36:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.239
X-Spam-Level: 
X-Spam-Status: No, score=-6.239 tagged_above=-999 required=5 tests=[AWL=0.360,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zUg8v5qYFcNT for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 16:36:07 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id 20F4A21F883E for <nfsv4@ietf.org>; Thu,  5 Jan 2012 16:36:06 -0800 (PST)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q060a3p8007914 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 5 Jan 2012 19:36:04 -0500
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.129]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Thu, 5 Jan 2012 19:35:47 -0500
Received: from mxhub21.corp.emc.com (mxhub21.corp.emc.com [128.222.70.133]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q060ZjfD032328; Thu, 5 Jan 2012 19:35:45 -0500
Received: from mxhub40.corp.emc.com (128.222.70.107) by mxhub21.corp.emc.com (128.222.70.133) with Microsoft SMTP Server (TLS) id 8.3.213.0; Thu, 5 Jan 2012 19:35:45 -0500
Received: from mx31a.corp.emc.com ([169.254.1.100]) by mxhub40.corp.emc.com ([128.222.70.107]) with mapi; Thu, 5 Jan 2012 19:35:45 -0500
From: <david.noveck@emc.com>
To: <Trond.Myklebust@netapp.com>, <androsadamson@gmail.com>
Date: Thu, 5 Jan 2012 19:35:44 -0500
Thread-Topic: [nfsv4] initial client connection(s) for pNFS
Thread-Index: AczL6UcK5bc1/xs1TWu5KMC1joxUZgAAedgA
Message-ID: <5DEA8DB993B81040A21CF3CB332489F695EB20F6@MX31A.corp.emc.com>
References: <308054489.903420.1325780800053.JavaMail.root@erie.cs.uoguelph.ca> <CAHVgHyVs3CEHAs7a+z1UeCVvPeAMY+nGDZTb-Ad66+6EEVXFcQ@mail.gmail.com> <1325790583.11084.4.camel@lade.trondhjem.org> <CAHVgHyVNomD+i-0xYg9Ewdo-xYpHamCPPOqSc_NO49+o4ZWrcw@mail.gmail.com> <1325795555.11084.10.camel@lade.trondhjem.org>
In-Reply-To: <1325795555.11084.10.camel@lade.trondhjem.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: rmacklem@uoguelph.ca, nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jan 2012 00:36:08 -0000

> No, but the interesting case is when the netaddr4 info _differs_ from
> the address we used to mount the MDS server with, yet EXCHANGE_ID
> replies with the same owner and scope (i.e. network trunking). We don't
> currently recognise that as being the same server.

Clearly you should recognize it as the same server.  If you don't, state ma=
nagement
can get confused, which is why this information was added in the first plac=
e.  Ignore=20
it at your peril.

But even if you recognize that, this doesn't tell you what IP address you a=
ctually use.

For example, you could:
    1) use the netaddr in the info, unless it doesn't work well.
    2) prefer the mds address to the one in the device info when they are t=
he same server.
    3) use network trunking on a common session involving the device info a=
ddress and
       mds address if it is the same server.

There are even more options if any of the following are true:
     a) have multiple addresses in the device info=20
     b) are already aware of multiple mds ip addresses that constitute the =
same server.
     c) are already aware of multiple ds ip addresses that constitute the s=
ame server.

> FWIW, we have the same problem with the basic NFSv4.1 mount code: there
> too we rely on the IP address instead of the EXCHANGE_ID results. As I
> said, we do plan to fix this.

The issues are similar in this case.  Clearly, you want to use the EXCHANGE=
_ID
results for server identity. =20

For what ip address you use, the range of choices is smaller in that, since=
 the
MOUNT is giving you an Ip address there is no case for giving an existing M=
DS IP
priority over the mount ip address. I see two choices:
   1) use the mount ip address only.
   2) trunk the mount ip address and anything you know about that shows up =
as the
      same server.

As far as I know none of the options discussed here are prohibited by the s=
pec, but
I haven't read it very carefully lately.  Other opinions on what is said by=
 the spec
or what should be said by the spec in this area?

-----Original Message-----
From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of T=
rond Myklebust
Sent: Thursday, January 05, 2012 3:33 PM
To: Andy Adamson
Cc: Rick Macklem; nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS

On Thu, 2012-01-05 at 15:10 -0500, Andy Adamson wrote:=20
> On Thu, Jan 5, 2012 at 2:09 PM, Trond Myklebust
> <Trond.Myklebust@netapp.com> wrote:
> > On Thu, 2012-01-05 at 12:28 -0500, Andy Adamson wrote:
> >> Hi Rick
> >>
> >> On Thu, Jan 5, 2012 at 11:26 AM, Rick Macklem <rmacklem@uoguelph.ca> w=
rote:
> >> > Ok, since Dave and I are going in circles, I'm going to try asking
> >> > the question again. (I think Dave was looking for some general case,
> >> > where I had simply intended to ask about the following scenario.)
> >> > (Dave, try and forget everything we've said until now, since this is
> >> >  a new question.;-)
> >> >
> >> > The scenario:
> >> > A newly installed NFS client does the first NFS mount it has ever do=
ne.
> >> > - mount command to an NFS server specified by host IP address.
> >> > - client does TCP connect to server port 2049   - works
> >> > - client does NULL RPC to NFS version 4         - works, knows serve=
r supports v4
> >> > - client does Compound, minor vers=3D1, with EXCHANGE_ID op - works
> >> >  - client now knows that the server supports NFSv4.1
> >> >  - in the ExchangeID reply, there are the 3 flags
> >> >    EXCHGID4_FLAG_USE_NON_PNFS - clear
> >> >    EXCHGID4_FLAG_USE_PNFS_MDS - set - client knows that server can i=
ssue layouts, etc
> >> >    EXCHGID4_FLAG_USE_PNFS_DS - set - client knows that this server i=
s also a DS
> >> > - client does CREATE_SESSION - works
> >> >
> >> > - client does assorted NFS stuff, then
> >> > - client Opens a file, gets Open_StateID
> >> >  - since client knows the server is an MDS and the client supports p=
NFS, it then
> >> >  - client does LAYOUTGET - works (has never done this before) -
> >> >    - reply is for a files_layout and has deviceidX
> >> >  - client does GETDEVICEINFO with deviceidX - works
> >> >    - Now, the reply had a list of DS servers, by netaddr4
> >> >      (Lets for simplicity assume that each multipath_list4 is of len=
gth 1, so the
> >> >       client doesn't have a choice w.r.t. which one to use.)
> >> >
> >> > Here's where I'm not sure what to do next...because I am not sure if=
 a DS specified
> >> > in nflda_multipath_ds_list<> is the same server as the above MDS I a=
m already connected
> >> > to.
> >>
> >> The Linux client uses the same criteria for deciding if we already
> >> have a connection set up (e.g. DS is same as MDS) as we do when we get
> >> a second mount request to a non-pNFS NFS server.
> >>
> >> If we have a connection where the NFS version, minorversion, protocol,
> >> full socket address, and network namespace all match, we use it.
> >
> > Yes, however we recognise that this is the wrong approach. Chuck is
> > implementing a better system (based on the EXCHANGE_ID identifier) as
> > part of the migration patches.
>=20
> OK. Can you give an example of when the netaddr4 info returned by the
> file layout GETDEVICEINFO can be the same for more than one server?

No, but the interesting case is when the netaddr4 info _differs_ from
the address we used to mount the MDS server with, yet EXCHANGE_ID
replies with the same owner and scope (i.e. network trunking). We don't
currently recognise that as being the same server.

FWIW, we have the same problem with the basic NFSv4.1 mount code: there
too we rely on the IP address instead of the EXCHANGE_ID results. As I
said, we do plan to fix this.

--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com

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


From rmacklem@uoguelph.ca  Thu Jan  5 17:20:03 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6944C21F88D3 for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 17:20:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.182
X-Spam-Level: 
X-Spam-Status: No, score=-6.182 tagged_above=-999 required=5 tests=[AWL=0.417,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OpxIPqbdiw1N for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 17:20:03 -0800 (PST)
Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by ietfa.amsl.com (Postfix) with ESMTP id B4D8321F88D2 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 17:20:02 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AqsEAMhLBk+DaFvO/2dsb2JhbABCggWDCqh3gXIBBiNWGw4MAg0ZAlkGrGyRRIEviUyBFgSIOYxNklM
X-IronPort-AV: E=Sophos;i="4.71,464,1320642000"; d="scan'208";a="150916312"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 05 Jan 2012 20:20:00 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 068B7B3FD9; Thu,  5 Jan 2012 20:20:00 -0500 (EST)
Date: Thu, 5 Jan 2012 20:20:00 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: Andy Adamson <androsadamson@gmail.com>
Message-ID: <570321581.938519.1325812800013.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <CAHVgHyVNomD+i-0xYg9Ewdo-xYpHamCPPOqSc_NO49+o4ZWrcw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.201]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jan 2012 01:20:03 -0000

Andy Adamson wrote:
[good stuff deleted for brevity]
> 
> OK. Can you give an example of when the netaddr4 info returned by the
> file layout GETDEVICEINFO can be the same for more than one server?
> 
Sysadmin with fumbling fingers that accidentally assigns 2 servers the
same IP address, maybe? It'll get noticed, but maybe not before the servers
have been running for a while.

But, I agree with Trond that the "same server, different address" is the
far more likely case.

I'm going to re-read the section on EXCHANGE_ID now.

Thanks everyone for the feedback, rick


From nico@cryptonector.com  Thu Jan  5 19:52:53 2012
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E0B8221F880A for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 19:52:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.93
X-Spam-Level: 
X-Spam-Status: No, score=-1.93 tagged_above=-999 required=5 tests=[AWL=0.047,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5S8FFM2ZHQf7 for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 19:52:52 -0800 (PST)
Received: from homiemail-a64.g.dreamhost.com (mailbigip.dreamhost.com [208.97.132.5]) by ietfa.amsl.com (Postfix) with ESMTP id 7A39021F8804 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 19:52:52 -0800 (PST)
Received: from homiemail-a64.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTP id 1DE3D438072 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 19:52:52 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=VssgW6vnDP10nRtp+OSvT 8DHDGPMMApTbo8o3uFroKmVHgugqNyKtOBlXoKVN72j7lhz4hC94t8U3B+ouJIDy 8n5NVsxstFnvTUfGZVyYPEtH9V8QDxFGtSfE0o6qfuCXDmDrU+32hYrRdkH5g7Sw JdWSLV85/Qv/dIDoEppJxQ=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=10zH2ja47wclLho3ff9I PwoWVUA=; b=ZHbq150vqQXNGUeNreYTE1N2PUrzNk6j4q/mGHsU/58uaj/JE+0e cl7pcjnwkZ6Gf4gRRjgH5zpoMvopjkgOeYRVleFT1UWX1qpnWAYQRFM8XQleCuVO 5yam48f+v1uxIX6mTK/YmA5gmAfBV3lJWltrmG9yhtKmS/BscRKxD9k=
Received: from mail-pz0-f44.google.com (mail-pz0-f44.google.com [209.85.210.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a64.g.dreamhost.com (Postfix) with ESMTPSA id 04A0F43806C for <nfsv4@ietf.org>; Thu,  5 Jan 2012 19:52:51 -0800 (PST)
Received: by dajz8 with SMTP id z8so895904daj.31 for <nfsv4@ietf.org>; Thu, 05 Jan 2012 19:52:51 -0800 (PST)
MIME-Version: 1.0
Received: by 10.68.211.161 with SMTP id nd1mr11519530pbc.50.1325821971617; Thu, 05 Jan 2012 19:52:51 -0800 (PST)
Received: by 10.68.10.234 with HTTP; Thu, 5 Jan 2012 19:52:51 -0800 (PST)
In-Reply-To: <570321581.938519.1325812800013.JavaMail.root@erie.cs.uoguelph.ca>
References: <CAHVgHyVNomD+i-0xYg9Ewdo-xYpHamCPPOqSc_NO49+o4ZWrcw@mail.gmail.com> <570321581.938519.1325812800013.JavaMail.root@erie.cs.uoguelph.ca>
Date: Thu, 5 Jan 2012 21:52:51 -0600
Message-ID: <CAK3OfOijJFS+XT=vXx-FKT2kYN=-nTK5BXqKLt=f-fzG82ZdVQ@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Rick Macklem <rmacklem@uoguelph.ca>
Content-Type: text/plain; charset=UTF-8
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>, Andy Adamson <androsadamson@gmail.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jan 2012 03:52:54 -0000

On Thu, Jan 5, 2012 at 7:20 PM, Rick Macklem <rmacklem@uoguelph.ca> wrote:
> Andy Adamson wrote:
> [good stuff deleted for brevity]
>> OK. Can you give an example of when the netaddr4 info returned by the
>> file layout GETDEVICEINFO can be the same for more than one server?
>>
> Sysadmin with fumbling fingers that accidentally assigns 2 servers the
> same IP address, maybe? It'll get noticed, but maybe not before the servers
> have been running for a while.
>
> But, I agree with Trond that the "same server, different address" is the
> far more likely case.

Also: NATs/proxies/firewalls.

From nico@cryptonector.com  Thu Jan  5 19:53:52 2012
Return-Path: <nico@cryptonector.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 662F621F880A for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 19:53:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.933
X-Spam-Level: 
X-Spam-Status: No, score=-1.933 tagged_above=-999 required=5 tests=[AWL=0.044,  BAYES_00=-2.599, FM_FORGED_GMAIL=0.622]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zCQZrOkf4foA for <nfsv4@ietfa.amsl.com>; Thu,  5 Jan 2012 19:53:51 -0800 (PST)
Received: from homiemail-a27.g.dreamhost.com (caiajhbdccah.dreamhost.com [208.97.132.207]) by ietfa.amsl.com (Postfix) with ESMTP id EA0FA21F8804 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 19:53:51 -0800 (PST)
Received: from homiemail-a27.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTP id 9F9C259805F for <nfsv4@ietf.org>; Thu,  5 Jan 2012 19:53:51 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; c=nofws; d=cryptonector.com; h=mime-version :in-reply-to:references:date:message-id:subject:from:to:cc: content-type; q=dns; s=cryptonector.com; b=yO9SnikmqzhXtXOAKx9kx lCG31VEHn2dl+uPBuujDDsTRwE1pI4FgKPquxIWz+ipa7+B4+c33mJMRojP8XWVZ kqeBXxKYCE+D5m0eHRmh4iDsJsmVO89QHHoY9ATscDthGX7LPEeithsBbg1ZMl3a NIJN7H1Swh52Ozm2v7UczE=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h= mime-version:in-reply-to:references:date:message-id:subject:from :to:cc:content-type; s=cryptonector.com; bh=Fu6rcVZCLI2J9Xfq/i/y 82y69Jo=; b=U/sn4hYmkgswqhb74X7Oe8g5EkI3Ix9y+/DFOosGbtnoHEK+cek+ /PZnidE7NCFZtprIfF5NucY8rZp97y2uFaJlqQL3luH58C+3d2nViMWSGJq8/+lF Fzp1XFMTOwYpBLGzCGVbxGI6B75d+5SLYzUoJedAUOxFNPBPqoqE1q0=
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) (Authenticated sender: nico@cryptonector.com) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTPSA id 8F5E7598058 for <nfsv4@ietf.org>; Thu,  5 Jan 2012 19:53:51 -0800 (PST)
Received: by pbdd12 with SMTP id d12so912800pbd.31 for <nfsv4@ietf.org>; Thu, 05 Jan 2012 19:53:51 -0800 (PST)
MIME-Version: 1.0
Received: by 10.68.191.34 with SMTP id gv2mr11377089pbc.101.1325822031243; Thu, 05 Jan 2012 19:53:51 -0800 (PST)
Received: by 10.68.10.234 with HTTP; Thu, 5 Jan 2012 19:53:51 -0800 (PST)
In-Reply-To: <CAK3OfOijJFS+XT=vXx-FKT2kYN=-nTK5BXqKLt=f-fzG82ZdVQ@mail.gmail.com>
References: <CAHVgHyVNomD+i-0xYg9Ewdo-xYpHamCPPOqSc_NO49+o4ZWrcw@mail.gmail.com> <570321581.938519.1325812800013.JavaMail.root@erie.cs.uoguelph.ca> <CAK3OfOijJFS+XT=vXx-FKT2kYN=-nTK5BXqKLt=f-fzG82ZdVQ@mail.gmail.com>
Date: Thu, 5 Jan 2012 21:53:51 -0600
Message-ID: <CAK3OfOiCgnFop_oMDv2VAWzeiprb2Jw-chqumA8qF95-iLBxkA@mail.gmail.com>
From: Nico Williams <nico@cryptonector.com>
To: Rick Macklem <rmacklem@uoguelph.ca>
Content-Type: text/plain; charset=UTF-8
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>, Andy Adamson <androsadamson@gmail.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jan 2012 03:53:52 -0000

Basically: don't use IP addresses in applications protocols if you can
at all help it.

From marcel.telka@oracle.com  Fri Jan  6 09:36:06 2012
Return-Path: <marcel.telka@oracle.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4C82821F89BB for <nfsv4@ietfa.amsl.com>; Fri,  6 Jan 2012 09:36:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.391
X-Spam-Level: 
X-Spam-Status: No, score=-5.391 tagged_above=-999 required=5 tests=[AWL=-1.207, BAYES_40=-0.185, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1+pk9gjr3FlF for <nfsv4@ietfa.amsl.com>; Fri,  6 Jan 2012 09:36:05 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by ietfa.amsl.com (Postfix) with ESMTP id C43E121F89B9 for <nfsv4@ietf.org>; Fri,  6 Jan 2012 09:36:05 -0800 (PST)
Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q06Ha4Yj018794 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Fri, 6 Jan 2012 17:36:04 GMT
Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q06Ha3UH001246 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <nfsv4@ietf.org>; Fri, 6 Jan 2012 17:36:04 GMT
Received: from abhmt102.oracle.com (abhmt102.oracle.com [141.146.116.54]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q06Ha3bl014429 for <nfsv4@ietf.org>; Fri, 6 Jan 2012 11:36:03 -0600
Received: from telcontar.uk.oracle.com (/10.175.9.52) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 06 Jan 2012 09:36:02 -0800
Date: Fri, 6 Jan 2012 18:35:56 +0100
From: Marcel Telka <marcel.telka@oracle.com>
To: nfsv4@ietf.org
Message-ID: <20120106173553.GJ11790@telcontar.uk.oracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Source-IP: acsinet21.oracle.com [141.146.126.237]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A020201.4F073104.0159,ss=1,re=0.000,fgs=0
Subject: [nfsv4] NFSv4 and callbacks
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jan 2012 17:36:06 -0000

Hi all,

Let's assume I have a NFSv4 client. The client knows for sure he is not able to
receive/handle callbacks. What exactly the client should pass in the
SETCLIENTID4args.callback field of the SETCLIENTID operation?


I found this paragraph in 15.35.4. of the rfc3530bis-16:

   The callback information provided in this operation will be used if
   the client is provided an open delegation at a future point.
   Therefore, the client must correctly reflect the program and port
   numbers for the callback program at the time SETCLIENTID is used.


But it does not answer my question, I think.



Thank you.

-- 
Marcel Telka
RPE, Systems

From Trond.Myklebust@netapp.com  Fri Jan  6 10:46:24 2012
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A60BD21F89A0 for <nfsv4@ietfa.amsl.com>; Fri,  6 Jan 2012 10:46:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.179
X-Spam-Level: 
X-Spam-Status: No, score=-10.179 tagged_above=-999 required=5 tests=[AWL=-0.180, BAYES_00=-2.599, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x-LeG30tj64K for <nfsv4@ietfa.amsl.com>; Fri,  6 Jan 2012 10:46:24 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 385DD21F87CC for <nfsv4@ietf.org>; Fri,  6 Jan 2012 10:46:24 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,469,1320652800"; d="scan'208";a="614123105"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 06 Jan 2012 10:46:24 -0800
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q06IkNHF006300; Fri, 6 Jan 2012 10:46:23 -0800 (PST)
Received: from SACMVEXC2-PRD.hq.netapp.com ([10.99.115.18]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Fri, 6 Jan 2012 10:46:23 -0800
Received: from 10.55.64.37 ([10.55.64.37]) by SACMVEXC2-PRD.hq.netapp.com ([10.99.115.16]) with Microsoft Exchange Server HTTP-DAV ;  Fri,  6 Jan 2012 18:46:23 +0000
Received: from lade.trondhjem.org by SACMVEXC2-PRD.hq.netapp.com; 06 Jan 2012 13:46:22 -0500
Message-ID: <1325875582.32470.11.camel@lade.trondhjem.org>
From: Trond Myklebust <Trond.Myklebust@netapp.com>
To: Marcel Telka <marcel.telka@oracle.com>
Date: Fri, 06 Jan 2012 13:46:22 -0500
In-Reply-To: <20120106173553.GJ11790@telcontar.uk.oracle.com>
References: <20120106173553.GJ11790@telcontar.uk.oracle.com>
Organization: NetApp Inc
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Mailer: Evolution 3.2.2 (3.2.2-1.fc16) 
Mime-Version: 1.0
X-OriginalArrivalTime: 06 Jan 2012 18:46:23.0737 (UTC) FILETIME=[7D181E90:01CCCCA3]
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] NFSv4 and callbacks
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jan 2012 18:46:24 -0000

On Fri, 2012-01-06 at 18:35 +0100, Marcel Telka wrote:=20
> Hi all,
>=20
> Let's assume I have a NFSv4 client. The client knows for sure he is not a=
ble to
> receive/handle callbacks. What exactly the client should pass in the
> SETCLIENTID4args.callback field of the SETCLIENTID operation?
>=20
>=20
> I found this paragraph in 15.35.4. of the rfc3530bis-16:
>=20
>    The callback information provided in this operation will be used if
>    the client is provided an open delegation at a future point.
>    Therefore, the client must correctly reflect the program and port
>    numbers for the callback program at the time SETCLIENTID is used.
>=20
>=20
> But it does not answer my question, I think.

Since RFC3530 just specifies that it needs to be a legal netid+uaddr,
one solution might be to just use the NC_NOPROTO netid (see RFC5665 and
RFC1833).

I wonder how many servers would crash if you do. :-)

--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From marcel.telka@oracle.com  Fri Jan  6 15:13:50 2012
Return-Path: <marcel.telka@oracle.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5C43921F8567 for <nfsv4@ietfa.amsl.com>; Fri,  6 Jan 2012 15:13:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.694
X-Spam-Level: 
X-Spam-Status: No, score=-5.694 tagged_above=-999 required=5 tests=[AWL=0.304,  BAYES_00=-2.599, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_MED=-4, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b2+0LpPgGDXa for <nfsv4@ietfa.amsl.com>; Fri,  6 Jan 2012 15:13:49 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by ietfa.amsl.com (Postfix) with ESMTP id D93DB21F8549 for <nfsv4@ietf.org>; Fri,  6 Jan 2012 15:13:49 -0800 (PST)
Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q06NDmhh012058 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 6 Jan 2012 23:13:49 GMT
Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q06NDl85003464 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 6 Jan 2012 23:13:48 GMT
Received: from abhmt116.oracle.com (abhmt116.oracle.com [141.146.116.68]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q06NDkIn001180; Fri, 6 Jan 2012 17:13:46 -0600
Received: from telcontar.uk.oracle.com (/10.175.9.52) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 06 Jan 2012 15:13:46 -0800
Date: Sat, 7 Jan 2012 00:13:38 +0100
From: Marcel Telka <marcel.telka@oracle.com>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Message-ID: <20120106231336.GO11790@telcontar.uk.oracle.com>
References: <20120106173553.GJ11790@telcontar.uk.oracle.com> <1325875582.32470.11.camel@lade.trondhjem.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <1325875582.32470.11.camel@lade.trondhjem.org>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Source-IP: acsinet22.oracle.com [141.146.126.238]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090206.4F07802D.002F,ss=1,re=0.000,fgs=0
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] NFSv4 and callbacks
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 06 Jan 2012 23:13:50 -0000

On Fri, Jan 06, 2012 at 01:46:22PM -0500, Trond Myklebust wrote:
> On Fri, 2012-01-06 at 18:35 +0100, Marcel Telka wrote: 
> > Hi all,
> > 
> > Let's assume I have a NFSv4 client. The client knows for sure he is not able to
> > receive/handle callbacks. What exactly the client should pass in the
> > SETCLIENTID4args.callback field of the SETCLIENTID operation?
> > 
> > 
> > I found this paragraph in 15.35.4. of the rfc3530bis-16:
> > 
> >    The callback information provided in this operation will be used if
> >    the client is provided an open delegation at a future point.
> >    Therefore, the client must correctly reflect the program and port
> >    numbers for the callback program at the time SETCLIENTID is used.
> > 
> > 
> > But it does not answer my question, I think.
> 
> Since RFC3530 just specifies that it needs to be a legal netid+uaddr,
> one solution might be to just use the NC_NOPROTO netid (see RFC5665 and
> RFC1833).

Good idea! Thank you!

> 
> I wonder how many servers would crash if you do. :-)

We will see :-).

-- 
Marcel Telka
RPE, Systems

From rmacklem@uoguelph.ca  Fri Jan  6 17:41:23 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2CF0111E8083 for <nfsv4@ietfa.amsl.com>; Fri,  6 Jan 2012 17:41:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.242
X-Spam-Level: 
X-Spam-Status: No, score=-6.242 tagged_above=-999 required=5 tests=[AWL=0.357,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xo4Hc7JJMJqN for <nfsv4@ietfa.amsl.com>; Fri,  6 Jan 2012 17:41:22 -0800 (PST)
Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by ietfa.amsl.com (Postfix) with ESMTP id 65C6911E807F for <nfsv4@ietf.org>; Fri,  6 Jan 2012 17:41:22 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EAFmiB0+DaFvO/2dsb2JhbABEhQ+oOIFyAQEEASNWGxgCAg0ZAlkGE4d6pGKRLYEviUyBFgSIOYxOklM
X-IronPort-AV: E=Sophos;i="4.71,471,1320642000"; d="scan'208";a="152808948"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 06 Jan 2012 20:41:20 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id BC2E8B414D; Fri,  6 Jan 2012 20:41:20 -0500 (EST)
Date: Fri, 6 Jan 2012 20:41:20 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Message-ID: <103079471.994075.1325900480722.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <1325790583.11084.4.camel@lade.trondhjem.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.203]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: Andy Adamson <androsadamson@gmail.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jan 2012 01:41:23 -0000

Trond Myklebust wrote:
> On Thu, 2012-01-05 at 12:28 -0500, Andy Adamson wrote:
> > Hi Rick
> >
> > On Thu, Jan 5, 2012 at 11:26 AM, Rick Macklem <rmacklem@uoguelph.ca>
> > wrote:
> > > Ok, since Dave and I are going in circles, I'm going to try asking
> > > the question again. (I think Dave was looking for some general
> > > case,
> > > where I had simply intended to ask about the following scenario.)
> > > (Dave, try and forget everything we've said until now, since this
> > > is
> > >  a new question.;-)
> > >
> > > The scenario:
> > > A newly installed NFS client does the first NFS mount it has ever
> > > done.
> > > - mount command to an NFS server specified by host IP address.
> > > - client does TCP connect to server port 2049 - works
> > > - client does NULL RPC to NFS version 4 - works, knows server
> > > supports v4
> > > - client does Compound, minor vers=1, with EXCHANGE_ID op - works
> > >  - client now knows that the server supports NFSv4.1
> > >  - in the ExchangeID reply, there are the 3 flags
> > >    EXCHGID4_FLAG_USE_NON_PNFS - clear
> > >    EXCHGID4_FLAG_USE_PNFS_MDS - set - client knows that server can
> > >    issue layouts, etc
> > >    EXCHGID4_FLAG_USE_PNFS_DS - set - client knows that this server
> > >    is also a DS
> > > - client does CREATE_SESSION - works
> > >
> > > - client does assorted NFS stuff, then
> > > - client Opens a file, gets Open_StateID
> > >  - since client knows the server is an MDS and the client supports
> > >  pNFS, it then
> > >  - client does LAYOUTGET - works (has never done this before) -
> > >    - reply is for a files_layout and has deviceidX
> > >  - client does GETDEVICEINFO with deviceidX - works
> > >    - Now, the reply had a list of DS servers, by netaddr4
> > >      (Lets for simplicity assume that each multipath_list4 is of
> > >      length 1, so the
> > >       client doesn't have a choice w.r.t. which one to use.)
> > >
> > > Here's where I'm not sure what to do next...because I am not sure
> > > if a DS specified
> > > in nflda_multipath_ds_list<> is the same server as the above MDS I
> > > am already connected
> > > to.
> >
> > The Linux client uses the same criteria for deciding if we already
> > have a connection set up (e.g. DS is same as MDS) as we do when we
> > get
> > a second mount request to a non-pNFS NFS server.
> >
> > If we have a connection where the NFS version, minorversion,
> > protocol,
> > full socket address, and network namespace all match, we use it.
> 
> Yes, however we recognise that this is the wrong approach. Chuck is
> implementing a better system (based on the EXCHANGE_ID identifier) as
> part of the migration patches.
> 
I re-read the section of RFC5661 on EXCHANGE_ID4 (I should have done this
sooner, sorry for the noise;-) and, at least at this point, I think it is
the best way to handle the above.

Here's an interesting snippet of it:
   Note that the
   same client owner/server owner pair can have multiple roles.
   Multiple roles can be associated with the same client ID or with
   different client IDs.  Thus, if a client sends EXCHANGE_ID from the
   same client owner to the same server owner multiple times, but
   specifies different pNFS roles each time, the server might return
   different client IDs.
   (where multiple roles refer to MDS vs DS)

Since the above seems to say the same server can return a different ClientID
for the DS role than the MDS role, it seems that doing:
- make a new TCP connection to the server using the netaddr4 address
- do an EXCHANGE_ID4 on it, using the same co_owner etc, per "2." on
  pg. 509.
- then the client can check the reply for same ClientID from same server.
  - if same ClientID from same server
A)    - I think the client can choose to CREATE_SESSION for this new TCP
        connection to the ClientID and use it for DS operations
      OR
B)    - close the new TCP connection and use the one already established
        for DS operations

    At this point, it's not obvious which of these would be preferred.
    I can see an argument for:
    A) A separate session with as many slots as the server will support
       would permit more I/O operations to be done concurrently.
    B) because it uses less of the 16bit port# space.
    I am leaning towards A) at this point, but???

Anyone see problems with this, or have additional comments?

Thanks everyone, for your feedback, rick




From rmacklem@uoguelph.ca  Fri Jan  6 18:39:04 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 571F021F864B for <nfsv4@ietfa.amsl.com>; Fri,  6 Jan 2012 18:39:04 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.987
X-Spam-Level: 
X-Spam-Status: No, score=-5.987 tagged_above=-999 required=5 tests=[AWL=0.012,  BAYES_00=-2.599, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tCKBZGXZY-yh for <nfsv4@ietfa.amsl.com>; Fri,  6 Jan 2012 18:39:03 -0800 (PST)
Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by ietfa.amsl.com (Postfix) with ESMTP id 92F0E21F8646 for <nfsv4@ietf.org>; Fri,  6 Jan 2012 18:39:03 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EAOmvB0+DaFvO/2dsb2JhbABDhQ+oNYFyAQEFI1YbGAICDRkCWQYcEodnpGORLYEviUyBFgSIOYxPklU
X-IronPort-AV: E=Sophos;i="4.71,472,1320642000"; d="scan'208";a="151052138"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 06 Jan 2012 21:39:01 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 1DB30B40A8; Fri,  6 Jan 2012 21:39:01 -0500 (EST)
Date: Fri, 6 Jan 2012 21:39:01 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Message-ID: <598843420.996857.1325903941072.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <1325875582.32470.11.camel@lade.trondhjem.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.203]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: Marcel Telka <marcel.telka@oracle.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] NFSv4 and callbacks
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 07 Jan 2012 02:39:04 -0000

Trond Myklebust wrote:
> On Fri, 2012-01-06 at 18:35 +0100, Marcel Telka wrote:
> > Hi all,
> >
> > Let's assume I have a NFSv4 client. The client knows for sure he is
> > not able to
> > receive/handle callbacks. What exactly the client should pass in the
> > SETCLIENTID4args.callback field of the SETCLIENTID operation?
> >
> >
> > I found this paragraph in 15.35.4. of the rfc3530bis-16:
> >
> >    The callback information provided in this operation will be used
> >    if
> >    the client is provided an open delegation at a future point.
> >    Therefore, the client must correctly reflect the program and port
> >    numbers for the callback program at the time SETCLIENTID is used.
> >
> >
> > But it does not answer my question, I think.
> 
> Since RFC3530 just specifies that it needs to be a legal netid+uaddr,
> one solution might be to just use the NC_NOPROTO netid (see RFC5665
> and
> RFC1833).
> 
> I wonder how many servers would crash if you do. :-)
> 
Btw, there was a previous thread on this (started by me). I don't recall
it resolved to one solution. Suggestions included zero length strings and
a uaddr of all 0s, like "0.0.0.0.0.0". My experience was that none of these
variants caused crashes, but they also didn't necessarily achieve the desired
result of the server not issuing delegations.

The previous thread is:
  http://www.ietf.org/mail-archive/web/nfsv4/current/msg09793.html

Currently, the FreeBSD client uses "tcp", "0.0.0.0.0.0" for this, rick

From olga.kornievskaia@gmail.com  Thu Jan 12 12:03:09 2012
Return-Path: <olga.kornievskaia@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CB3D921F8613 for <nfsv4@ietfa.amsl.com>; Thu, 12 Jan 2012 12:03:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level: 
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id czdU-f-kZVyF for <nfsv4@ietfa.amsl.com>; Thu, 12 Jan 2012 12:03:09 -0800 (PST)
Received: from mail-gx0-f172.google.com (mail-gx0-f172.google.com [209.85.161.172]) by ietfa.amsl.com (Postfix) with ESMTP id EF12421F85E7 for <nfsv4@ietf.org>; Thu, 12 Jan 2012 12:03:08 -0800 (PST)
Received: by ggnr5 with SMTP id r5so1436777ggn.31 for <nfsv4@ietf.org>; Thu, 12 Jan 2012 12:03:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=jmSqC28a+BnGgXXok6T+9GDJbjJsKT4/nBoNiUvT23M=; b=iLg8i9FWIWMNGEYnrF7IbX/PT21S27afaQaxX8mDm9aqpAJUHQPcYzF5WlitI+cX0P WMuMqo312UYyrxGx+QrXgAtYTBuwtnFo2HL77UMOzQjEztQ/0pBkDoiFQhSzpUp9qcQT +ZlJOuQpfQ3klzPXPyLo6X7sSf8XhpzU0ulOM=
MIME-Version: 1.0
Received: by 10.50.168.100 with SMTP id zv4mr5483318igb.17.1326398588370; Thu, 12 Jan 2012 12:03:08 -0800 (PST)
Sender: olga.kornievskaia@gmail.com
Received: by 10.231.47.145 with HTTP; Thu, 12 Jan 2012 12:03:08 -0800 (PST)
In-Reply-To: <103079471.994075.1325900480722.JavaMail.root@erie.cs.uoguelph.ca>
References: <1325790583.11084.4.camel@lade.trondhjem.org> <103079471.994075.1325900480722.JavaMail.root@erie.cs.uoguelph.ca>
Date: Thu, 12 Jan 2012 15:03:08 -0500
X-Google-Sender-Auth: 4HhZpi-yE8wWwm06psenbgeTKFk
Message-ID: <CAN-5tyGKS=WBbfpx4DsGSrihs87u=koQ8HrJ98i8Hhx0+szmug@mail.gmail.com>
From: Olga Kornievskaia <aglo@citi.umich.edu>
To: Rick Macklem <rmacklem@uoguelph.ca>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: Andy Adamson <androsadamson@gmail.com>, Trond Myklebust <Trond.Myklebust@netapp.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] initial client connection(s) for pNFS
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 12 Jan 2012 20:03:09 -0000

Rick,

In the windows pnfs client implementation we do pretty much the steps
you have outlined. However, we also check that netadd4 returned in the
deviceinfo list already matches something we've seen before (ie mds)
and then we skip sending the other exchange_id. However, we also do
the server matching after receiving a reply from an exchange_id in
case it's a multihome server.

On Fri, Jan 6, 2012 at 8:41 PM, Rick Macklem <rmacklem@uoguelph.ca> wrote:
> Trond Myklebust wrote:
>> On Thu, 2012-01-05 at 12:28 -0500, Andy Adamson wrote:
>> > Hi Rick
>> >
>> > On Thu, Jan 5, 2012 at 11:26 AM, Rick Macklem <rmacklem@uoguelph.ca>
>> > wrote:
>> > > Ok, since Dave and I are going in circles, I'm going to try asking
>> > > the question again. (I think Dave was looking for some general
>> > > case,
>> > > where I had simply intended to ask about the following scenario.)
>> > > (Dave, try and forget everything we've said until now, since this
>> > > is
>> > > =A0a new question.;-)
>> > >
>> > > The scenario:
>> > > A newly installed NFS client does the first NFS mount it has ever
>> > > done.
>> > > - mount command to an NFS server specified by host IP address.
>> > > - client does TCP connect to server port 2049 - works
>> > > - client does NULL RPC to NFS version 4 - works, knows server
>> > > supports v4
>> > > - client does Compound, minor vers=3D1, with EXCHANGE_ID op - works
>> > > =A0- client now knows that the server supports NFSv4.1
>> > > =A0- in the ExchangeID reply, there are the 3 flags
>> > > =A0 =A0EXCHGID4_FLAG_USE_NON_PNFS - clear
>> > > =A0 =A0EXCHGID4_FLAG_USE_PNFS_MDS - set - client knows that server c=
an
>> > > =A0 =A0issue layouts, etc
>> > > =A0 =A0EXCHGID4_FLAG_USE_PNFS_DS - set - client knows that this serv=
er
>> > > =A0 =A0is also a DS
>> > > - client does CREATE_SESSION - works
>> > >
>> > > - client does assorted NFS stuff, then
>> > > - client Opens a file, gets Open_StateID
>> > > =A0- since client knows the server is an MDS and the client supports
>> > > =A0pNFS, it then
>> > > =A0- client does LAYOUTGET - works (has never done this before) -
>> > > =A0 =A0- reply is for a files_layout and has deviceidX
>> > > =A0- client does GETDEVICEINFO with deviceidX - works
>> > > =A0 =A0- Now, the reply had a list of DS servers, by netaddr4
>> > > =A0 =A0 =A0(Lets for simplicity assume that each multipath_list4 is =
of
>> > > =A0 =A0 =A0length 1, so the
>> > > =A0 =A0 =A0 client doesn't have a choice w.r.t. which one to use.)
>> > >
>> > > Here's where I'm not sure what to do next...because I am not sure
>> > > if a DS specified
>> > > in nflda_multipath_ds_list<> is the same server as the above MDS I
>> > > am already connected
>> > > to.
>> >
>> > The Linux client uses the same criteria for deciding if we already
>> > have a connection set up (e.g. DS is same as MDS) as we do when we
>> > get
>> > a second mount request to a non-pNFS NFS server.
>> >
>> > If we have a connection where the NFS version, minorversion,
>> > protocol,
>> > full socket address, and network namespace all match, we use it.
>>
>> Yes, however we recognise that this is the wrong approach. Chuck is
>> implementing a better system (based on the EXCHANGE_ID identifier) as
>> part of the migration patches.
>>
> I re-read the section of RFC5661 on EXCHANGE_ID4 (I should have done this
> sooner, sorry for the noise;-) and, at least at this point, I think it is
> the best way to handle the above.
>
> Here's an interesting snippet of it:
> =A0 Note that the
> =A0 same client owner/server owner pair can have multiple roles.
> =A0 Multiple roles can be associated with the same client ID or with
> =A0 different client IDs. =A0Thus, if a client sends EXCHANGE_ID from the
> =A0 same client owner to the same server owner multiple times, but
> =A0 specifies different pNFS roles each time, the server might return
> =A0 different client IDs.
> =A0 (where multiple roles refer to MDS vs DS)
>
> Since the above seems to say the same server can return a different Clien=
tID
> for the DS role than the MDS role, it seems that doing:
> - make a new TCP connection to the server using the netaddr4 address
> - do an EXCHANGE_ID4 on it, using the same co_owner etc, per "2." on
> =A0pg. 509.
> - then the client can check the reply for same ClientID from same server.
> =A0- if same ClientID from same server
> A) =A0 =A0- I think the client can choose to CREATE_SESSION for this new =
TCP
> =A0 =A0 =A0 =A0connection to the ClientID and use it for DS operations
> =A0 =A0 =A0OR
> B) =A0 =A0- close the new TCP connection and use the one already establis=
hed
> =A0 =A0 =A0 =A0for DS operations
>
> =A0 =A0At this point, it's not obvious which of these would be preferred.
> =A0 =A0I can see an argument for:
> =A0 =A0A) A separate session with as many slots as the server will suppor=
t
> =A0 =A0 =A0 would permit more I/O operations to be done concurrently.
> =A0 =A0B) because it uses less of the 16bit port# space.
> =A0 =A0I am leaning towards A) at this point, but???
>
> Anyone see problems with this, or have additional comments?
>
> Thanks everyone, for your feedback, rick
>
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

From david.noveck@emc.com  Tue Jan 17 08:18:26 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1BD6021F8692 for <nfsv4@ietfa.amsl.com>; Tue, 17 Jan 2012 08:18:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.212
X-Spam-Level: 
X-Spam-Status: No, score=-6.212 tagged_above=-999 required=5 tests=[AWL=0.387,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m8xKGVSkSpRI for <nfsv4@ietfa.amsl.com>; Tue, 17 Jan 2012 08:18:25 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id 8244421F8688 for <nfsv4@ietf.org>; Tue, 17 Jan 2012 08:18:25 -0800 (PST)
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0HGIN10007868 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <nfsv4@ietf.org>; Tue, 17 Jan 2012 11:18:23 -0500
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.129]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor) for <nfsv4@ietf.org>; Tue, 17 Jan 2012 11:18:12 -0500
Received: from mxhub14.corp.emc.com (mxhub14.corp.emc.com [128.222.70.235]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0HGIBQU003798 for <nfsv4@ietf.org>; Tue, 17 Jan 2012 11:18:12 -0500
Received: from mx31a.corp.emc.com ([169.254.1.100]) by mxhub14.corp.emc.com ([128.222.70.235]) with mapi; Tue, 17 Jan 2012 11:18:11 -0500
From: <david.noveck@emc.com>
To: <nfsv4@ietf.org>
Date: Tue, 17 Jan 2012 11:18:10 -0500
Thread-Topic: New Version Notification for draft-dnoveck-nfsv4-migration-issues-02.txt
Thread-Index: AczUcPeT6WWtoqAITxueQG65cLj+aAAw6Ycw
Message-ID: <5DEA8DB993B81040A21CF3CB332489F6963D4AB8@MX31A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Subject: [nfsv4] FW: New Version Notification for	draft-dnoveck-nfsv4-migration-issues-02.txt
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jan 2012 16:18:26 -0000

=20

-----Original Message-----
From: internet-drafts@ietf.org [mailto:internet-drafts@ietf.org]=20
Sent: Monday, January 16, 2012 12:04 PM
To: Noveck, David
Cc: bill.baker@oracle.com; piyush.shivam@oracle.com; chuck.lever@oracle.com=
; Noveck, David
Subject: New Version Notification for draft-dnoveck-nfsv4-migration-issues-=
02.txt

A new version of I-D, draft-dnoveck-nfsv4-migration-issues-02.txt has been =
successfully submitted by David Noveck and posted to the IETF repository.

Filename:	 draft-dnoveck-nfsv4-migration-issues
Revision:	 02
Title:		 NFSv4.0 migration: Implementation experience and spec issues to re=
solve
Creation date:	 2012-01-16
WG ID:		 Individual Submission
Number of pages: 37

Abstract:
   The migration feature of NFSv4 provides for moving responsibility for
   a single filesystem from one server to another, without disruption to
   clients.  Recent implementation experience has shown problems in the
   existing specification for this feature.  This document discusses the
   issues which have arisen and explores the options available for
   curing the issues via clarification and correction of the NFSv4.0
   specification.

                                                                           =
      =20


The IETF Secretariat


From Bill.Baker@Oracle.com  Tue Jan 17 15:47:40 2012
Return-Path: <Bill.Baker@Oracle.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E317B11E80A3 for <nfsv4@ietfa.amsl.com>; Tue, 17 Jan 2012 15:47:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.185
X-Spam-Level: 
X-Spam-Status: No, score=-8.185 tagged_above=-999 required=5 tests=[BAYES_40=-0.185, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GUHlLHDJ9Kh2 for <nfsv4@ietfa.amsl.com>; Tue, 17 Jan 2012 15:47:40 -0800 (PST)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by ietfa.amsl.com (Postfix) with ESMTP id DB2A011E8083 for <nfsv4@ietf.org>; Tue, 17 Jan 2012 15:47:37 -0800 (PST)
Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0HNlaM5029804 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 17 Jan 2012 23:47:36 GMT
Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0HNlYGl002542 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Jan 2012 23:47:34 GMT
Received: from abhmt110.oracle.com (abhmt110.oracle.com [141.146.116.62]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0HNlXkl022955; Tue, 17 Jan 2012 17:47:33 -0600
Received: from [10.135.188.69] (/10.135.188.69) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 17 Jan 2012 15:47:33 -0800
Message-ID: <4F160894.7000901@Oracle.com>
Date: Tue, 17 Jan 2012 17:47:32 -0600
From: Bill Baker <Bill.Baker@Oracle.com>
User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:6.0.2) Gecko/20111003 Thunderbird/6.0.2
MIME-Version: 1.0
To: nfsv4@ietf.org, linux-nfs@vger.kernel.org
References: <4EDBDC4B.7040900@oracle.com>
In-Reply-To: <4EDBDC4B.7040900@oracle.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: ucsinet21.oracle.com [156.151.31.93]
X-CT-RefId: str=0001.0A090201.4F160899.00A5,ss=1,re=0.000,fgs=0
Subject: [nfsv4] Registration is OPEN for Connectathon 2012
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 17 Jan 2012 23:47:41 -0000

Greetings, all,

Registration is OPEN for Connectathon 2012.  You'll
find the registration form on our details website:

http://hub.opensolaris.org/bin/view/Community+Group+nfs/Connectathon-details

We kept the fees the same as last year, $750 per company
up to a maximum of 10 people.

If you have a proposal for a talk, please send me a
brief abstract.  Depending on the number of requests,
we'll hold talks upstairs on Tuesday and Wednesday
afternoon, as we did last year.

Please forward this message to other interested parties.

Regards,
-- 
Bill Baker, Oracle Solaris NFS development

From sshepler@microsoft.com  Wed Jan 18 12:02:37 2012
Return-Path: <sshepler@microsoft.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 761751F0C44 for <nfsv4@ietfa.amsl.com>; Wed, 18 Jan 2012 12:02:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id yZ+TMdX3xqJK for <nfsv4@ietfa.amsl.com>; Wed, 18 Jan 2012 12:02:37 -0800 (PST)
Received: from AM1EHSOBE005.bigfish.com (am1ehsobe005.messaging.microsoft.com [213.199.154.208]) by ietfa.amsl.com (Postfix) with ESMTP id C3CCE1F0C40 for <nfsv4@ietf.org>; Wed, 18 Jan 2012 12:02:36 -0800 (PST)
Received: from mail46-am1-R.bigfish.com (10.3.201.246) by AM1EHSOBE005.bigfish.com (10.3.204.25) with Microsoft SMTP Server id 14.1.225.23; Wed, 18 Jan 2012 20:02:35 +0000
Received: from mail46-am1 (localhost [127.0.0.1])	by mail46-am1-R.bigfish.com (Postfix) with ESMTP id 842E64003F8	for <nfsv4@ietf.org>; Wed, 18 Jan 2012 20:02:35 +0000 (UTC)
X-SpamScore: 0
X-BigFish: VS0(zzzz1202hzzz2fhc1bhc31hc1ah2a8h668h839h944h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14HUBC103.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail46-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=sshepler@microsoft.com; helo=TK5EX14HUBC103.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail46-am1 (localhost.localdomain [127.0.0.1]) by mail46-am1 (MessageSwitch) id 1326916955451253_29960; Wed, 18 Jan 2012 20:02:35 +0000 (UTC)
Received: from AM1EHSMHS012.bigfish.com (unknown [10.3.201.247])	by mail46-am1.bigfish.com (Postfix) with ESMTP id 5FF99400A6	for <nfsv4@ietf.org>; Wed, 18 Jan 2012 20:02:35 +0000 (UTC)
Received: from TK5EX14HUBC103.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS012.bigfish.com (10.3.207.112) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 18 Jan 2012 20:02:34 +0000
Received: from TK5EX14MBXC253.redmond.corp.microsoft.com ([169.254.3.101]) by TK5EX14HUBC103.redmond.corp.microsoft.com ([157.54.86.9]) with mapi id 14.02.0247.005; Wed, 18 Jan 2012 12:02:15 -0800
From: Spencer Shepler <sshepler@microsoft.com>
To: "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: Meetnig requrest submitted for IETF83 (Paris) (interest in interm meeting?)
Thread-Index: AczWG6TcUyWO3vPeTW28ZIszQgoYVg==
Date: Wed, 18 Jan 2012 20:02:15 +0000
Message-ID: <039D3CB813A4D544863BB7D4F46A18570E619E@TK5EX14MBXC253.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.33]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Subject: [nfsv4] Meetnig requrest submitted for IETF83 (Paris) (interest in interm meeting?)
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 18 Jan 2012 20:02:37 -0000

I have requested a single 2.5 hour meeting time for IETF83.

If there is interest/need for a second slot, please let me know.


There has been interest in an interim meeting and for it to
be held co-incident with Oracle's Connectathon.  Please
let me know if there is interest.  If we hold an interim meeting,
we need to get approval from our AD and announce it this week.

If we hold an interim meeting, I am going to ask that agenda
items be restricted to review of the NFSv4.2 I-D.

Spencer



From sshepler@microsoft.com  Thu Jan 19 14:31:43 2012
Return-Path: <sshepler@microsoft.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 04C0B21F8480 for <nfsv4@ietfa.amsl.com>; Thu, 19 Jan 2012 14:31:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YdX-WD300hkI for <nfsv4@ietfa.amsl.com>; Thu, 19 Jan 2012 14:31:42 -0800 (PST)
Received: from DB3EHSOBE005.bigfish.com (db3ehsobe005.messaging.microsoft.com [213.199.154.143]) by ietfa.amsl.com (Postfix) with ESMTP id 3D75721F847D for <nfsv4@ietf.org>; Thu, 19 Jan 2012 14:31:42 -0800 (PST)
Received: from mail84-db3-R.bigfish.com (10.3.81.249) by DB3EHSOBE005.bigfish.com (10.3.84.25) with Microsoft SMTP Server id 14.1.225.23; Thu, 19 Jan 2012 22:31:39 +0000
Received: from mail84-db3 (localhost [127.0.0.1])	by mail84-db3-R.bigfish.com (Postfix) with ESMTP id 8821C603ED	for <nfsv4@ietf.org>; Thu, 19 Jan 2012 22:31:39 +0000 (UTC)
X-SpamScore: 0
X-BigFish: VS0(zzzz1202hzzz2fhc1bhc31hc1ah2a8h668h839h944h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14HUBC105.redmond.corp.microsoft.com; RD:none; EFVD:NLI
X-FB-SS: 13,
Received-SPF: pass (mail84-db3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=sshepler@microsoft.com; helo=TK5EX14HUBC105.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail84-db3 (localhost.localdomain [127.0.0.1]) by mail84-db3 (MessageSwitch) id 1327012299490298_26448; Thu, 19 Jan 2012 22:31:39 +0000 (UTC)
Received: from DB3EHSMHS008.bigfish.com (unknown [10.3.81.244])	by mail84-db3.bigfish.com (Postfix) with ESMTP id 6945D440049	for <nfsv4@ietf.org>; Thu, 19 Jan 2012 22:31:39 +0000 (UTC)
Received: from TK5EX14HUBC105.redmond.corp.microsoft.com (131.107.125.8) by DB3EHSMHS008.bigfish.com (10.3.87.108) with Microsoft SMTP Server (TLS) id 14.1.225.23; Thu, 19 Jan 2012 22:31:37 +0000
Received: from TK5EX14MBXC253.redmond.corp.microsoft.com ([169.254.3.101]) by TK5EX14HUBC105.redmond.corp.microsoft.com ([157.54.80.48]) with mapi id 14.02.0247.005; Thu, 19 Jan 2012 14:31:32 -0800
From: Spencer Shepler <sshepler@microsoft.com>
To: "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: interim meeting interest ??
Thread-Index: AczW90s727bfeAgRTXCOl3vPKSU+fA==
Date: Thu, 19 Jan 2012 22:31:32 +0000
Message-ID: <039D3CB813A4D544863BB7D4F46A18570E8893@TK5EX14MBXC253.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.73]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Subject: [nfsv4] interim meeting interest ??
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 19 Jan 2012 22:31:43 -0000

Is there interest in an interim meeting on Feb 20th?

I don't have a strong opinion about holding the interim meeting.
If there is interest from the WG, then I will work to facilitate
but at this point I have two responses.  We can fold the NFSv4.2
review issues into a conference call series if that is preferred.

sSpencer



From sshepler@microsoft.com  Sun Jan 22 18:38:33 2012
Return-Path: <sshepler@microsoft.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DD40621F84A1 for <nfsv4@ietfa.amsl.com>; Sun, 22 Jan 2012 18:38:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SOPpbL9CIVmF for <nfsv4@ietfa.amsl.com>; Sun, 22 Jan 2012 18:38:33 -0800 (PST)
Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe002.messaging.microsoft.com [216.32.181.182]) by ietfa.amsl.com (Postfix) with ESMTP id 52DE121F84A0 for <nfsv4@ietf.org>; Sun, 22 Jan 2012 18:38:33 -0800 (PST)
Received: from mail44-ch1-R.bigfish.com (10.43.68.253) by CH1EHSOBE014.bigfish.com (10.43.70.64) with Microsoft SMTP Server id 14.1.225.23; Mon, 23 Jan 2012 02:38:25 +0000
Received: from mail44-ch1 (localhost [127.0.0.1])	by mail44-ch1-R.bigfish.com (Postfix) with ESMTP id C2EF9600219	for <nfsv4@ietf.org>; Mon, 23 Jan 2012 02:38:21 +0000 (UTC)
X-SpamScore: 0
X-BigFish: VS0(zzzz1202hzzz2fhc1bhc31hc1ah2a8h668h839h944h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14MLTC103.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail44-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=sshepler@microsoft.com; helo=TK5EX14MLTC103.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail44-ch1 (localhost.localdomain [127.0.0.1]) by mail44-ch1 (MessageSwitch) id 1327286294800539_12291; Mon, 23 Jan 2012 02:38:14 +0000 (UTC)
Received: from CH1EHSMHS001.bigfish.com (snatpool1.int.messaging.microsoft.com [10.43.68.248])	by mail44-ch1.bigfish.com (Postfix) with ESMTP id 21C733A0019 for <nfsv4@ietf.org>; Mon, 23 Jan 2012 02:38:14 +0000 (UTC)
Received: from TK5EX14MLTC103.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS001.bigfish.com (10.43.70.1) with Microsoft SMTP Server (TLS) id 14.1.225.23; Mon, 23 Jan 2012 02:38:17 +0000
Received: from TK5EX14MBXC252.redmond.corp.microsoft.com ([169.254.1.160]) by TK5EX14MLTC103.redmond.corp.microsoft.com ([157.54.79.174]) with mapi id 14.02.0247.005; Sun, 22 Jan 2012 18:38:22 -0800
From: Spencer Shepler <sshepler@microsoft.com>
To: "nfsv4@ietf.org" <nfsv4@ietf.org>
Thread-Topic: Will not hold interim meeting in February / Paris meeting planning
Thread-Index: AczZeBIfCUg7dcefTqa+OKsH5XSwpQ==
Date: Mon, 23 Jan 2012 02:38:21 +0000
Message-ID: <039D3CB813A4D544863BB7D4F46A18570F0C00@TK5EX14MBXC252.redmond.corp.microsoft.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.78]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Subject: [nfsv4] Will not hold interim meeting in February / Paris meeting planning
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jan 2012 02:38:34 -0000

Given the feedback received, the NFSv4 WG will not be holding an interim me=
eting.
Tom and I will work out the conference call schedule for the NFSv4.2 I-D re=
view.

For the Paris meeting, it seems that a single meeting is sufficient given t=
he
feedback.  Please submit agenda items so that I can prepare the schedule
by the deadline for posting agenda (March 14th).

Reminder that the I-D cutoffs for this meeting are March 5th (initial -00 d=
rafts)
and March 12th (for I-D updates).

Spencer



From marcel.telka@oracle.com  Mon Jan 23 07:16:37 2012
Return-Path: <marcel.telka@oracle.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DFF0621F8700 for <nfsv4@ietfa.amsl.com>; Mon, 23 Jan 2012 07:16:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.796
X-Spam-Level: 
X-Spam-Status: No, score=-7.796 tagged_above=-999 required=5 tests=[AWL=2.202,  BAYES_00=-2.599, J_CHICKENPOX_55=0.6, RCVD_IN_DNSWL_HI=-8, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 3QjXRCrKmrXx for <nfsv4@ietfa.amsl.com>; Mon, 23 Jan 2012 07:16:37 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by ietfa.amsl.com (Postfix) with ESMTP id 496B921F86FA for <nfsv4@ietf.org>; Mon, 23 Jan 2012 07:16:37 -0800 (PST)
Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0NFGYUc008313 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 23 Jan 2012 15:16:35 GMT
Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0NFGYp1027106 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jan 2012 15:16:34 GMT
Received: from abhmt115.oracle.com (abhmt115.oracle.com [141.146.116.67]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0NFGX8i027296; Mon, 23 Jan 2012 09:16:33 -0600
Received: from rpe-sunray-dev.cz.oracle.com (/10.163.102.60) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 23 Jan 2012 07:16:33 -0800
Date: Mon, 23 Jan 2012 16:16:31 +0100
From: Marcel Telka <marcel.telka@oracle.com>
To: Rick Macklem <rmacklem@uoguelph.ca>
Message-ID: <20120123151630.GO19138@rpe-sunray-dev.cz.oracle.com>
References: <1325875582.32470.11.camel@lade.trondhjem.org> <598843420.996857.1325903941072.JavaMail.root@erie.cs.uoguelph.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <598843420.996857.1325903941072.JavaMail.root@erie.cs.uoguelph.ca>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Source-IP: acsinet21.oracle.com [141.146.126.237]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090204.4F1D79D4.017C,ss=1,re=0.000,fgs=0
Cc: Trond Myklebust <Trond.Myklebust@netapp.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] NFSv4 and callbacks
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 Jan 2012 15:16:38 -0000

On Fri, Jan 06, 2012 at 09:39:01PM -0500, Rick Macklem wrote:
> Trond Myklebust wrote:
> > On Fri, 2012-01-06 at 18:35 +0100, Marcel Telka wrote:
> > > Hi all,
> > >
> > > Let's assume I have a NFSv4 client. The client knows for sure he is
> > > not able to
> > > receive/handle callbacks. What exactly the client should pass in the
> > > SETCLIENTID4args.callback field of the SETCLIENTID operation?
> > >
> > >
> > > I found this paragraph in 15.35.4. of the rfc3530bis-16:
> > >
> > >    The callback information provided in this operation will be used
> > >    if
> > >    the client is provided an open delegation at a future point.
> > >    Therefore, the client must correctly reflect the program and port
> > >    numbers for the callback program at the time SETCLIENTID is used.
> > >
> > >
> > > But it does not answer my question, I think.
> > 
> > Since RFC3530 just specifies that it needs to be a legal netid+uaddr,
> > one solution might be to just use the NC_NOPROTO netid (see RFC5665
> > and
> > RFC1833).
> > 
> > I wonder how many servers would crash if you do. :-)
> > 
> Btw, there was a previous thread on this (started by me). I don't recall
> it resolved to one solution. Suggestions included zero length strings and
> a uaddr of all 0s, like "0.0.0.0.0.0". My experience was that none of these
> variants caused crashes, but they also didn't necessarily achieve the desired
> result of the server not issuing delegations.
> 
> The previous thread is:
>   http://www.ietf.org/mail-archive/web/nfsv4/current/msg09793.html
> 
> Currently, the FreeBSD client uses "tcp", "0.0.0.0.0.0" for this, rick

Thanks for the pointer, Rick.

While RFC 5665 considered zero length netid as Reserved then I'd say that NFSv4
clients should not sent zero lenght netid/uaddr. This means that when an NFSv4
client sends zero length netid, then it is a bug at the NFSv4 client side.

So the correct option for a client seems to be netid "-" and uaddr whatever.
I am not sure about tcp/0.0.0.0.0.0 as FreeBSD uses...


Thanks.

-- 
Marcel Telka
RPE, Systems

From Robert.Thurlow@oracle.com  Mon Jan 23 16:27:08 2012
Return-Path: <Robert.Thurlow@oracle.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D857021F84B5 for <nfsv4@ietfa.amsl.com>; Mon, 23 Jan 2012 16:27:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uINDRBi+e+eW for <nfsv4@ietfa.amsl.com>; Mon, 23 Jan 2012 16:27:08 -0800 (PST)
Received: from rcsinet15.oracle.com (rcsinet15.oracle.com [148.87.113.117]) by ietfa.amsl.com (Postfix) with ESMTP id 46A0721F84A5 for <nfsv4@ietf.org>; Mon, 23 Jan 2012 16:27:08 -0800 (PST)
Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by rcsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0O0R4xZ000680 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Tue, 24 Jan 2012 00:27:07 GMT
Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0O0R30F026498 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <nfsv4@ietf.org>; Tue, 24 Jan 2012 00:27:03 GMT
Received: from abhmt112.oracle.com (abhmt112.oracle.com [141.146.116.64]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0O0R2g5009793 for <nfsv4@ietf.org>; Mon, 23 Jan 2012 18:27:02 -0600
Received: from [10.159.209.158] (/10.159.209.158) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 23 Jan 2012 16:27:01 -0800
Message-ID: <4F1DFAD4.8020409@oracle.com>
Date: Mon, 23 Jan 2012 17:27:00 -0700
From: Robert Thurlow <Robert.Thurlow@oracle.com>
User-Agent: Thunderbird 2.0.0.16 (X11/20080811)
MIME-Version: 1.0
To: NFSv4 <nfsv4@ietf.org>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: acsinet22.oracle.com [141.146.126.238]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090208.4F1DFADB.0079,ss=1,re=0.000,fgs=0
Subject: [nfsv4] FedFS testing at Connectathon 2012
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jan 2012 00:27:09 -0000

Hi folks,

Will anyone be bringing FedFS implementations to Connectathon?
I have been coordinator in the past, and we need to know if we
should plan for testing in this area.  Last year, I think it
was just Chuck's Linux code and my Solaris prototype, with
NSDB/LDAP and Admin protocol interactions.

Thanks,
Rob T

From chuck.lever@oracle.com  Mon Jan 23 18:56:18 2012
Return-Path: <chuck.lever@oracle.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 35CFE21F860F for <nfsv4@ietfa.amsl.com>; Mon, 23 Jan 2012 18:56:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8, UNPARSEABLE_RELAY=0.001]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9gfc+mtXSd-y for <nfsv4@ietfa.amsl.com>; Mon, 23 Jan 2012 18:56:17 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by ietfa.amsl.com (Postfix) with ESMTP id 4821A21F8604 for <nfsv4@ietf.org>; Mon, 23 Jan 2012 18:56:17 -0800 (PST)
Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0O2uDp6029537 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Tue, 24 Jan 2012 02:56:15 GMT
Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0O2uDFT011151 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <nfsv4@ietf.org>; Tue, 24 Jan 2012 02:56:13 GMT
Received: from abhmt112.oracle.com (abhmt112.oracle.com [141.146.116.64]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0O2uCgt020198 for <nfsv4@ietf.org>; Mon, 23 Jan 2012 20:56:12 -0600
Received: from moret.1015granger.net (/99.26.161.222) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 23 Jan 2012 18:56:12 -0800
Mime-Version: 1.0 (Apple Message framework v1251.1)
Content-Type: text/plain; charset=us-ascii
From: Chuck Lever <chuck.lever@oracle.com>
In-Reply-To: <4F1DFAD4.8020409@oracle.com>
Date: Mon, 23 Jan 2012 21:56:11 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <0CCDA6E7-FD92-4DA3-9F95-6FB01A046EE8@oracle.com>
References: <4F1DFAD4.8020409@oracle.com>
To: Robert Thurlow <Robert.Thurlow@oracle.com>
X-Mailer: Apple Mail (2.1251.1)
X-Source-IP: acsinet21.oracle.com [141.146.126.237]
X-Auth-Type: Internal IP
X-CT-RefId: str=0001.0A090205.4F1E1DCF.00B1,ss=1,re=0.000,fgs=0
Cc: NFSv4 <nfsv4@ietf.org>
Subject: Re: [nfsv4] FedFS testing at Connectathon 2012
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jan 2012 02:56:18 -0000

Hi-

On Jan 23, 2012, at 7:27 PM, Robert Thurlow wrote:

> Will anyone be bringing FedFS implementations to Connectathon?
> I have been coordinator in the past, and we need to know if we
> should plan for testing in this area.  Last year, I think it
> was just Chuck's Linux code and my Solaris prototype, with
> NSDB/LDAP and Admin protocol interactions.

I'm planning to bring Linux fedfs-utils 0.8, which includes a working =
NFS file server with FedFS and NFS basic junction support, an nfsref =
command, a full suite of simple admin client commands, automounter =
support for FedFS domains (DNS SRV pre-2012), and a FedFS ADMIN server.  =
I'll have an NSDB available as well.

I'd like to give a demonstration of the fedfs-utils components as a =
Connectathon talk, and would be willing to combine a demo with other =
implementations, if that is desired.

--=20
Chuck Lever
chuck[dot]lever[at]oracle[dot]com





From eshel@almaden.ibm.com  Mon Jan 23 20:01:50 2012
Return-Path: <eshel@almaden.ibm.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 67F2721F8604 for <nfsv4@ietfa.amsl.com>; Mon, 23 Jan 2012 20:01:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xFAqPhd6N3mU for <nfsv4@ietfa.amsl.com>; Mon, 23 Jan 2012 20:01:49 -0800 (PST)
Received: from e33.co.us.ibm.com (e33.co.us.ibm.com [32.97.110.151]) by ietfa.amsl.com (Postfix) with ESMTP id 7D48A21F85FD for <nfsv4@ietf.org>; Mon, 23 Jan 2012 20:01:49 -0800 (PST)
Received: from /spool/local by e33.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <nfsv4@ietf.org> from <eshel@almaden.ibm.com>; Mon, 23 Jan 2012 21:01:48 -0700
Received: from d03dlp02.boulder.ibm.com (9.17.202.178) by e33.co.us.ibm.com (192.168.1.133) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted;  Mon, 23 Jan 2012 21:01:46 -0700
Received: from d01relay05.pok.ibm.com (d01relay05.pok.ibm.com [9.56.227.237]) by d03dlp02.boulder.ibm.com (Postfix) with ESMTP id 42B663E4004A for <nfsv4@ietf.org>; Mon, 23 Jan 2012 21:01:45 -0700 (MST)
Received: from d01av05.pok.ibm.com (d01av05.pok.ibm.com [9.56.224.195]) by d01relay05.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q0O41ifI162990 for <nfsv4@ietf.org>; Mon, 23 Jan 2012 23:01:44 -0500
Received: from d01av05.pok.ibm.com (loopback [127.0.0.1]) by d01av05.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q0O41inF014908 for <nfsv4@ietf.org>; Mon, 23 Jan 2012 23:01:44 -0500
Received: from d01ml604.pok.ibm.com (d01ml604.pok.ibm.com [9.56.227.90]) by d01av05.pok.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q0O41i4h014900 for <nfsv4@ietf.org>; Mon, 23 Jan 2012 23:01:44 -0500
In-Reply-To: <039D3CB813A4D544863BB7D4F46A18570F0C00@TK5EX14MBXC252.redmond.corp.microsoft.com>
References: <039D3CB813A4D544863BB7D4F46A18570F0C00@TK5EX14MBXC252.redmond.corp.microsoft.com>
To: Spencer Shepler <sshepler@microsoft.com>
MIME-Version: 1.0
X-KeepSent: 7C2D3AC2:B22E4360-8825798F:0015F6EE; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.0.1 February 07, 2008
Message-ID: <OF7C2D3AC2.B22E4360-ON8825798F.0015F6EE-8825798F.00162127@us.ibm.com>
From: Marc Eshel <eshel@almaden.ibm.com>
Date: Mon, 23 Jan 2012 20:01:57 -0800
X-MIMETrack: Serialize by Router on D01ML604/01/M/IBM(Release 8.5.3|September 15, 2011) at 01/23/2012 23:01:44, Serialize complete at 01/23/2012 23:01:44
Content-Type: text/plain; charset="US-ASCII"
X-Content-Scanned: Fidelis XPS MAILER
x-cbid: 12012404-2398-0000-0000-000003A23DCC
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Will not hold interim meeting in February / Paris meeting	planning
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jan 2012 04:01:50 -0000

Are we starting to consider items for NFSv4.3 in the Paris meeting?
Marc.



From:
Spencer Shepler <sshepler@microsoft.com>
To:
"nfsv4@ietf.org" <nfsv4@ietf.org>
Date:
01/22/2012 06:38 PM
Subject:
[nfsv4] Will not hold interim meeting in February / Paris meeting planning
Sent by:
nfsv4-bounces@ietf.org




Given the feedback received, the NFSv4 WG will not be holding an interim 
meeting.
Tom and I will work out the conference call schedule for the NFSv4.2 I-D 
review.

For the Paris meeting, it seems that a single meeting is sufficient given 
the
feedback.  Please submit agenda items so that I can prepare the schedule
by the deadline for posting agenda (March 14th).

Reminder that the I-D cutoffs for this meeting are March 5th (initial -00 
drafts)
and March 12th (for I-D updates).

Spencer


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





From sshepler@microsoft.com  Tue Jan 24 00:01:01 2012
Return-Path: <sshepler@microsoft.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5DB2011E8075 for <nfsv4@ietfa.amsl.com>; Tue, 24 Jan 2012 00:01:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5v7PLgKAozS0 for <nfsv4@ietfa.amsl.com>; Tue, 24 Jan 2012 00:01:00 -0800 (PST)
Received: from AM1EHSOBE002.bigfish.com (am1ehsobe002.messaging.microsoft.com [213.199.154.205]) by ietfa.amsl.com (Postfix) with ESMTP id 3E00711E8074 for <nfsv4@ietf.org>; Tue, 24 Jan 2012 00:01:00 -0800 (PST)
Received: from mail34-am1-R.bigfish.com (10.3.201.247) by AM1EHSOBE002.bigfish.com (10.3.204.22) with Microsoft SMTP Server id 14.1.225.23; Tue, 24 Jan 2012 08:00:59 +0000
Received: from mail34-am1 (localhost [127.0.0.1])	by mail34-am1-R.bigfish.com (Postfix) with ESMTP id 4A89F2E025A; Tue, 24 Jan 2012 08:00:59 +0000 (UTC)
X-SpamScore: -33
X-BigFish: VS-33(zzbb2dI9371I542M1432Nzz1202hzz1033IL8275bh8275dhz2fhc1bhc31hc1ah2a8h668h839h944h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14MLTC102.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail34-am1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=sshepler@microsoft.com; helo=TK5EX14MLTC102.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail34-am1 (localhost.localdomain [127.0.0.1]) by mail34-am1 (MessageSwitch) id 1327392058738047_29695; Tue, 24 Jan 2012 08:00:58 +0000 (UTC)
Received: from AM1EHSMHS011.bigfish.com (unknown [10.3.201.246])	by mail34-am1.bigfish.com (Postfix) with ESMTP id AFCFE260045; Tue, 24 Jan 2012 08:00:58 +0000 (UTC)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (131.107.125.8) by AM1EHSMHS011.bigfish.com (10.3.207.111) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 24 Jan 2012 08:00:58 +0000
Received: from TK5EX14MBXC254.redmond.corp.microsoft.com ([169.254.2.100]) by TK5EX14MLTC102.redmond.corp.microsoft.com ([157.54.79.180]) with mapi id 14.02.0247.005; Tue, 24 Jan 2012 00:00:55 -0800
From: Spencer Shepler <sshepler@microsoft.com>
To: Marc Eshel <eshel@almaden.ibm.com>
Thread-Topic: [nfsv4] Will not hold interim meeting in February / Paris meeting	planning
Thread-Index: AQHM2kzmfEbckGJ6/06fPg1n+fXNmJYbJxtQ
Date: Tue, 24 Jan 2012 08:00:54 +0000
Message-ID: <039D3CB813A4D544863BB7D4F46A1857105973@TK5EX14MBXC254.redmond.corp.microsoft.com>
References: <039D3CB813A4D544863BB7D4F46A18570F0C00@TK5EX14MBXC252.redmond.corp.microsoft.com> <OF7C2D3AC2.B22E4360-ON8825798F.0015F6EE-8825798F.00162127@us.ibm.com>
In-Reply-To: <OF7C2D3AC2.B22E4360-ON8825798F.0015F6EE-8825798F.00162127@us.ibm.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.35]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Will not hold interim meeting in February / Paris meeting	planning
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 24 Jan 2012 08:01:01 -0000

The working group will always consider new ideas.  If there is time
in the agenda, we can certainly add new discussion topics for Paris.
Priority will obviously be for previous work items/issue resolution.

The WG alias is open for new ideas/discussion, personal I-Ds can=20
be submitted at any time to present new ideas or proposals for
consideration.  Obviously nothing beats the face-to-face time but
there isn't any reason to wait to engage in discussion.

Spencer

> -----Original Message-----
> From: Marc Eshel [mailto:eshel@almaden.ibm.com]
> Sent: Monday, January 23, 2012 8:02 PM
> To: Spencer Shepler
> Cc: nfsv4@ietf.org
> Subject: Re: [nfsv4] Will not hold interim meeting in February / Paris
> meeting planning
>=20
> Are we starting to consider items for NFSv4.3 in the Paris meeting?
> Marc.
>=20
>=20
>=20
> From:
> Spencer Shepler <sshepler@microsoft.com>
> To:
> "nfsv4@ietf.org" <nfsv4@ietf.org>
> Date:
> 01/22/2012 06:38 PM
> Subject:
> [nfsv4] Will not hold interim meeting in February / Paris meeting plannin=
g
> Sent by:
> nfsv4-bounces@ietf.org
>=20
>=20
>=20
>=20
> Given the feedback received, the NFSv4 WG will not be holding an interim
> meeting.
> Tom and I will work out the conference call schedule for the NFSv4.2 I-D
> review.
>=20
> For the Paris meeting, it seems that a single meeting is sufficient given
> the feedback.  Please submit agenda items so that I can prepare the
> schedule by the deadline for posting agenda (March 14th).
>=20
> Reminder that the I-D cutoffs for this meeting are March 5th (initial -00
> drafts)
> and March 12th (for I-D updates).
>=20
> Spencer
>=20
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>=20
>=20
>=20
>=20



From rmacklem@uoguelph.ca  Wed Jan 25 19:55:13 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 01B4A21F859B for <nfsv4@ietfa.amsl.com>; Wed, 25 Jan 2012 19:55:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.043
X-Spam-Level: 
X-Spam-Status: No, score=-4.043 tagged_above=-999 required=5 tests=[AWL=-1.933, BAYES_05=-1.11, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id RNMhwufvFe93 for <nfsv4@ietfa.amsl.com>; Wed, 25 Jan 2012 19:55:12 -0800 (PST)
Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by ietfa.amsl.com (Postfix) with ESMTP id 6774F21F8599 for <nfsv4@ietf.org>; Wed, 25 Jan 2012 19:55:12 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: ApwEANfNIE+DaFvO/2dsb2JhbABDhQmqQoIcgQsCDRkCoS6OC5FUgS+HaQEFAxwEAQsBCAEGBAMDBBAPAwOCZgUDAwECBwMVAQULBwIBgQcDDCaCBoEWBIg/jF6JK4lE
X-IronPort-AV: E=Sophos;i="4.71,572,1320642000"; d="scan'208";a="156846953"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 25 Jan 2012 22:55:10 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 3D5CDB3F2B for <nfsv4@ietf.org>; Wed, 25 Jan 2012 22:55:09 -0500 (EST)
Date: Wed, 25 Jan 2012 22:55:09 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: nfsv4@ietf.org
Message-ID: <278069114.166111.1327550109166.JavaMail.root@erie.cs.uoguelph.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.203]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Subject: [nfsv4] RECLAIM_COMPLETE doesn't have a clientid arg
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jan 2012 03:55:13 -0000

Hi,

The following snippet from RFC5661 makes perfect sense (at least to me:-):
   Whenever a client establishes a new client ID and before it does the
   first non-reclaim operation that obtains a lock, it MUST send a
   RECLAIM_COMPLETE with rca_one_fs set to FALSE, even if there are no
   locks to reclaim.  If non-reclaim locking operations are done before
   the RECLAIM_COMPLETE, an NFS4ERR_GRACE error will be returned.

However, RECLAIM_COMPLETE doesn't have a clientid4 argument. Is the
client ID implied by the session used for the compound it is in?
(If not, what is "client" in the above context?)

Also, when rca_one_fs == TRUE, is "one file system" defined as all
file handles issued by a server (identified by the EXCHANGE_ID reply)
with the same value for the fsid attribute?

Thanks in advance for clarifying this, rick

From david.noveck@emc.com  Thu Jan 26 09:10:02 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F51421F864B for <nfsv4@ietfa.amsl.com>; Thu, 26 Jan 2012 09:10:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.261
X-Spam-Level: 
X-Spam-Status: No, score=-8.261 tagged_above=-999 required=5 tests=[AWL=2.338,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id YG5ZqXtFPpUX for <nfsv4@ietfa.amsl.com>; Thu, 26 Jan 2012 09:10:00 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id EBC7721F8644 for <nfsv4@ietf.org>; Thu, 26 Jan 2012 09:09:47 -0800 (PST)
Received: from hop04-l1d11-si03.isus.emc.com (HOP04-L1D11-SI03.isus.emc.com [10.254.111.23]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0QH9joA021829 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 26 Jan 2012 12:09:46 -0500
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.129]) by hop04-l1d11-si03.isus.emc.com (RSA Interceptor); Thu, 26 Jan 2012 12:09:28 -0500
Received: from mxhub02.corp.emc.com (mxhub02.corp.emc.com [10.254.141.104]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0QH9Rvp023302; Thu, 26 Jan 2012 12:09:27 -0500
Received: from mx31a.corp.emc.com ([169.254.1.84]) by mxhub02.corp.emc.com ([10.254.141.104]) with mapi; Thu, 26 Jan 2012 12:09:27 -0500
From: <david.noveck@emc.com>
To: <rmacklem@uoguelph.ca>, <nfsv4@ietf.org>
Date: Thu, 26 Jan 2012 12:09:26 -0500
Thread-Topic: [nfsv4] RECLAIM_COMPLETE doesn't have a clientid arg
Thread-Index: Aczb3mQxHG+cfuFPQJy0lMSI/hrcAAAbjFWg
Message-ID: <5DEA8DB993B81040A21CF3CB332489F69D7370A8@MX31A.corp.emc.com>
References: <278069114.166111.1327550109166.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <278069114.166111.1327550109166.JavaMail.root@erie.cs.uoguelph.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Subject: Re: [nfsv4] RECLAIM_COMPLETE doesn't have a clientid arg
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jan 2012 17:10:02 -0000

> However, RECLAIM_COMPLETE doesn't have a clientid4 argument. Is the
> client ID implied by the session used for the compound it is in?

Yes.  It would be nice if the comments in 18.51.1 dealt with that=20
case explicitly.=20

> Also, when rca_one_fs =3D=3D TRUE, is "one file system" defined as all
> file handles issued by a server (identified by the EXCHANGE_ID reply)
> with the same value for the fsid attribute?

The fs is defined by the fsid attribute of the current fh.  It's is an
underlying assumption of much of the spec that you can enumerate all such=20
objects by recursive descent from a root fh for that fs, but trying to be=20
clear and explicit about such matters would be troublesome, especially as
we already have gotten a lot of pushback about the length of RFC 5661.

Thanks for reading the spec carefully.

-----Original Message-----
From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of R=
ick Macklem
Sent: Wednesday, January 25, 2012 10:55 PM
To: nfsv4@ietf.org
Subject: [nfsv4] RECLAIM_COMPLETE doesn't have a clientid arg

Hi,

The following snippet from RFC5661 makes perfect sense (at least to me:-):
   Whenever a client establishes a new client ID and before it does the
   first non-reclaim operation that obtains a lock, it MUST send a
   RECLAIM_COMPLETE with rca_one_fs set to FALSE, even if there are no
   locks to reclaim.  If non-reclaim locking operations are done before
   the RECLAIM_COMPLETE, an NFS4ERR_GRACE error will be returned.

However, RECLAIM_COMPLETE doesn't have a clientid4 argument. Is the
client ID implied by the session used for the compound it is in?
(If not, what is "client" in the above context?)

Also, when rca_one_fs =3D=3D TRUE, is "one file system" defined as all
file handles issued by a server (identified by the EXCHANGE_ID reply)
with the same value for the fsid attribute?

Thanks in advance for clarifying this, rick
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www.ietf.org/mailman/listinfo/nfsv4


From david.noveck@emc.com  Thu Jan 26 10:08:46 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE9A121F86D5 for <nfsv4@ietfa.amsl.com>; Thu, 26 Jan 2012 10:08:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.521
X-Spam-Level: 
X-Spam-Status: No, score=-8.521 tagged_above=-999 required=5 tests=[AWL=2.079,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id xqkwKXHDkXbU for <nfsv4@ietfa.amsl.com>; Thu, 26 Jan 2012 10:08:46 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id E1BD321F8497 for <nfsv4@ietf.org>; Thu, 26 Jan 2012 10:08:45 -0800 (PST)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0QI8iA2022285 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <nfsv4@ietf.org>; Thu, 26 Jan 2012 13:08:45 -0500
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.251]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor) for <nfsv4@ietf.org>; Thu, 26 Jan 2012 13:08:34 -0500
Received: from mxhub33.corp.emc.com (mxhub33.corp.emc.com [10.254.93.81]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0QI8Xi9014727 for <nfsv4@ietf.org>; Thu, 26 Jan 2012 13:08:33 -0500
Received: from mx31a.corp.emc.com ([169.254.1.84]) by mxhub33.corp.emc.com ([::1]) with mapi; Thu, 26 Jan 2012 13:08:31 -0500
From: <david.noveck@emc.com>
To: <nfsv4@ietf.org>
Date: Thu, 26 Jan 2012 13:08:32 -0500
Thread-Topic: Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AczcVrzVz68FMmLxThqahQHwSR8RMg==
Message-ID: <5DEA8DB993B81040A21CF3CB332489F69D7370C9@MX31A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Subject: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jan 2012 18:08:47 -0000

I've just been reading the spec about this, and what is actually in=20
RFCs 3530 and 5661 about this is less clear than what I (thought I)=20
remembered.  Bad sign :-(.

The issue is that that the server has the ability to keep delegations=20
across client reboot, which is a good thing in the exciting world of
persistent caching using flash, but there is no way to indicate, when
you get the delegation, whether it merits this persistent treatment.

  "How do I feel about the Future?"

  "Hey, man.  The future's not here, yet"


                 -- The Firesign Theater.
                 -- I Think We're all Bozos on this Bus.

The problem is that it is looking like the future will be here petty soon.

One possibility is that if you support CLAIM_DELEGATE_PREV, it is expected=
=20
you do so for all delegation but this would be overkill.  Still, since the
spec doesn't say anything else ...

The "right" way to fix this is to specify this via a new value for the
open_delegation_type4 enum, which might make sense for v4.x, for x >=3D 2,
But we need to do something about the cases in which x < 2.

So my suggestion is that we make it clear that if you support this, the=20
normal expectation would be that it would be supported for OPEN_DELEGATE_WR=
ITE
delegations.  The recent clarifications about the usage of write delegation=
s
in the latest rev of RFC3530bis would fit well with this, in that those wri=
ting
but not doing persistent write-back caching could use OPEN_DELEGATE_READ to
indicate their lack of need for a persistent delegation.  If there is a
subsequent rev of RFC3530bis, it would be nice to include something address=
ing=20
this, but it is not a "stop the presses"  issue.

Are there other suggestions about how to handle this?

=20

From bfields@fieldses.org  Thu Jan 26 12:16:20 2012
Return-Path: <bfields@fieldses.org>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3F5DD21F86E2 for <nfsv4@ietfa.amsl.com>; Thu, 26 Jan 2012 12:16:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level: 
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[AWL=0.600,  BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id plwaTTXYn1YO for <nfsv4@ietfa.amsl.com>; Thu, 26 Jan 2012 12:16:19 -0800 (PST)
Received: from fieldses.org (fieldses.org [174.143.236.118]) by ietfa.amsl.com (Postfix) with ESMTP id AF0F321F86D0 for <nfsv4@ietf.org>; Thu, 26 Jan 2012 12:16:19 -0800 (PST)
Received: from bfields by fieldses.org with local (Exim 4.72) (envelope-from <bfields@fieldses.org>) id 1RqVk1-00007I-Mu; Thu, 26 Jan 2012 15:16:17 -0500
Date: Thu, 26 Jan 2012 15:16:17 -0500
To: david.noveck@emc.com
Message-ID: <20120126201617.GB31531@fieldses.org>
References: <5DEA8DB993B81040A21CF3CB332489F69D7370C9@MX31A.corp.emc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <5DEA8DB993B81040A21CF3CB332489F69D7370C9@MX31A.corp.emc.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
From: "J. Bruce Fields" <bfields@fieldses.org>
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 26 Jan 2012 20:16:20 -0000

On Thu, Jan 26, 2012 at 01:08:32PM -0500, david.noveck@emc.com wrote:
> I've just been reading the spec about this, and what is actually in 
> RFCs 3530 and 5661 about this is less clear than what I (thought I) 
> remembered.  Bad sign :-(.
> 
> The issue is that that the server has the ability to keep delegations 
> across client reboot, which is a good thing in the exciting world of
> persistent caching using flash, but there is no way to indicate, when
> you get the delegation, whether it merits this persistent treatment.

I'm a little confused about which way you're suggesting the "indication"
needs to go.  Do you mean, the server would indicate this to the client?

> 
>   "How do I feel about the Future?"
> 
>   "Hey, man.  The future's not here, yet"
> 
> 
>                  -- The Firesign Theater.
>                  -- I Think We're all Bozos on this Bus.
> 
> The problem is that it is looking like the future will be here petty soon.
> 
> One possibility is that if you support CLAIM_DELEGATE_PREV, it is expected 
> you do so for all delegation but this would be overkill.  Still, since the
> spec doesn't say anything else ...
> 
> The "right" way to fix this is to specify this via a new value for the
> open_delegation_type4 enum, which might make sense for v4.x, for x >= 2,
> But we need to do something about the cases in which x < 2.
> 
> So my suggestion is that we make it clear that if you support this, the 
> normal expectation would be that it would be supported for OPEN_DELEGATE_WRITE
> delegations.  The recent clarifications about the usage of write delegations
> in the latest rev of RFC3530bis would fit well with this, in that those writing
> but not doing persistent write-back caching could use OPEN_DELEGATE_READ to
> indicate their lack of need for a persistent delegation.

OK, so the hint goes in the other direction.

Uh, maybe that makes more sense, I'm not sure.

> If there is a
> subsequent rev of RFC3530bis, it would be nice to include something addressing 
> this, but it is not a "stop the presses"  issue.

I'm a little confused about how persistent delegations help the client
do persistent caching.

In the write case if you fetch the change attribute after each write
then you can still revalidate your cache after you reboot, can't you?
No, I suppose that's not good enough if the server reboots mid-write, or
if you have multiple outstanding writes.

Whereas if you have a read delegation on a mostly-static file, your
cache should be easy to revalidate on reboot.

So the ability to reclaim write delegations does seem a lot more useful
than the ability to reclaim read delegations.

--b.

From rmacklem@uoguelph.ca  Thu Jan 26 18:07:31 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B0B1321F860E for <nfsv4@ietfa.amsl.com>; Thu, 26 Jan 2012 18:07:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.095
X-Spam-Level: 
X-Spam-Status: No, score=-6.095 tagged_above=-999 required=5 tests=[AWL=0.504,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id crO76CxpjCnU for <nfsv4@ietfa.amsl.com>; Thu, 26 Jan 2012 18:07:31 -0800 (PST)
Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by ietfa.amsl.com (Postfix) with ESMTP id E776721F85B7 for <nfsv4@ietf.org>; Thu, 26 Jan 2012 18:07:30 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EAPkFIk+DaFvO/2dsb2JhbABChQuqTYFyAQEEASNWBRYYAgINGQJZBogPpjqRX4Evh2oBBQMcBAELAQgBBgQDAwQQgnsFAwMBAgcDFQEFCwcCAYEWgiyBFgSIP4xgiSuJRA
X-IronPort-AV: E=Sophos;i="4.71,577,1320642000"; d="scan'208";a="153919317"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 26 Jan 2012 21:07:29 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id C62A0B3FAA; Thu, 26 Jan 2012 21:07:29 -0500 (EST)
Date: Thu, 26 Jan 2012 21:07:29 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: david noveck <david.noveck@emc.com>
Message-ID: <337719939.236110.1327630049788.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <5DEA8DB993B81040A21CF3CB332489F69D7370C9@MX31A.corp.emc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.201]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jan 2012 02:07:31 -0000

David Noveck wrote:
> I've just been reading the spec about this, and what is actually in
> RFCs 3530 and 5661 about this is less clear than what I (thought I)
> remembered. Bad sign :-(.
> 
> The issue is that that the server has the ability to keep delegations
> across client reboot, which is a good thing in the exciting world of
> persistent caching using flash, but there is no way to indicate, when
> you get the delegation, whether it merits this persistent treatment.
> 
I don't quite understand this. If the client reboots, the server (which
I will presume has not crashed/rebooted) will find this out when the
client does a fresh SetClientID/confirm. At that point, I believe the
client is expected to hold onto "old delegations" for that client, so
they can be recovered by the client via CLAIM_DELEGATE_PREV. (I also
don't see any indication that this is an "optional feature", so a server
that doesn't implement this doesn't conform to RFC3530, imho.)

The place where I can see a "hint from the client" as being useful would
be if the client's lease expired, due to it taking too long to reboot.
(The hint could be used by the server to handle delegations for this
 client as "courtesy locks" and keep them for as long as practical, even
 after the client's lease has expired.)

Btw, I have an experimental patch for the FreeBSD client I call Packrats,
which does do "on-disk caching of delegated files" and seems to work
pretty well. It is still experimental mainly because I haven't yet
written the client crash recovery code for it. I am hoping to have that
written and ready for testing for the June Ann Arbor bakeathon (assuming
that it happens).

> "How do I feel about the Future?"
> 
> "Hey, man. The future's not here, yet"
> 
> 
> -- The Firesign Theater.
> -- I Think We're all Bozos on this Bus.
> 
> The problem is that it is looking like the future will be here petty
> soon.
> 
> One possibility is that if you support CLAIM_DELEGATE_PREV, it is
> expected
> you do so for all delegation but this would be overkill. Still, since
> the
> spec doesn't say anything else ...
> 
Except for the issue of how the server handles the delegations after a
client's lease has expired, I don't see why it needs to do anything
different with them than any other delegation? (If you are talking
about this specific case then, yes, I can see a "hint" from the client
as useful.)

> The "right" way to fix this is to specify this via a new value for the
> open_delegation_type4 enum, which might make sense for v4.x, for x >=
> 2,
> But we need to do something about the cases in which x < 2.
> 
> So my suggestion is that we make it clear that if you support this,
> the
> normal expectation would be that it would be supported for
> OPEN_DELEGATE_WRITE
> delegations.
> The recent clarifications about the usage of write
> delegations
> in the latest rev of RFC3530bis would fit well with this, in that
> those writing
> but not doing persistent write-back caching could use
> OPEN_DELEGATE_READ to
> indicate their lack of need for a persistent delegation. If there is a
> subsequent rev of RFC3530bis, it would be nice to include something
> addressing
> this, but it is not a "stop the presses" issue.
> 
Well, I would agree that, if a server implementation needs to choose
which delegations to keep after the client's lease has expired, the
write ones would be the better ones to keep. At least for packrats,
updates to the file on the server may be delayed a long time, so
losing the delegation after a client reboot will hurt file consistency.
(I'm actually not sure how I will handle this for Packrats. The choice
 is to write the changes back to the server with the potential of
 overwriting changes done by another client vs throwing the changes
 away. Maybe these case will require manual intervention on the client,
 but I haven't thought about that yet.)

> Are there other suggestions about how to handle this?
> 
For NFSv4.0, I can't think of any "trick" the client could use to give
the server a "hint" that it was planning on-disk caching for a delegation
that might be issued for an Open. As such, all I can suggest is basically
what you mentioned, along the lines of:
- Once a client's lease has expired, the server should keep the delegations
  for that client as long as practicable, with a bias towards write
  delegations over read delegation.

rick

From bfields@fieldses.org  Fri Jan 27 06:06:46 2012
Return-Path: <bfields@fieldses.org>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D9B4D21F85A4 for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 06:06:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.299
X-Spam-Level: 
X-Spam-Status: No, score=-2.299 tagged_above=-999 required=5 tests=[AWL=0.300,  BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Qx+2b4--kBVR for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 06:06:46 -0800 (PST)
Received: from fieldses.org (fieldses.org [174.143.236.118]) by ietfa.amsl.com (Postfix) with ESMTP id 66F6021F85A0 for <nfsv4@ietf.org>; Fri, 27 Jan 2012 06:06:46 -0800 (PST)
Received: from bfields by fieldses.org with local (Exim 4.72) (envelope-from <bfields@fieldses.org>) id 1RqmRv-0002UP-6l; Fri, 27 Jan 2012 09:06:43 -0500
Date: Fri, 27 Jan 2012 09:06:43 -0500
To: Rick Macklem <rmacklem@uoguelph.ca>
Message-ID: <20120127140643.GA9439@fieldses.org>
References: <5DEA8DB993B81040A21CF3CB332489F69D7370C9@MX31A.corp.emc.com> <337719939.236110.1327630049788.JavaMail.root@erie.cs.uoguelph.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <337719939.236110.1327630049788.JavaMail.root@erie.cs.uoguelph.ca>
User-Agent: Mutt/1.5.20 (2009-06-14)
From: "J. Bruce Fields" <bfields@fieldses.org>
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jan 2012 14:06:47 -0000

On Thu, Jan 26, 2012 at 09:07:29PM -0500, Rick Macklem wrote:
> David Noveck wrote:
> > I've just been reading the spec about this, and what is actually in
> > RFCs 3530 and 5661 about this is less clear than what I (thought I)
> > remembered. Bad sign :-(.
> > 
> > The issue is that that the server has the ability to keep delegations
> > across client reboot, which is a good thing in the exciting world of
> > persistent caching using flash, but there is no way to indicate, when
> > you get the delegation, whether it merits this persistent treatment.
> > 
> I don't quite understand this. If the client reboots, the server (which
> I will presume has not crashed/rebooted) will find this out when the
> client does a fresh SetClientID/confirm. At that point, I believe the
> client is expected to hold onto "old delegations" for that client, so
> they can be recovered by the client via CLAIM_DELEGATE_PREV. (I also
> don't see any indication that this is an "optional feature", so a server
> that doesn't implement this doesn't conform to RFC3530, imho.)

	"A server MAY support a claim type of CLAIM_DELEGATE_PREV"

> The place where I can see a "hint from the client" as being useful would
> be if the client's lease expired, due to it taking too long to reboot.

I guess I was assuming that would be the normal case.

--b.

From rmacklem@uoguelph.ca  Fri Jan 27 07:51:13 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B64421F8599 for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 07:51:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.14
X-Spam-Level: 
X-Spam-Status: No, score=-6.14 tagged_above=-999 required=5 tests=[AWL=0.459,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L+mf3WorhhL4 for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 07:51:11 -0800 (PST)
Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by ietfa.amsl.com (Postfix) with ESMTP id 7268721F856F for <nfsv4@ietf.org>; Fri, 27 Jan 2012 07:51:10 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EAKDHIk+DaFvO/2dsb2JhbABEhQuqS4FyAQEEASNWGxgCAg0ZAlkGiA+mSJFegS+HYQEFAxwEAQsBCAEGBAMDBBAVgmYFAwMBAgcDFQEFCwcCAYEWgiyBFgSIP4xbiSuJQA
X-IronPort-AV: E=Sophos;i="4.71,580,1320642000"; d="scan'208";a="153990120"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 27 Jan 2012 10:51:06 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id F3345B3F91; Fri, 27 Jan 2012 10:51:06 -0500 (EST)
Date: Fri, 27 Jan 2012 10:51:06 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: "J. Bruce Fields" <bfields@fieldses.org>
Message-ID: <850852934.262040.1327679466977.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <20120127140643.GA9439@fieldses.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.201]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jan 2012 15:51:14 -0000

J. Bruce Fields wrote:
> On Thu, Jan 26, 2012 at 09:07:29PM -0500, Rick Macklem wrote:
> > David Noveck wrote:
> > > I've just been reading the spec about this, and what is actually
> > > in
> > > RFCs 3530 and 5661 about this is less clear than what I (thought
> > > I)
> > > remembered. Bad sign :-(.
> > >
> > > The issue is that that the server has the ability to keep
> > > delegations
> > > across client reboot, which is a good thing in the exciting world
> > > of
> > > persistent caching using flash, but there is no way to indicate,
> > > when
> > > you get the delegation, whether it merits this persistent
> > > treatment.
> > >
> > I don't quite understand this. If the client reboots, the server
> > (which
> > I will presume has not crashed/rebooted) will find this out when the
> > client does a fresh SetClientID/confirm. At that point, I believe
> > the
> > client is expected to hold onto "old delegations" for that client,
> > so
> > they can be recovered by the client via CLAIM_DELEGATE_PREV. (I also
> > don't see any indication that this is an "optional feature", so a
> > server
> > that doesn't implement this doesn't conform to RFC3530, imho.)
> 
> "A server MAY support a claim type of CLAIM_DELEGATE_PREV"
> 
Oops, sorry. My mistake. You are correct. The above clearly indicates that
it is optional. (I should have taken a look at the RFC before I replied. I
had never noticed that.)

> > The place where I can see a "hint from the client" as being useful
> > would
> > be if the client's lease expired, due to it taking too long to
> > reboot.
> 
> I guess I was assuming that would be the normal case.
> 
Yep.

Actually, since CLAIM_DELEGATE_PREV is optional, it would be nice if the client knew that
so that it could decide whether or not to cache the file/delegation in
stable storage or not.

Although this sounds a little scary...
Maybe a client could try a CLAIM_DELEGATE_PREV for some file
in the mount point, after it did the SetClientConfirm. If it gets
a NFS4ERR_NOTSUPP reply, it would assume that CLAIM_DELEGATE_PREV
is not supported by the server. If it gets some other error or
succeeds, getting an open with a delegation, then it could assume
it is supported. (For the succeed case, it could just return the
delegation and close the file. If it does the above with a "file"
it knows it didn't hold a delegation for, this shouldn't happen,
but the client might not always know if it held a delegation for
the file before the crash/reboot.)

Sorry about the noise w.r.t. it not being optional, rick


From cbodley@gmail.com  Fri Jan 27 08:05:34 2012
Return-Path: <cbodley@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 87AAC21F85FB for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 08:05:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level: 
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id olB8Gevtvgml for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 08:05:33 -0800 (PST)
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by ietfa.amsl.com (Postfix) with ESMTP id A02A621F8573 for <nfsv4@ietf.org>; Fri, 27 Jan 2012 08:05:33 -0800 (PST)
Received: by pbdu7 with SMTP id u7so1499830pbd.31 for <nfsv4@ietf.org>; Fri, 27 Jan 2012 08:05:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=tiO2m3ipedzvLBPfNt1paG6w9VmDtLzgH1lMpfzAfj4=; b=tWySG1mSEXMNJi16YCsUhqrAm6TdzBhYkACjTo4pEKLkDj+3yPSoXPDIwMWE7qf3e7 4JJAycTRB8PyHEKXb3qIpwZqAE0txw4nwLoCdxPUs0OYL13MhHrfnrlXIDXCaIYkLL3n LHXM6HyKlbM6u1X6YJmlZXdiaSBZS2vpbzvNs=
MIME-Version: 1.0
Received: by 10.68.240.164 with SMTP id wb4mr15351403pbc.57.1327680333319; Fri, 27 Jan 2012 08:05:33 -0800 (PST)
Sender: cbodley@gmail.com
Received: by 10.142.143.10 with HTTP; Fri, 27 Jan 2012 08:05:33 -0800 (PST)
In-Reply-To: <850852934.262040.1327679466977.JavaMail.root@erie.cs.uoguelph.ca>
References: <20120127140643.GA9439@fieldses.org> <850852934.262040.1327679466977.JavaMail.root@erie.cs.uoguelph.ca>
Date: Fri, 27 Jan 2012 11:05:33 -0500
X-Google-Sender-Auth: 5PQBrdO6SISS0sJpbKi7aiHv_tk
Message-ID: <CAMeBU_0=5pY2WFqpa2MOiTc_5Yzb6UnpGVXQaLX1N4HeZKSKSw@mail.gmail.com>
From: Casey Bodley <cbodley@citi.umich.edu>
To: Rick Macklem <rmacklem@uoguelph.ca>
Content-Type: text/plain; charset=ISO-8859-1
Cc: "J. Bruce Fields" <bfields@fieldses.org>, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jan 2012 16:05:34 -0000

On Fri, Jan 27, 2012 at 10:51 AM, Rick Macklem <rmacklem@uoguelph.ca> wrote:
> J. Bruce Fields wrote:
>> On Thu, Jan 26, 2012 at 09:07:29PM -0500, Rick Macklem wrote:
>> > David Noveck wrote:
>> > > I've just been reading the spec about this, and what is actually
>> > > in
>> > > RFCs 3530 and 5661 about this is less clear than what I (thought
>> > > I)
>> > > remembered. Bad sign :-(.
>> > >
>> > > The issue is that that the server has the ability to keep
>> > > delegations
>> > > across client reboot, which is a good thing in the exciting world
>> > > of
>> > > persistent caching using flash, but there is no way to indicate,
>> > > when
>> > > you get the delegation, whether it merits this persistent
>> > > treatment.
>> > >
>> > I don't quite understand this. If the client reboots, the server
>> > (which
>> > I will presume has not crashed/rebooted) will find this out when the
>> > client does a fresh SetClientID/confirm. At that point, I believe
>> > the
>> > client is expected to hold onto "old delegations" for that client,
>> > so
>> > they can be recovered by the client via CLAIM_DELEGATE_PREV. (I also
>> > don't see any indication that this is an "optional feature", so a
>> > server
>> > that doesn't implement this doesn't conform to RFC3530, imho.)
>>
>> "A server MAY support a claim type of CLAIM_DELEGATE_PREV"
>>
> Oops, sorry. My mistake. You are correct. The above clearly indicates that
> it is optional. (I should have taken a look at the RFC before I replied. I
> had never noticed that.)
>
>> > The place where I can see a "hint from the client" as being useful
>> > would
>> > be if the client's lease expired, due to it taking too long to
>> > reboot.
>>
>> I guess I was assuming that would be the normal case.
>>
> Yep.
>
> Actually, since CLAIM_DELEGATE_PREV is optional, it would be nice if the client knew that
> so that it could decide whether or not to cache the file/delegation in
> stable storage or not.
>
> Although this sounds a little scary...
> Maybe a client could try a CLAIM_DELEGATE_PREV for some file
> in the mount point, after it did the SetClientConfirm. If it gets
> a NFS4ERR_NOTSUPP reply, it would assume that CLAIM_DELEGATE_PREV
> is not supported by the server. If it gets some other error or
> succeeds, getting an open with a delegation, then it could assume
> it is supported. (For the succeed case, it could just return the
> delegation and close the file. If it does the above with a "file"
> it knows it didn't hold a delegation for, this shouldn't happen,
> but the client might not always know if it held a delegation for
> the file before the crash/reboot.)

You might use the fact that DELEGPURGE is required for servers that
support CLAIM_DELEGATE_PREV. By sending a DELEGPURGE after client
confirm, you can both probe for support and tell the server to clean
up any of those delegations that the client doesn't remember.

>
> Sorry about the noise w.r.t. it not being optional, rick
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

From bfields@fieldses.org  Fri Jan 27 08:38:18 2012
Return-Path: <bfields@fieldses.org>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 95CF621F8537 for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 08:38:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level: 
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[AWL=0.200,  BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Mtby7lNewVfZ for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 08:38:18 -0800 (PST)
Received: from fieldses.org (fieldses.org [174.143.236.118]) by ietfa.amsl.com (Postfix) with ESMTP id 2A99021F8523 for <nfsv4@ietf.org>; Fri, 27 Jan 2012 08:38:18 -0800 (PST)
Received: from bfields by fieldses.org with local (Exim 4.72) (envelope-from <bfields@fieldses.org>) id 1RqooZ-0002im-SV; Fri, 27 Jan 2012 11:38:15 -0500
Date: Fri, 27 Jan 2012 11:38:15 -0500
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Rick Macklem <rmacklem@uoguelph.ca>
Message-ID: <20120127163815.GA10315@fieldses.org>
References: <20120127140643.GA9439@fieldses.org> <850852934.262040.1327679466977.JavaMail.root@erie.cs.uoguelph.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <850852934.262040.1327679466977.JavaMail.root@erie.cs.uoguelph.ca>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jan 2012 16:38:18 -0000

On Fri, Jan 27, 2012 at 10:51:06AM -0500, Rick Macklem wrote:
> Actually, since CLAIM_DELEGATE_PREV is optional, it would be nice if the client knew that
> so that it could decide whether or not to cache the file/delegation in
> stable storage or not.

Couldn't a persistent data cache turn out to be useful even in the
absence of any delegation?

> Although this sounds a little scary...
> Maybe a client could try a CLAIM_DELEGATE_PREV for some file
> in the mount point, after it did the SetClientConfirm. If it gets
> a NFS4ERR_NOTSUPP reply, it would assume that CLAIM_DELEGATE_PREV
> is not supported by the server. If it gets some other error or
> succeeds, getting an open with a delegation, then it could assume
> it is supported. (For the succeed case, it could just return the
> delegation and close the file. If it does the above with a "file"
> it knows it didn't hold a delegation for, this shouldn't happen,
> but the client might not always know if it held a delegation for
> the file before the crash/reboot.)

Also, the protocol trusts clients to only reclaim delegations it held
before, so if it succeeds when it shouldn't have you could end up
denying some other client some state that it shouldn't be able to
reclaim.

So you'd have to somehow cook up a CLAIM_DELEGATE_PREV that would be
guaranteed to fail, and then hope that the server chooses to return the
NOTSUPP error in preference to any other.

Doesn't sound like something you'd want to rely on.

--b.

> 
> Sorry about the noise w.r.t. it not being optional, rick
> 

From bfields@fieldses.org  Fri Jan 27 08:39:24 2012
Return-Path: <bfields@fieldses.org>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A53A21F8572 for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 08:39:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.449
X-Spam-Level: 
X-Spam-Status: No, score=-2.449 tagged_above=-999 required=5 tests=[AWL=0.150,  BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4QK2OHPNXR60 for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 08:39:23 -0800 (PST)
Received: from fieldses.org (fieldses.org [174.143.236.118]) by ietfa.amsl.com (Postfix) with ESMTP id 7DFD621F8537 for <nfsv4@ietf.org>; Fri, 27 Jan 2012 08:39:23 -0800 (PST)
Received: from bfields by fieldses.org with local (Exim 4.72) (envelope-from <bfields@fieldses.org>) id 1Rqope-0002jQ-Ep; Fri, 27 Jan 2012 11:39:22 -0500
Date: Fri, 27 Jan 2012 11:39:22 -0500
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Casey Bodley <cbodley@citi.umich.edu>
Message-ID: <20120127163922.GB10315@fieldses.org>
References: <20120127140643.GA9439@fieldses.org> <850852934.262040.1327679466977.JavaMail.root@erie.cs.uoguelph.ca> <CAMeBU_0=5pY2WFqpa2MOiTc_5Yzb6UnpGVXQaLX1N4HeZKSKSw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAMeBU_0=5pY2WFqpa2MOiTc_5Yzb6UnpGVXQaLX1N4HeZKSKSw@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: Rick Macklem <rmacklem@uoguelph.ca>, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jan 2012 16:39:24 -0000

On Fri, Jan 27, 2012 at 11:05:33AM -0500, Casey Bodley wrote:
> On Fri, Jan 27, 2012 at 10:51 AM, Rick Macklem <rmacklem@uoguelph.ca> wrote:
> > J. Bruce Fields wrote:
> >> On Thu, Jan 26, 2012 at 09:07:29PM -0500, Rick Macklem wrote:
> >> > David Noveck wrote:
> >> > > I've just been reading the spec about this, and what is actually
> >> > > in
> >> > > RFCs 3530 and 5661 about this is less clear than what I (thought
> >> > > I)
> >> > > remembered. Bad sign :-(.
> >> > >
> >> > > The issue is that that the server has the ability to keep
> >> > > delegations
> >> > > across client reboot, which is a good thing in the exciting world
> >> > > of
> >> > > persistent caching using flash, but there is no way to indicate,
> >> > > when
> >> > > you get the delegation, whether it merits this persistent
> >> > > treatment.
> >> > >
> >> > I don't quite understand this. If the client reboots, the server
> >> > (which
> >> > I will presume has not crashed/rebooted) will find this out when the
> >> > client does a fresh SetClientID/confirm. At that point, I believe
> >> > the
> >> > client is expected to hold onto "old delegations" for that client,
> >> > so
> >> > they can be recovered by the client via CLAIM_DELEGATE_PREV. (I also
> >> > don't see any indication that this is an "optional feature", so a
> >> > server
> >> > that doesn't implement this doesn't conform to RFC3530, imho.)
> >>
> >> "A server MAY support a claim type of CLAIM_DELEGATE_PREV"
> >>
> > Oops, sorry. My mistake. You are correct. The above clearly indicates that
> > it is optional. (I should have taken a look at the RFC before I replied. I
> > had never noticed that.)
> >
> >> > The place where I can see a "hint from the client" as being useful
> >> > would
> >> > be if the client's lease expired, due to it taking too long to
> >> > reboot.
> >>
> >> I guess I was assuming that would be the normal case.
> >>
> > Yep.
> >
> > Actually, since CLAIM_DELEGATE_PREV is optional, it would be nice if the client knew that
> > so that it could decide whether or not to cache the file/delegation in
> > stable storage or not.
> >
> > Although this sounds a little scary...
> > Maybe a client could try a CLAIM_DELEGATE_PREV for some file
> > in the mount point, after it did the SetClientConfirm. If it gets
> > a NFS4ERR_NOTSUPP reply, it would assume that CLAIM_DELEGATE_PREV
> > is not supported by the server. If it gets some other error or
> > succeeds, getting an open with a delegation, then it could assume
> > it is supported. (For the succeed case, it could just return the
> > delegation and close the file. If it does the above with a "file"
> > it knows it didn't hold a delegation for, this shouldn't happen,
> > but the client might not always know if it held a delegation for
> > the file before the crash/reboot.)
> 
> You might use the fact that DELEGPURGE is required for servers that
> support CLAIM_DELEGATE_PREV. By sending a DELEGPURGE after client
> confirm, you can both probe for support and tell the server to clean
> up any of those delegations that the client doesn't remember.

Casey wins.

--b.

From rmacklem@uoguelph.ca  Fri Jan 27 08:40:27 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3179821F8601 for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 08:40:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.679
X-Spam-Level: 
X-Spam-Status: No, score=-4.679 tagged_above=-999 required=5 tests=[AWL=-1.080, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id I2p-+HM-AzSi for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 08:40:26 -0800 (PST)
Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by ietfa.amsl.com (Postfix) with ESMTP id 1D77021F85E3 for <nfsv4@ietf.org>; Fri, 27 Jan 2012 08:40:19 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EAF7SIk+DaFvO/2dsb2JhbABDDoR9qkuBcgEBBAEjVhsOCgICDRkCWQYTh3ymU5FagS+HYQEFAxwEAQsBCAEGBAMDBBCCewUDAwECBwMVAQULBwIBgRYFCYIegRYEiD+MW4kriGtV
X-IronPort-AV: E=Sophos;i="4.71,580,1320642000"; d="scan'208";a="157100556"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 27 Jan 2012 11:40:18 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 6B579B3F08; Fri, 27 Jan 2012 11:40:18 -0500 (EST)
Date: Fri, 27 Jan 2012 11:40:18 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: Casey Bodley <cbodley@citi.umich.edu>
Message-ID: <1072425060.267777.1327682418424.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <CAMeBU_0=5pY2WFqpa2MOiTc_5Yzb6UnpGVXQaLX1N4HeZKSKSw@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.203]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: "J. Bruce Fields" <bfields@fieldses.org>, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jan 2012 16:40:27 -0000

Casey Bodley wrote:
> On Fri, Jan 27, 2012 at 10:51 AM, Rick Macklem <rmacklem@uoguelph.ca>
> wrote:
> > J. Bruce Fields wrote:
> >> On Thu, Jan 26, 2012 at 09:07:29PM -0500, Rick Macklem wrote:
> >> > David Noveck wrote:
> >> > > I've just been reading the spec about this, and what is
> >> > > actually
> >> > > in
> >> > > RFCs 3530 and 5661 about this is less clear than what I
> >> > > (thought
> >> > > I)
> >> > > remembered. Bad sign :-(.
> >> > >
> >> > > The issue is that that the server has the ability to keep
> >> > > delegations
> >> > > across client reboot, which is a good thing in the exciting
> >> > > world
> >> > > of
> >> > > persistent caching using flash, but there is no way to
> >> > > indicate,
> >> > > when
> >> > > you get the delegation, whether it merits this persistent
> >> > > treatment.
> >> > >
> >> > I don't quite understand this. If the client reboots, the server
> >> > (which
> >> > I will presume has not crashed/rebooted) will find this out when
> >> > the
> >> > client does a fresh SetClientID/confirm. At that point, I believe
> >> > the
> >> > client is expected to hold onto "old delegations" for that
> >> > client,
> >> > so
> >> > they can be recovered by the client via CLAIM_DELEGATE_PREV. (I
> >> > also
> >> > don't see any indication that this is an "optional feature", so a
> >> > server
> >> > that doesn't implement this doesn't conform to RFC3530, imho.)
> >>
> >> "A server MAY support a claim type of CLAIM_DELEGATE_PREV"
> >>
> > Oops, sorry. My mistake. You are correct. The above clearly
> > indicates that
> > it is optional. (I should have taken a look at the RFC before I
> > replied. I
> > had never noticed that.)
> >
> >> > The place where I can see a "hint from the client" as being
> >> > useful
> >> > would
> >> > be if the client's lease expired, due to it taking too long to
> >> > reboot.
> >>
> >> I guess I was assuming that would be the normal case.
> >>
> > Yep.
> >
> > Actually, since CLAIM_DELEGATE_PREV is optional, it would be nice if
> > the client knew that
> > so that it could decide whether or not to cache the file/delegation
> > in
> > stable storage or not.
> >
> > Although this sounds a little scary...
> > Maybe a client could try a CLAIM_DELEGATE_PREV for some file
> > in the mount point, after it did the SetClientConfirm. If it gets
> > a NFS4ERR_NOTSUPP reply, it would assume that CLAIM_DELEGATE_PREV
> > is not supported by the server. If it gets some other error or
> > succeeds, getting an open with a delegation, then it could assume
> > it is supported. (For the succeed case, it could just return the
> > delegation and close the file. If it does the above with a "file"
> > it knows it didn't hold a delegation for, this shouldn't happen,
> > but the client might not always know if it held a delegation for
> > the file before the crash/reboot.)
> 
> You might use the fact that DELEGPURGE is required for servers that
> support CLAIM_DELEGATE_PREV. By sending a DELEGPURGE after client
> confirm, you can both probe for support and tell the server to clean
> up any of those delegations that the client doesn't remember.
> 
I like this idea. Good suggestion.

The only problem I see with it is that there could be a server that
supports DELEGPURGE (probably just returns NFS_OK without doing anything)
but not CLAIM_DELEGATE_PREV.

However, a reply of NFS4ERR_NOTSUPP tells the client that CLAIM_DELEGATE_PREV
isn't supported and a successful reply "hints" that it is. And this is
much simpler and safer than what I suggested.

rick


From cbodley@gmail.com  Fri Jan 27 08:48:26 2012
Return-Path: <cbodley@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F0E6821F85EA for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 08:48:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level: 
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id zAD+S1m6d2Y8 for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 08:48:25 -0800 (PST)
Received: from mail-pw0-f44.google.com (mail-pw0-f44.google.com [209.85.160.44]) by ietfa.amsl.com (Postfix) with ESMTP id 5571A21F85D4 for <nfsv4@ietf.org>; Fri, 27 Jan 2012 08:48:25 -0800 (PST)
Received: by pbdu7 with SMTP id u7so1536264pbd.31 for <nfsv4@ietf.org>; Fri, 27 Jan 2012 08:48:25 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=ec5AvItPvhaAKCno0GXRvkPwiaCR2/cPKrPRYKVFefI=; b=dtsiz47CpgtEmHzoeYo2mP/jzt5yDjJxWxavVNDJzA/rfRu9UP03vu0GxU3+UOhxik NqZugz+VjU8KD8yWFPmlafEIHriMG6yhvk1UC7gi3nO3GHBSFZ1LFYJUsXNUP0Q20WPa YkjknACE2SS0MGvXpCGL7ortsI3yR3UhTm5yY=
MIME-Version: 1.0
Received: by 10.68.232.103 with SMTP id tn7mr15531697pbc.74.1327682905180; Fri, 27 Jan 2012 08:48:25 -0800 (PST)
Sender: cbodley@gmail.com
Received: by 10.142.143.10 with HTTP; Fri, 27 Jan 2012 08:48:25 -0800 (PST)
In-Reply-To: <1072425060.267777.1327682418424.JavaMail.root@erie.cs.uoguelph.ca>
References: <CAMeBU_0=5pY2WFqpa2MOiTc_5Yzb6UnpGVXQaLX1N4HeZKSKSw@mail.gmail.com> <1072425060.267777.1327682418424.JavaMail.root@erie.cs.uoguelph.ca>
Date: Fri, 27 Jan 2012 11:48:25 -0500
X-Google-Sender-Auth: ZMeypbbqA_3q16vTVS0_QrYPoFY
Message-ID: <CAMeBU_20_F0DCWUZMQZgAzBgCdK+9iqZQzFUw+=eZ1gePcg6FQ@mail.gmail.com>
From: Casey Bodley <cbodley@citi.umich.edu>
To: Rick Macklem <rmacklem@uoguelph.ca>
Content-Type: text/plain; charset=ISO-8859-1
Cc: "J. Bruce Fields" <bfields@fieldses.org>, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jan 2012 16:48:26 -0000

On Fri, Jan 27, 2012 at 11:40 AM, Rick Macklem <rmacklem@uoguelph.ca> wrote:
> Casey Bodley wrote:
>> On Fri, Jan 27, 2012 at 10:51 AM, Rick Macklem <rmacklem@uoguelph.ca>
>> wrote:
>> > J. Bruce Fields wrote:
>> >> On Thu, Jan 26, 2012 at 09:07:29PM -0500, Rick Macklem wrote:
>> >> > David Noveck wrote:
>> >> > > I've just been reading the spec about this, and what is
>> >> > > actually
>> >> > > in
>> >> > > RFCs 3530 and 5661 about this is less clear than what I
>> >> > > (thought
>> >> > > I)
>> >> > > remembered. Bad sign :-(.
>> >> > >
>> >> > > The issue is that that the server has the ability to keep
>> >> > > delegations
>> >> > > across client reboot, which is a good thing in the exciting
>> >> > > world
>> >> > > of
>> >> > > persistent caching using flash, but there is no way to
>> >> > > indicate,
>> >> > > when
>> >> > > you get the delegation, whether it merits this persistent
>> >> > > treatment.
>> >> > >
>> >> > I don't quite understand this. If the client reboots, the server
>> >> > (which
>> >> > I will presume has not crashed/rebooted) will find this out when
>> >> > the
>> >> > client does a fresh SetClientID/confirm. At that point, I believe
>> >> > the
>> >> > client is expected to hold onto "old delegations" for that
>> >> > client,
>> >> > so
>> >> > they can be recovered by the client via CLAIM_DELEGATE_PREV. (I
>> >> > also
>> >> > don't see any indication that this is an "optional feature", so a
>> >> > server
>> >> > that doesn't implement this doesn't conform to RFC3530, imho.)
>> >>
>> >> "A server MAY support a claim type of CLAIM_DELEGATE_PREV"
>> >>
>> > Oops, sorry. My mistake. You are correct. The above clearly
>> > indicates that
>> > it is optional. (I should have taken a look at the RFC before I
>> > replied. I
>> > had never noticed that.)
>> >
>> >> > The place where I can see a "hint from the client" as being
>> >> > useful
>> >> > would
>> >> > be if the client's lease expired, due to it taking too long to
>> >> > reboot.
>> >>
>> >> I guess I was assuming that would be the normal case.
>> >>
>> > Yep.
>> >
>> > Actually, since CLAIM_DELEGATE_PREV is optional, it would be nice if
>> > the client knew that
>> > so that it could decide whether or not to cache the file/delegation
>> > in
>> > stable storage or not.
>> >
>> > Although this sounds a little scary...
>> > Maybe a client could try a CLAIM_DELEGATE_PREV for some file
>> > in the mount point, after it did the SetClientConfirm. If it gets
>> > a NFS4ERR_NOTSUPP reply, it would assume that CLAIM_DELEGATE_PREV
>> > is not supported by the server. If it gets some other error or
>> > succeeds, getting an open with a delegation, then it could assume
>> > it is supported. (For the succeed case, it could just return the
>> > delegation and close the file. If it does the above with a "file"
>> > it knows it didn't hold a delegation for, this shouldn't happen,
>> > but the client might not always know if it held a delegation for
>> > the file before the crash/reboot.)
>>
>> You might use the fact that DELEGPURGE is required for servers that
>> support CLAIM_DELEGATE_PREV. By sending a DELEGPURGE after client
>> confirm, you can both probe for support and tell the server to clean
>> up any of those delegations that the client doesn't remember.
>>
> I like this idea. Good suggestion.
>
> The only problem I see with it is that there could be a server that
> supports DELEGPURGE (probably just returns NFS_OK without doing anything)
> but not CLAIM_DELEGATE_PREV.

You should be able to rely on this: "The server that supports
CLAIM_DELEGATE_PREV MUST support the DELEGPURGE operation." (RFC3530
section 9.2.1)

>
> However, a reply of NFS4ERR_NOTSUPP tells the client that CLAIM_DELEGATE_PREV
> isn't supported and a successful reply "hints" that it is. And this is
> much simpler and safer than what I suggested.
>
> rick
>

From bfields@fieldses.org  Fri Jan 27 11:51:37 2012
Return-Path: <bfields@fieldses.org>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B732221F8656 for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 11:51:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.479
X-Spam-Level: 
X-Spam-Status: No, score=-2.479 tagged_above=-999 required=5 tests=[AWL=0.120,  BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DKsvcZ0CzVBR for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 11:51:37 -0800 (PST)
Received: from fieldses.org (fieldses.org [174.143.236.118]) by ietfa.amsl.com (Postfix) with ESMTP id 2B8C421F864C for <nfsv4@ietf.org>; Fri, 27 Jan 2012 11:51:37 -0800 (PST)
Received: from bfields by fieldses.org with local (Exim 4.72) (envelope-from <bfields@fieldses.org>) id 1Rqrpf-000351-Tf; Fri, 27 Jan 2012 14:51:35 -0500
Date: Fri, 27 Jan 2012 14:51:35 -0500
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Casey Bodley <cbodley@citi.umich.edu>
Message-ID: <20120127195135.GA11820@fieldses.org>
References: <CAMeBU_0=5pY2WFqpa2MOiTc_5Yzb6UnpGVXQaLX1N4HeZKSKSw@mail.gmail.com> <1072425060.267777.1327682418424.JavaMail.root@erie.cs.uoguelph.ca> <CAMeBU_20_F0DCWUZMQZgAzBgCdK+9iqZQzFUw+=eZ1gePcg6FQ@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CAMeBU_20_F0DCWUZMQZgAzBgCdK+9iqZQzFUw+=eZ1gePcg6FQ@mail.gmail.com>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: Rick Macklem <rmacklem@uoguelph.ca>, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jan 2012 19:51:37 -0000

On Fri, Jan 27, 2012 at 11:48:25AM -0500, Casey Bodley wrote:
> On Fri, Jan 27, 2012 at 11:40 AM, Rick Macklem <rmacklem@uoguelph.ca> wrote:
> > I like this idea. Good suggestion.
> >
> > The only problem I see with it is that there could be a server that
> > supports DELEGPURGE (probably just returns NFS_OK without doing anything)
> > but not CLAIM_DELEGATE_PREV.
> 
> You should be able to rely on this: "The server that supports
> CLAIM_DELEGATE_PREV MUST support the DELEGPURGE operation." (RFC3530
> section 9.2.1)

Yeah, Rick was just pointing out there's no guarantee of the converse.

--b.

> 
> >
> > However, a reply of NFS4ERR_NOTSUPP tells the client that CLAIM_DELEGATE_PREV
> > isn't supported and a successful reply "hints" that it is. And this is
> > much simpler and safer than what I suggested.
> >
> > rick
> >
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

From david.noveck@emc.com  Fri Jan 27 14:18:46 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EDFFF21F85AF for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 14:18:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.728
X-Spam-Level: 
X-Spam-Status: No, score=-8.728 tagged_above=-999 required=5 tests=[AWL=1.871,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 54LfVb0Oqdzs for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 14:18:45 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id D714A21F859E for <nfsv4@ietf.org>; Fri, 27 Jan 2012 14:18:44 -0800 (PST)
Received: from hop04-l1d11-si04.isus.emc.com (HOP04-L1D11-SI04.isus.emc.com [10.254.111.24]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0RMIVQD016394 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 27 Jan 2012 17:18:36 -0500
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.251]) by hop04-l1d11-si04.isus.emc.com (RSA Interceptor); Fri, 27 Jan 2012 17:18:22 -0500
Received: from mxhub07.corp.emc.com (mxhub07.corp.emc.com [128.222.70.204]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0RMIJMc025983; Fri, 27 Jan 2012 17:18:20 -0500
Received: from mx31a.corp.emc.com ([169.254.1.84]) by mxhub07.corp.emc.com ([128.222.70.204]) with mapi; Fri, 27 Jan 2012 17:18:19 -0500
From: <david.noveck@emc.com>
To: <bfields@fieldses.org>, <cbodley@citi.umich.edu>
Date: Fri, 27 Jan 2012 17:18:18 -0500
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AczdLT/bB+XS3mrYQgGkum4X2l9Q8wADNJIA
Message-ID: <5DEA8DB993B81040A21CF3CB332489F69D737399@MX31A.corp.emc.com>
References: <CAMeBU_0=5pY2WFqpa2MOiTc_5Yzb6UnpGVXQaLX1N4HeZKSKSw@mail.gmail.com> <1072425060.267777.1327682418424.JavaMail.root@erie.cs.uoguelph.ca> <CAMeBU_20_F0DCWUZMQZgAzBgCdK+9iqZQzFUw+=eZ1gePcg6FQ@mail.gmail.com> <20120127195135.GA11820@fieldses.org>
In-Reply-To: <20120127195135.GA11820@fieldses.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: rmacklem@uoguelph.ca, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 27 Jan 2012 22:18:46 -0000

> Yeah, Rick was just pointing out there's no guarantee of the converse.

Yes, but I'm wondering whether there should be such a guarantee/assurance.

Does it make sense for a server to support DELEGPURGE if it doesn't support
CLAIM_DELEGATE_PREV?

My understanding of DELEGPURGE is that it is a way for the client to say
"I'm done recovering delegations (i.e. using CLAIM_DELEGATE_PREV) and so an=
y
that have not been so recovered should be disposed of".  A server that did
not support CLAIM_DELEGATE_PREV would be expected to dispose of all delegat=
ions=20
as soon as STCLIENTID_CONFIRM is done, since the set of delegation that wil=
l=20
not be recovered is identical to the whole set of delegations, since there =
is=20
no way to recover any.

So a client that would like to recover delegations in this case will find o=
ut=20
via getting NOTSUPP when using CLAIM_DELEGATE_PREV.  At that point, the
client should know that DELEGPURGE is not required, and that all such deleg=
ations
are gone.

It is  possible a client has no delegations to recover and thus no occasion=
 to
find out that there is no persistent delegation support.  I can imagine thr=
ee
sorts of servers:=20

1) the server responds NFS_OK as if to say "I have gotten rid of all the=20
   remaining delegations (none) that you asked me to dispose of.  Where's m=
y=20
   tip?"

2) the server responds NOTSUPP as if to say, "I don't hold with this newfan=
gled
   persistent delegations stuff and so there are no delegations to dispose =
of.  Give
   me a break".

3) the Mitt Romney server which sometimes acts like 1) and other times like=
 2).

The spec needn't explicitly disallow 3), but it clearly doesn't make sense.

1) is more polite but I think 2) gives people information that they need wi=
thout
causing any harm so perhaps the spec can embrace the converse implication.

In that case a server would support CLAIM_DELEGATE_PREV iff it supported
DELEGPURGE.=20
  =20
-----Original Message-----
From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of J=
. Bruce Fields
Sent: Friday, January 27, 2012 2:52 PM
To: Casey Bodley
Cc: Rick Macklem; nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV

On Fri, Jan 27, 2012 at 11:48:25AM -0500, Casey Bodley wrote:
> On Fri, Jan 27, 2012 at 11:40 AM, Rick Macklem <rmacklem@uoguelph.ca> wro=
te:
> > I like this idea. Good suggestion.
> >
> > The only problem I see with it is that there could be a server that
> > supports DELEGPURGE (probably just returns NFS_OK without doing anythin=
g)
> > but not CLAIM_DELEGATE_PREV.
>=20
> You should be able to rely on this: "The server that supports
> CLAIM_DELEGATE_PREV MUST support the DELEGPURGE operation." (RFC3530
> section 9.2.1)

Yeah, Rick was just pointing out there's no guarantee of the converse.

--b.

>=20
> >
> > However, a reply of NFS4ERR_NOTSUPP tells the client that CLAIM_DELEGAT=
E_PREV
> > isn't supported and a successful reply "hints" that it is. And this is
> > much simpler and safer than what I suggested.
> >
> > rick
> >
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www.ietf.org/mailman/listinfo/nfsv4


From rmacklem@uoguelph.ca  Fri Jan 27 16:03:55 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 21C0E21F85E0 for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 16:03:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.596
X-Spam-Level: 
X-Spam-Status: No, score=-4.596 tagged_above=-999 required=5 tests=[AWL=-0.997, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id a5Zr8fyrkR3c for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 16:03:54 -0800 (PST)
Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by ietfa.amsl.com (Postfix) with ESMTP id 2FDE021F85DF for <nfsv4@ietf.org>; Fri, 27 Jan 2012 16:03:54 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap8EAAs7I0+DaFvO/2dsb2JhbABEhQuqUIFyAQEBBAEBASBLCwwPEQQBAQECAg0WAwIpHwkIBhOIBKY7kVQEgS+HYQEFAxwEAQsBCAEGBAMDBBCCewUDAwECBwMVAQULBwIBgRYDAQKCJoEWBIg/jFuJK4lA
X-IronPort-AV: E=Sophos;i="4.71,583,1320642000"; d="scan'208";a="157160439"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 27 Jan 2012 19:03:53 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 61333B3F77; Fri, 27 Jan 2012 19:03:53 -0500 (EST)
Date: Fri, 27 Jan 2012 19:03:53 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: david noveck <david.noveck@emc.com>
Message-ID: <220102399.299649.1327709033387.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <5DEA8DB993B81040A21CF3CB332489F69D737399@MX31A.corp.emc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.201]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: bfields@fieldses.org, nfsv4@ietf.org, cbodley@citi.umich.edu
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jan 2012 00:03:55 -0000

David Noveck wrote:
> > Yeah, Rick was just pointing out there's no guarantee of the
> > converse.
> 
> Yes, but I'm wondering whether there should be such a
> guarantee/assurance.
> 
> Does it make sense for a server to support DELEGPURGE if it doesn't
> support
> CLAIM_DELEGATE_PREV?
> 
> My understanding of DELEGPURGE is that it is a way for the client to
> say
> "I'm done recovering delegations (i.e. using CLAIM_DELEGATE_PREV) and
> so any
> that have not been so recovered should be disposed of". A server that
> did
> not support CLAIM_DELEGATE_PREV would be expected to dispose of all
> delegations
> as soon as STCLIENTID_CONFIRM is done, since the set of delegation
> that will
> not be recovered is identical to the whole set of delegations, since
> there is
> no way to recover any.
> 
> So a client that would like to recover delegations in this case will
> find out
> via getting NOTSUPP when using CLAIM_DELEGATE_PREV. At that point, the
> client should know that DELEGPURGE is not required, and that all such
> delegations
> are gone.
> 
> It is possible a client has no delegations to recover and thus no
> occasion to
> find out that there is no persistent delegation support. I can imagine
> three
> sorts of servers:
> 
> 1) the server responds NFS_OK as if to say "I have gotten rid of all
> the
> remaining delegations (none) that you asked me to dispose of. Where's
> my
> tip?"
> 
> 2) the server responds NOTSUPP as if to say, "I don't hold with this
> newfangled
> persistent delegations stuff and so there are no delegations to
> dispose of. Give
> me a break".
> 
> 3) the Mitt Romney server which sometimes acts like 1) and other times
> like 2).
> 
> The spec needn't explicitly disallow 3), but it clearly doesn't make
> sense.
> 
> 1) is more polite but I think 2) gives people information that they
> need without
> causing any harm so perhaps the spec can embrace the converse
> implication.
> 
> In that case a server would support CLAIM_DELEGATE_PREV iff it
> supported
> DELEGPURGE.
> 
I think this would be nice. Maybe if no extant server does 1), it could
be changed for 3530bis?

Btw, theoretically the FreeBSD server supports both DELEGPURGE and
CLAIM_DELEGATE_PREV. I say "theoretically" since I don't believe it
has ever been tested:-)

So, what do other servers do for DELEGPURGE?

rick

> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf
> Of J. Bruce Fields
> Sent: Friday, January 27, 2012 2:52 PM
> To: Casey Bodley
> Cc: Rick Macklem; nfsv4@ietf.org
> Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
> 
> On Fri, Jan 27, 2012 at 11:48:25AM -0500, Casey Bodley wrote:
> > On Fri, Jan 27, 2012 at 11:40 AM, Rick Macklem
> > <rmacklem@uoguelph.ca> wrote:
> > > I like this idea. Good suggestion.
> > >
> > > The only problem I see with it is that there could be a server
> > > that
> > > supports DELEGPURGE (probably just returns NFS_OK without doing
> > > anything)
> > > but not CLAIM_DELEGATE_PREV.
> >
> > You should be able to rely on this: "The server that supports
> > CLAIM_DELEGATE_PREV MUST support the DELEGPURGE operation." (RFC3530
> > section 9.2.1)
> 
> Yeah, Rick was just pointing out there's no guarantee of the converse.
> 
> --b.
> 
> >
> > >
> > > However, a reply of NFS4ERR_NOTSUPP tells the client that
> > > CLAIM_DELEGATE_PREV
> > > isn't supported and a successful reply "hints" that it is. And
> > > this is
> > > much simpler and safer than what I suggested.
> > >
> > > rick
> > >
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

From bfields@fieldses.org  Fri Jan 27 16:16:14 2012
Return-Path: <bfields@fieldses.org>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 28CCF21F85E0 for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 16:16:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.499
X-Spam-Level: 
X-Spam-Status: No, score=-2.499 tagged_above=-999 required=5 tests=[AWL=0.100,  BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cGmR2U-bYO7O for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 16:16:13 -0800 (PST)
Received: from fieldses.org (fieldses.org [174.143.236.118]) by ietfa.amsl.com (Postfix) with ESMTP id ADC6221F85C7 for <nfsv4@ietf.org>; Fri, 27 Jan 2012 16:16:13 -0800 (PST)
Received: from bfields by fieldses.org with local (Exim 4.72) (envelope-from <bfields@fieldses.org>) id 1Rqvxj-0004Dp-VM; Fri, 27 Jan 2012 19:16:11 -0500
Date: Fri, 27 Jan 2012 19:16:11 -0500
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Rick Macklem <rmacklem@uoguelph.ca>
Message-ID: <20120128001611.GA12708@fieldses.org>
References: <5DEA8DB993B81040A21CF3CB332489F69D737399@MX31A.corp.emc.com> <220102399.299649.1327709033387.JavaMail.root@erie.cs.uoguelph.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <220102399.299649.1327709033387.JavaMail.root@erie.cs.uoguelph.ca>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: nfsv4@ietf.org, cbodley@citi.umich.edu
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jan 2012 00:16:14 -0000

On Fri, Jan 27, 2012 at 07:03:53PM -0500, Rick Macklem wrote:
> I think this would be nice. Maybe if no extant server does 1), it could
> be changed for 3530bis?
> 
> Btw, theoretically the FreeBSD server supports both DELEGPURGE and
> CLAIM_DELEGATE_PREV. I say "theoretically" since I don't believe it
> has ever been tested:-)
> 
> So, what do other servers do for DELEGPURGE?

It's not supported, on Linux.  (And CLAIM_DELEGATE_PREV opens also get
NOTSUPP, of course.)

--b.

From rmacklem@uoguelph.ca  Fri Jan 27 16:31:21 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 691E921F85A5 for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 16:31:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.524
X-Spam-Level: 
X-Spam-Status: No, score=-4.524 tagged_above=-999 required=5 tests=[AWL=-0.925, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id W3gS+gF0NaBF for <nfsv4@ietfa.amsl.com>; Fri, 27 Jan 2012 16:31:20 -0800 (PST)
Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by ietfa.amsl.com (Postfix) with ESMTP id 9FE1C21F85A3 for <nfsv4@ietf.org>; Fri, 27 Jan 2012 16:31:20 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EAIBAI0+DaFvO/2dsb2JhbABEhQuqUIFyAQEBAwEBAQEgSwsbGAICDRkCKTAGE4d8CKZBkVMEgS+HYQEFAxwEAQsBCAEGBAMDBBCCewUDAwECBwMVAQULBwIBgRaCLIEWBIg/jFuJK4lA
X-IronPort-AV: E=Sophos;i="4.71,583,1320642000"; d="scan'208";a="157162416"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 27 Jan 2012 19:31:20 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 181A9B3F8E; Fri, 27 Jan 2012 19:31:20 -0500 (EST)
Date: Fri, 27 Jan 2012 19:31:20 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: "J. Bruce Fields" <bfields@fieldses.org>
Message-ID: <417699187.300098.1327710680028.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <20120127163815.GA10315@fieldses.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.203]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Jan 2012 00:31:21 -0000

J. Bruce Fields wrote:
> On Fri, Jan 27, 2012 at 10:51:06AM -0500, Rick Macklem wrote:
> > Actually, since CLAIM_DELEGATE_PREV is optional, it would be nice if
> > the client knew that
> > so that it could decide whether or not to cache the file/delegation
> > in
> > stable storage or not.
> 
> Couldn't a persistent data cache turn out to be useful even in the
> absence of any delegation?
> 
Maybe, but I haven't looked at it? 

Packrats was intended for a fairly specific case, which
was better performance over WANs. For the WAN case, I didn't want the
client waiting for a lot of RPC replies, since the RPC RTT is much larger.
Without a delegation, coherency checks (Getattr of the change attribute)
need to be done frequently, along with Opens and write backs upon Close,
and I wanted to avoid those "synchronous" RPCs. (By "synchronous" I mean
RPCs where the client has to wait for the RPC reply before the related system
call can complete.)

A typical scenario I envision would be:
- Working on a document (a few files of well under a Gbyte) on a your laptop
  for a couple of hours when "on the road". Since no one else would be accessing
  these files, there's a pretty good chance the client will get a write delegation
  (at least for 4.1, where there doesn't have to be a separate working callback path).
  Packrat threads would then copy the entire file to the local disk cache. After
  that copy completes, the client would only have to keep the lease valid, where
  RRT doesn't matter. At the end of the session, the changes would be written back
  during the "umount", before the delegations gets returned.
  A record of the delegation in the local disk cache (not yet implemented, so it is
  just an empty file at this time:-), could be used to "hopefully" re-acquire the
  delegation via CLAIM_DELEGATE_PREV if the laptop crashes or gets network
  partitioned for long enough that the lease expires and the delegation is lost.
  (Admittedly, if servers retain the delegation as in a "courtesy lock", then the
   CLAIM_DELEGATE_PREV isn't needed for the "network partition" case.)

Packrats also waits a long time to write changes back. Unless the delegation
is returned (recalled by the server or LRU replaced when there are more than
20000 delegations), it currently only does a write back when the file system
is unmounted. (As such, "umount" can take many seconds with the current
implementation. I did say it was "experimental".:-) Although I feel write back
needs to be done more agressively than the above, I don't want to be forced to
do so upon Close and only after long enough that it is unlikely that it is a
temporary file that will soon be removed. (Removal before write back avoids the
write back, since the file data is simply discarded.)

Probably way too long winded, but just in case you were curious, rick

> > Although this sounds a little scary...
> > Maybe a client could try a CLAIM_DELEGATE_PREV for some file
> > in the mount point, after it did the SetClientConfirm. If it gets
> > a NFS4ERR_NOTSUPP reply, it would assume that CLAIM_DELEGATE_PREV
> > is not supported by the server. If it gets some other error or
> > succeeds, getting an open with a delegation, then it could assume
> > it is supported. (For the succeed case, it could just return the
> > delegation and close the file. If it does the above with a "file"
> > it knows it didn't hold a delegation for, this shouldn't happen,
> > but the client might not always know if it held a delegation for
> > the file before the crash/reboot.)
> 
> Also, the protocol trusts clients to only reclaim delegations it held
> before, so if it succeeds when it shouldn't have you could end up
> denying some other client some state that it shouldn't be able to
> reclaim.
> 
> So you'd have to somehow cook up a CLAIM_DELEGATE_PREV that would be
> guaranteed to fail, and then hope that the server chooses to return
> the
> NOTSUPP error in preference to any other.
> 
> Doesn't sound like something you'd want to rely on.
> 
> --b.
> 
> >
> > Sorry about the noise w.r.t. it not being optional, rick
> >
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

From bfields@fieldses.org  Mon Jan 30 05:48:22 2012
Return-Path: <bfields@fieldses.org>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9B55921F85FD for <nfsv4@ietfa.amsl.com>; Mon, 30 Jan 2012 05:48:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.584
X-Spam-Level: 
X-Spam-Status: No, score=-1.584 tagged_above=-999 required=5 tests=[AWL=-0.844, BAYES_20=-0.74]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CJ-HkJ-emJ+b for <nfsv4@ietfa.amsl.com>; Mon, 30 Jan 2012 05:48:22 -0800 (PST)
Received: from fieldses.org (fieldses.org [174.143.236.118]) by ietfa.amsl.com (Postfix) with ESMTP id 2FC7321F8682 for <nfsv4@ietf.org>; Mon, 30 Jan 2012 05:48:22 -0800 (PST)
Received: from bfields by fieldses.org with local (Exim 4.72) (envelope-from <bfields@fieldses.org>) id 1Rrram-0007x6-El; Mon, 30 Jan 2012 08:48:20 -0500
Date: Mon, 30 Jan 2012 08:48:20 -0500
From: "J. Bruce Fields" <bfields@fieldses.org>
To: Rick Macklem <rmacklem@uoguelph.ca>
Message-ID: <20120130134820.GA30477@fieldses.org>
References: <20120127163815.GA10315@fieldses.org> <417699187.300098.1327710680028.JavaMail.root@erie.cs.uoguelph.ca>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <417699187.300098.1327710680028.JavaMail.root@erie.cs.uoguelph.ca>
User-Agent: Mutt/1.5.20 (2009-06-14)
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jan 2012 13:48:22 -0000

On Fri, Jan 27, 2012 at 07:31:20PM -0500, Rick Macklem wrote:
> Packrats also waits a long time to write changes back. Unless the delegation
> is returned (recalled by the server or LRU replaced when there are more than
> 20000 delegations), it currently only does a write back when the file system
> is unmounted. (As such, "umount" can take many seconds with the current
> implementation. I did say it was "experimental".:-) Although I feel write back
> needs to be done more agressively than the above, I don't want to be forced to
> do so upon Close and only after long enough that it is unlikely that it is a
> temporary file that will soon be removed. (Removal before write back avoids the
> write back, since the file data is simply discarded.)

You can skip flushing on close, but I don't think it's safe to do so on
sync.

Data that's been sync'd is supposed to survive a crash, and counting on
a write delegation for that sounds iffy.  Even with a server that's
generous with "courtesy" locks and supports CLAIM_DELEGATE_PREV, there's
a sufficiently long network partition or reboot could still easily lose
you your delegation.

And I think applications tend to sync a lot, don't they?

--b.

From rmacklem@uoguelph.ca  Mon Jan 30 07:33:16 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 352C621F86BE for <nfsv4@ietfa.amsl.com>; Mon, 30 Jan 2012 07:33:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.463
X-Spam-Level: 
X-Spam-Status: No, score=-4.463 tagged_above=-999 required=5 tests=[AWL=-0.864, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1TmLvRSR4U8c for <nfsv4@ietfa.amsl.com>; Mon, 30 Jan 2012 07:33:15 -0800 (PST)
Received: from esa-jnhn.mail.uoguelph.ca (esa-jnhn.mail.uoguelph.ca [131.104.91.44]) by ietfa.amsl.com (Postfix) with ESMTP id 74A9821F86BB for <nfsv4@ietf.org>; Mon, 30 Jan 2012 07:33:15 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EABu4Jk+DaFvO/2dsb2JhbABDhQuqUYFyAQEBBAEBASBJAggDGxgCAg0ZAikwBhOIBaZskTwEgS+HDgEEAx0DBAEBDQEIAQUJBgMNgwICBwMDBAYGEAMKAoEDgjCBFgSIP4xbiSyJQw
X-IronPort-AV: E=Sophos;i="4.71,592,1320642000"; d="scan'208";a="157417361"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-jnhn-pri.mail.uoguelph.ca with ESMTP; 30 Jan 2012 10:32:50 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 91FD1B3F2D; Mon, 30 Jan 2012 10:32:50 -0500 (EST)
Date: Mon, 30 Jan 2012 10:32:50 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: "J. Bruce Fields" <bfields@fieldses.org>
Message-ID: <887643030.377358.1327937570573.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <20120130134820.GA30477@fieldses.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.202]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jan 2012 15:33:16 -0000

J. Bruce Fields wrote:
> On Fri, Jan 27, 2012 at 07:31:20PM -0500, Rick Macklem wrote:
> > Packrats also waits a long time to write changes back. Unless the
> > delegation
> > is returned (recalled by the server or LRU replaced when there are
> > more than
> > 20000 delegations), it currently only does a write back when the
> > file system
> > is unmounted. (As such, "umount" can take many seconds with the
> > current
> > implementation. I did say it was "experimental".:-) Although I feel
> > write back
> > needs to be done more agressively than the above, I don't want to be
> > forced to
> > do so upon Close and only after long enough that it is unlikely that
> > it is a
> > temporary file that will soon be removed. (Removal before write back
> > avoids the
> > write back, since the file data is simply discarded.)
> 
> You can skip flushing on close, but I don't think it's safe to do so
> on
> sync.
> 
> Data that's been sync'd is supposed to survive a crash, and counting
> on
> a write delegation for that sounds iffy. Even with a server that's
> generous with "courtesy" locks and supports CLAIM_DELEGATE_PREV,
> there's
> a sufficiently long network partition or reboot could still easily
> lose
> you your delegation.
> 
> And I think applications tend to sync a lot, don't they?
> 
Well, in general I think I agree. For Packrats, a copy of the entire file
exists in a directory on the client's local disk. As such, loss of the
delegation and/or a client crash/reboot doesn't mean loss of the file
changes.

Unfortunately, without the delegation there is no guarantee that another
client hasn't modified the file. So, the tradeoff is "re-open the file
and write the changes back, running the risk of overwriting another client's
changes" or "losing a significant part of the performance gain by doing the
writeback upon sync". Since files being concurrently written by multiple
clients is a fairly rare occurrence, my current thinking is that doing
the "re-open..." is good enough to optionally allow. (Packrats will only
be enabled optionally and write-back upon sync could also be optional,
although too many options just confuse users, so...)

Good point, though. I think I'll implement a sysctl to enable/disable
writeback upon sync and do a bit of performance comparison to see how
much effect it has.

rick

> --b.
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

From david.noveck@emc.com  Mon Jan 30 08:18:23 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4783E21F8642 for <nfsv4@ietfa.amsl.com>; Mon, 30 Jan 2012 08:18:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.898
X-Spam-Level: 
X-Spam-Status: No, score=-8.898 tagged_above=-999 required=5 tests=[AWL=1.701,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SJiHAEd4hrt7 for <nfsv4@ietfa.amsl.com>; Mon, 30 Jan 2012 08:18:22 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id 682A721F863C for <nfsv4@ietf.org>; Mon, 30 Jan 2012 08:18:21 -0800 (PST)
Received: from hop04-l1d11-si03.isus.emc.com (HOP04-L1D11-SI03.isus.emc.com [10.254.111.23]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0UGIETm025342 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Jan 2012 11:18:15 -0500
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.129]) by hop04-l1d11-si03.isus.emc.com (RSA Interceptor); Mon, 30 Jan 2012 11:17:48 -0500
Received: from mxhub29.corp.emc.com (mxhub29.corp.emc.com [128.222.70.169]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0UGHm4V011921; Mon, 30 Jan 2012 11:17:48 -0500
Received: from mx31a.corp.emc.com ([169.254.1.84]) by mxhub29.corp.emc.com ([128.222.70.169]) with mapi; Mon, 30 Jan 2012 11:17:48 -0500
From: <david.noveck@emc.com>
To: <bfields@fieldses.org>, <rmacklem@uoguelph.ca>
Date: Mon, 30 Jan 2012 11:17:47 -0500
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AczfVeAqaqMIDtjIRxS33FnWOcdPqgADY8pg
Message-ID: <5DEA8DB993B81040A21CF3CB332489F69D737484@MX31A.corp.emc.com>
References: <20120127163815.GA10315@fieldses.org> <417699187.300098.1327710680028.JavaMail.root@erie.cs.uoguelph.ca> <20120130134820.GA30477@fieldses.org>
In-Reply-To: <20120130134820.GA30477@fieldses.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jan 2012 16:18:23 -0000

> You can skip flushing on close, but I don't think it's safe to do so on
> sync.

It depends what "flush" means in this context (or do I mean "these=20
contexts"?).

Let's say:
  =20
   pflush -- written to some reasonably reliable (but not necessarily=20
             totally reliable) persistent storage.
   sflush -- written to a server where it is at least as safe as with=20
             pflush but where the changes are visible to anyone who=20
             wants to read the file.

I think these contexts are "interesting", precisely because=20
pflush !=3D sflush.

> Data that's been sync'd is supposed to survive a crash,
=20
but not a head-crash or for SSD's an omigod-even-with-all-that-wear-
leveling-it-can-still-wear-out event.

> and counting on a write delegation for that sounds iffy. =20

Somewhere between iffy and insane.

> Even with a server that's
> generous with "courtesy" locks and supports CLAIM_DELEGATE_PREV, there's
> a sufficiently long network partition or reboot could still easily lose
> you your delegation.

In the courtesy locks case, a conflicting open can cause loss of the lock/
delegation.  So if you hold modified data but do not actually write
without a lock/delegation, you have two sorts of situations:

If the other open is for read, he will either see the old (previous sflush)
or the new version but not something halfway between.  You don't
get the normal close-to-open semantic guarantee that close normally gets
you, that people will se the new version but presumably by waking this
approach, you've waived that.

The case in which you lose the delegation in the middle of writing changes
is even more "interesting".

The case in which you lose your lock because of conflicting open for write
will be caught if you check the change attribute when you re-establish=20
(rather than reclaim) a delegation.  The only thing to do is get the user=20
involved trying to merge changes to the file.=20

> And I think applications tend to sync a lot, don't they?

Which means that if sync implies sflush and the server is many=20
light-milliseconds away, even with the best possible network=20
connection.  One light-ms equals 200 miles, but with
RPC's you have to figure one ms of latency for every 100 miles.

-----Original Message-----
From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of J=
. Bruce Fields
Sent: Monday, January 30, 2012 8:48 AM
To: Rick Macklem
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV

On Fri, Jan 27, 2012 at 07:31:20PM -0500, Rick Macklem wrote:
> Packrats also waits a long time to write changes back. Unless the delegat=
ion
> is returned (recalled by the server or LRU replaced when there are more t=
han
> 20000 delegations), it currently only does a write back when the file sys=
tem
> is unmounted. (As such, "umount" can take many seconds with the current
> implementation. I did say it was "experimental".:-) Although I feel write=
 back
> needs to be done more agressively than the above, I don't want to be forc=
ed to
> do so upon Close and only after long enough that it is unlikely that it i=
s a
> temporary file that will soon be removed. (Removal before write back avoi=
ds the
> write back, since the file data is simply discarded.)

You can skip flushing on close, but I don't think it's safe to do so on
sync.

Data that's been sync'd is supposed to survive a crash, and counting on
a write delegation for that sounds iffy.  Even with a server that's
generous with "courtesy" locks and supports CLAIM_DELEGATE_PREV, there's
a sufficiently long network partition or reboot could still easily lose
you your delegation.

And I think applications tend to sync a lot, don't they?

--b.
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www.ietf.org/mailman/listinfo/nfsv4


From david.noveck@emc.com  Mon Jan 30 08:30:20 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DA45D21F86B9 for <nfsv4@ietfa.amsl.com>; Mon, 30 Jan 2012 08:30:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.04
X-Spam-Level: 
X-Spam-Status: No, score=-9.04 tagged_above=-999 required=5 tests=[AWL=1.559,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b-43S2KY8Ut0 for <nfsv4@ietfa.amsl.com>; Mon, 30 Jan 2012 08:30:20 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id E127F21F86F6 for <nfsv4@ietf.org>; Mon, 30 Jan 2012 08:30:19 -0800 (PST)
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0UGU86Z009215 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 30 Jan 2012 11:30:13 -0500
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.251]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor); Mon, 30 Jan 2012 11:29:46 -0500
Received: from mxhub15.corp.emc.com (mxhub15.corp.emc.com [128.222.70.236]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0UGTjA9030106; Mon, 30 Jan 2012 11:29:45 -0500
Received: from mx31a.corp.emc.com ([169.254.1.84]) by mxhub15.corp.emc.com ([128.222.70.236]) with mapi; Mon, 30 Jan 2012 11:29:45 -0500
From: <david.noveck@emc.com>
To: <rmacklem@uoguelph.ca>, <bfields@fieldses.org>
Date: Mon, 30 Jan 2012 11:29:44 -0500
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AczdVJGbDBXdka/aR3GaJNxkRIfR8AAq8pSw
Message-ID: <5DEA8DB993B81040A21CF3CB332489F69D737491@MX31A.corp.emc.com>
References: <20120127163815.GA10315@fieldses.org> <417699187.300098.1327710680028.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <417699187.300098.1327710680028.JavaMail.root@erie.cs.uoguelph.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jan 2012 16:30:21 -0000

Thanks for the discussion everybody.

So here is my proposal for clarification/corrections that I'd like the=20
group to consider:
   =20
    Explicitly state DELEGPURGE supported iff CLAIM_DELEGATE_PREV is
    supported.

    CLAIM_DELEGATE_PREV is primarily to deal with the case in which the=20
    client (only) restarts.

    When the server indicates support of CLAIM_DELEGATE_PREV (implicitly)
    by returning NFS_OK to DELEGPURGE, a client with a write delegation,
    use write-back caching for data to be written to the server, deferring=
=20
    the write-back, until such time as the delegation is recalled, possibly
    after intervening client restarts.  Similarly, when the server indicate=
s
    support of CLAIM_DELEGATE_PREV, a client with a read delegation and
    an open-for-write subordinate to that delegation, may be sure of the=20
    integrity of its persistently cached copy of the file after a client=20
    restart without specific verification of the change attribute.

    Case in which you have a series of client and server failures where
    there is no restart of both at the same time, are dealt with via a
    combination of CLAIM_DELEGATE_PREV and CLAIM_DELEGATE_CUR reclaims. =20
    Persistent storage is needed only on the client.  For each server=20
    failure, a CLAIM_DELEGATE_CUR reclaim is done, while for each client=20
    restart, CLAIM_DELEGATE_PREV reclaim is done.

    To deal with the possibility of simultaneous failure of client and=20
    server (power outages, etc.), the server MAY persistently store=20
    delegation information so that it can respond to a CLAIM_DELEGATE_PREV=
=20
    reclaim request which it receives from a restarting client.  A server=20
    is not required to store this information, but if it does do so, it s
    should do so for write delegations and for read delegations, during the=
=20
    pendency of which (across multiple client and/or server instances), som=
e=20
    open-for-write was done as part of delegation. When the space to=20
    persistently record such information is limited, server should recall=20
    delegations in this class in preference to keeping them active without=
=20
    persistent storage recording.

    TBD: Review the "edge condition" text in light of persistent delegation=
s.

Comments/corrections appreciated.=20

-----Original Message-----
From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of R=
ick Macklem
Sent: Friday, January 27, 2012 7:31 PM
To: J. Bruce Fields
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV

J. Bruce Fields wrote:
> On Fri, Jan 27, 2012 at 10:51:06AM -0500, Rick Macklem wrote:
> > Actually, since CLAIM_DELEGATE_PREV is optional, it would be nice if
> > the client knew that
> > so that it could decide whether or not to cache the file/delegation
> > in
> > stable storage or not.
>=20
> Couldn't a persistent data cache turn out to be useful even in the
> absence of any delegation?
>=20
Maybe, but I haven't looked at it?=20

Packrats was intended for a fairly specific case, which
was better performance over WANs. For the WAN case, I didn't want the
client waiting for a lot of RPC replies, since the RPC RTT is much larger.
Without a delegation, coherency checks (Getattr of the change attribute)
need to be done frequently, along with Opens and write backs upon Close,
and I wanted to avoid those "synchronous" RPCs. (By "synchronous" I mean
RPCs where the client has to wait for the RPC reply before the related syst=
em
call can complete.)

A typical scenario I envision would be:
- Working on a document (a few files of well under a Gbyte) on a your lapto=
p
  for a couple of hours when "on the road". Since no one else would be acce=
ssing
  these files, there's a pretty good chance the client will get a write del=
egation
  (at least for 4.1, where there doesn't have to be a separate working call=
back path).
  Packrat threads would then copy the entire file to the local disk cache. =
After
  that copy completes, the client would only have to keep the lease valid, =
where
  RRT doesn't matter. At the end of the session, the changes would be writt=
en back
  during the "umount", before the delegations gets returned.
  A record of the delegation in the local disk cache (not yet implemented, =
so it is
  just an empty file at this time:-), could be used to "hopefully" re-acqui=
re the
  delegation via CLAIM_DELEGATE_PREV if the laptop crashes or gets network
  partitioned for long enough that the lease expires and the delegation is =
lost.
  (Admittedly, if servers retain the delegation as in a "courtesy lock", th=
en the
   CLAIM_DELEGATE_PREV isn't needed for the "network partition" case.)

Packrats also waits a long time to write changes back. Unless the delegatio=
n
is returned (recalled by the server or LRU replaced when there are more tha=
n
20000 delegations), it currently only does a write back when the file syste=
m
is unmounted. (As such, "umount" can take many seconds with the current
implementation. I did say it was "experimental".:-) Although I feel write b=
ack
needs to be done more agressively than the above, I don't want to be forced=
 to
do so upon Close and only after long enough that it is unlikely that it is =
a
temporary file that will soon be removed. (Removal before write back avoids=
 the
write back, since the file data is simply discarded.)

Probably way too long winded, but just in case you were curious, rick

> > Although this sounds a little scary...
> > Maybe a client could try a CLAIM_DELEGATE_PREV for some file
> > in the mount point, after it did the SetClientConfirm. If it gets
> > a NFS4ERR_NOTSUPP reply, it would assume that CLAIM_DELEGATE_PREV
> > is not supported by the server. If it gets some other error or
> > succeeds, getting an open with a delegation, then it could assume
> > it is supported. (For the succeed case, it could just return the
> > delegation and close the file. If it does the above with a "file"
> > it knows it didn't hold a delegation for, this shouldn't happen,
> > but the client might not always know if it held a delegation for
> > the file before the crash/reboot.)
>=20
> Also, the protocol trusts clients to only reclaim delegations it held
> before, so if it succeeds when it shouldn't have you could end up
> denying some other client some state that it shouldn't be able to
> reclaim.
>=20
> So you'd have to somehow cook up a CLAIM_DELEGATE_PREV that would be
> guaranteed to fail, and then hope that the server chooses to return
> the
> NOTSUPP error in preference to any other.
>=20
> Doesn't sound like something you'd want to rely on.
>=20
> --b.
>=20
> >
> > Sorry about the noise w.r.t. it not being optional, rick
> >
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www.ietf.org/mailman/listinfo/nfsv4


From Trond.Myklebust@netapp.com  Mon Jan 30 11:35:47 2012
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC57C21F8665 for <nfsv4@ietfa.amsl.com>; Mon, 30 Jan 2012 11:35:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.449
X-Spam-Level: 
X-Spam-Status: No, score=-10.449 tagged_above=-999 required=5 tests=[AWL=0.150, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tBo2KtxD2AWv for <nfsv4@ietfa.amsl.com>; Mon, 30 Jan 2012 11:35:42 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id C91EF21F863B for <nfsv4@ietf.org>; Mon, 30 Jan 2012 11:35:42 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,592,1320652800"; d="scan'208";a="620928209"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 30 Jan 2012 11:35:42 -0800
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q0UJZgBK024063; Mon, 30 Jan 2012 11:35:42 -0800 (PST)
Received: from VMWEXCEHT03-PRD.hq.netapp.com ([10.106.76.241]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Mon, 30 Jan 2012 11:35:37 -0800
Received: from SACEXCMBX04-PRD.hq.netapp.com ([169.254.6.193]) by vmwexceht03-prd.hq.netapp.com ([10.106.76.241]) with mapi id 14.01.0355.002; Mon, 30 Jan 2012 11:35:19 -0800
From: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
To: "david.noveck@emc.com" <david.noveck@emc.com>
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AQHM34ZW9OTQu65Y9Ua1MIK3xUl9MQ==
Date: Mon, 30 Jan 2012 19:35:36 +0000
Message-ID: <1327952135.4090.24.camel@lade.trondhjem.org>
References: <20120127163815.GA10315@fieldses.org> <417699187.300098.1327710680028.JavaMail.root@erie.cs.uoguelph.ca> <5DEA8DB993B81040A21CF3CB332489F69D737491@MX31A.corp.emc.com>
In-Reply-To: <5DEA8DB993B81040A21CF3CB332489F69D737491@MX31A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.104.60.116]
Content-Type: text/plain; charset="utf-8"
Content-ID: <FE9E9291F069DB40A99F6907C8F51176@tahoe.netapp.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginalArrivalTime: 30 Jan 2012 19:35:37.0610 (UTC) FILETIME=[57A75EA0:01CCDF86]
Cc: "bfields@fieldses.org" <bfields@fieldses.org>, "rmacklem@uoguelph.ca" <rmacklem@uoguelph.ca>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jan 2012 19:35:47 -0000

SGkgRGF2ZSwNCg0KT24gTW9uLCAyMDEyLTAxLTMwIGF0IDExOjI5IC0wNTAwLCBkYXZpZC5ub3Zl
Y2tAZW1jLmNvbSB3cm90ZToNCj4gVGhhbmtzIGZvci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fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fXw0KPiBuZnN2NCBtYWlsaW5nIGxpc3QNCj4gbmZzdjRAaWV0Zi5vcmcNCj4gaHR0cHM6Ly93
d3cuaWV0Zi5vcmcvbWFpbG1hbi9saXN0aW5mby9uZnN2NA0KDQotLSANClRyb25kIE15a2xlYnVz
dA0KTGludXggTkZTIGNsaWVudCBtYWludGFpbmVyDQoNCk5ldEFwcA0KVHJvbmQuTXlrbGVidXN0
QG5ldGFwcC5jb20NCnd3dy5uZXRhcHAuY29tDQoNCg==

From rmacklem@uoguelph.ca  Mon Jan 30 16:55:12 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2A68A11E80F8 for <nfsv4@ietfa.amsl.com>; Mon, 30 Jan 2012 16:55:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.909
X-Spam-Level: 
X-Spam-Status: No, score=-5.909 tagged_above=-999 required=5 tests=[AWL=0.690,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NeuQ+LW9yWaA for <nfsv4@ietfa.amsl.com>; Mon, 30 Jan 2012 16:55:10 -0800 (PST)
Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by ietfa.amsl.com (Postfix) with ESMTP id 7EF8A11E80D9 for <nfsv4@ietf.org>; Mon, 30 Jan 2012 16:55:10 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap8EALw6J0+DaFvO/2dsb2JhbABDhQuqUYFyAQEBAwEBAQEgJiULDA8RBAEBAQICDRYDAikfCQgGE4d8CacfkWWBL4lQAQUCAh0DBAEOAQgFAwMJDYMDAgYFAgQMBg0DCQICcw8PAgGCIYEWBIg/jFuJLIlD
X-IronPort-AV: E=Sophos;i="4.71,592,1320642000"; d="scan'208";a="154376052"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 30 Jan 2012 19:55:09 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 6E808B3F7F; Mon, 30 Jan 2012 19:55:09 -0500 (EST)
Date: Mon, 30 Jan 2012 19:55:09 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Message-ID: <1885654529.431554.1327971309436.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <1327952135.4090.24.camel@lade.trondhjem.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.201]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: bfields@fieldses.org, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 00:55:12 -0000

Trond Myklebust wrote:
> Hi Dave,
> 
> On Mon, 2012-01-30 at 11:29 -0500, david.noveck@emc.com wrote:
> > Thanks for the discussion everybody.
> >
> > So here is my proposal for clarification/corrections that I'd like
> > the
> > group to consider:
> >
> >     Explicitly state DELEGPURGE supported iff CLAIM_DELEGATE_PREV is
> >     supported.
> >
> >     CLAIM_DELEGATE_PREV is primarily to deal with the case in which
> >     the
> >     client (only) restarts.
> 
> What about the case in which the client/server experience a network
> partition and/or the various edge condition cases in section 8.6.3
> (rfc
> 3530)? Isn't the client going to want to attempt a CLAIM_DELEGATE_PREV
> in order to recover those delegations that the server may have cached
> on
> its behalf?
> 
A client implementation might very well find doing this useful. I don't
see why a client implementation cannot choose to "pretend to crash/reboot"
whenever it likes. A client might very well choose to do the equivalent of
a "crash/reboot" recovery when a server replies NFS4ERR_EXPIRED. From
the server's perspective (or what goes on the wire, if you prefer), it
would be indistinguishable from a client crash/reboot. (I'm assuming that
"pretend to crash/reboot" includes a Setclientid, Setclientidconfirm being
done just before the Opens with CLAIM_DELEGATE_PREV. See below.)

If you are going to allow clients to do CLAIM_DELEGATE_PREV whenever they
feel like and not just right after a Setclientid, Setclientidconfirm, that
probably is a new case that hasn't been thought through before? (Again, see
below.)

> >     When the server indicates support of CLAIM_DELEGATE_PREV
> >     (implicitly)
> >     by returning NFS_OK to DELEGPURGE, a client with a write
> >     delegation,
> >     use write-back caching for data to be written to the server,
> >     deferring
> >     the write-back, until such time as the delegation is recalled,
> >     possibly
> >     after intervening client restarts. Similarly, when the server
> >     indicates
> >     support of CLAIM_DELEGATE_PREV, a client with a read delegation
> >     and
> >     an open-for-write subordinate to that delegation, may be sure of
> >     the
> >     integrity of its persistently cached copy of the file after a
> >     client
> >     restart without specific verification of the change attribute.
> 
> How does the client distinguish between support of CLAIM_DELEGATE_PREV
> and other error conditions? Does the error return NFS4ERR_RECLAIM_BAD
> when it supports CLAIM_DELEGATE_PREV, but cannot satisfy the reclaim
> vs.
> NFS4ERR_INVAL if it simply does not satisfy CLAIM_DELEGATE_PREV?
> 
Wouldn't a server reply NFS4ERR_NOTSUPP if it isn't supported? (Both
Delegourge and Open have this error in their error lists.)

Or, did I not understand what you were asking?

> >     Case in which you have a series of client and server failures
> >     where
> >     there is no restart of both at the same time, are dealt with via
> >     a
> >     combination of CLAIM_DELEGATE_PREV and CLAIM_DELEGATE_CUR
> >     reclaims.
> >     Persistent storage is needed only on the client. For each server
> >     failure, a CLAIM_DELEGATE_CUR reclaim is done, while for each
> >     client
> >     restart, CLAIM_DELEGATE_PREV reclaim is done.
> 
> Since CLAIM_DELEGATE_CUR is for dealing with delegation recalls (i.e.
> converting a delegation into a stateful OPEN), did you actually mean
> CLAIM_PREVIOUS above?
> 
> >     To deal with the possibility of simultaneous failure of client
> >     and
> >     server (power outages, etc.), the server MAY persistently store
> >     delegation information so that it can respond to a
> >     CLAIM_DELEGATE_PREV
> >     reclaim request which it receives from a restarting client. A
> >     server
> >     is not required to store this information, but if it does do so,
> >     it s
> >     should do so for write delegations and for read delegations,
> >     during the
> >     pendency of which (across multiple client and/or server
> >     instances), some
> >     open-for-write was done as part of delegation. When the space to
> >     persistently record such information is limited, server should
> >     recall
> >     delegations in this class in preference to keeping them active
> >     without
> >     persistent storage recording.
> >
> >     TBD: Review the "edge condition" text in light of persistent
> >     delegations.
> 
> I'm also unclear on how CLAIM_DELEGATE_PREV avoids the need for open
> confirmation. The server states that the CLAIM_DELEGATE_PREV attempt
> will only occur after a client reboot, and so open owners are not
> recycled, however after a network partition, the client is not going
> to
> declare a reboot if it held locks prior to the partition (in case the
> server is holding "courtesy locks"). In such a situation, if the
> client
> attempts to CLAIM_DELEGATE_PREV, the server may find itself dealing
> with
> reused open owners.
> 
Hmm, interesting question. I had assumed that CLAIM_DELEGATE_PREV could
only be used immediately after a Setclientid, Setclientidconfirm.
(Exchange_id, Create_session for 4.1, maybe? I haven't read RFC5661
 in detail yet.;-)
The last para of RFC3530 sec. 14.2.34:

   SETCLIENTID_CONFIRM does not establish or renew a lease.  However, if
   SETCLIENTID_CONFIRM removes relevant leased client state, and that
   state does not include existing delegations, the server MUST allow
   the client a period of time no less than the value of lease_time
   attribute, to reclaim, (via the CLAIM_DELEGATE_PREV claim type of the
   OPEN operation) its delegations before removing unreclaimed
   delegations.

seems to say that the client should do the CLAIM_DELEGATE_PREV right after
Setclientidconfirm. (Within a lease duration.) However, it doesn't explicitly
say that a server can't allow them at other times.

> 
> 
> > Comments/corrections appreciated.
> >
> > -----Original Message-----
> > From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On
> > Behalf Of Rick Macklem
> > Sent: Friday, January 27, 2012 7:31 PM
> > To: J. Bruce Fields
> > Cc: nfsv4@ietf.org
> > Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
> >
> > J. Bruce Fields wrote:
> > > On Fri, Jan 27, 2012 at 10:51:06AM -0500, Rick Macklem wrote:
> > > > Actually, since CLAIM_DELEGATE_PREV is optional, it would be
> > > > nice if
> > > > the client knew that
> > > > so that it could decide whether or not to cache the
> > > > file/delegation
> > > > in
> > > > stable storage or not.
> > >
> > > Couldn't a persistent data cache turn out to be useful even in the
> > > absence of any delegation?
> > >
> > Maybe, but I haven't looked at it?
> >
> > Packrats was intended for a fairly specific case, which
> > was better performance over WANs. For the WAN case, I didn't want
> > the
> > client waiting for a lot of RPC replies, since the RPC RTT is much
> > larger.
> > Without a delegation, coherency checks (Getattr of the change
> > attribute)
> > need to be done frequently, along with Opens and write backs upon
> > Close,
> > and I wanted to avoid those "synchronous" RPCs. (By "synchronous" I
> > mean
> > RPCs where the client has to wait for the RPC reply before the
> > related system
> > call can complete.)
> >
> > A typical scenario I envision would be:
> > - Working on a document (a few files of well under a Gbyte) on a
> > your laptop
> >   for a couple of hours when "on the road". Since no one else would
> >   be accessing
> >   these files, there's a pretty good chance the client will get a
> >   write delegation
> >   (at least for 4.1, where there doesn't have to be a separate
> >   working callback path).
> >   Packrat threads would then copy the entire file to the local disk
> >   cache. After
> >   that copy completes, the client would only have to keep the lease
> >   valid, where
> >   RRT doesn't matter. At the end of the session, the changes would
> >   be written back
> >   during the "umount", before the delegations gets returned.
> >   A record of the delegation in the local disk cache (not yet
> >   implemented, so it is
> >   just an empty file at this time:-), could be used to "hopefully"
> >   re-acquire the
> >   delegation via CLAIM_DELEGATE_PREV if the laptop crashes or gets
> >   network
> >   partitioned for long enough that the lease expires and the
> >   delegation is lost.
> >   (Admittedly, if servers retain the delegation as in a "courtesy
> >   lock", then the
> >    CLAIM_DELEGATE_PREV isn't needed for the "network partition"
> >    case.)
> >
> > Packrats also waits a long time to write changes back. Unless the
> > delegation
> > is returned (recalled by the server or LRU replaced when there are
> > more than
> > 20000 delegations), it currently only does a write back when the
> > file system
> > is unmounted. (As such, "umount" can take many seconds with the
> > current
> > implementation. I did say it was "experimental".:-) Although I feel
> > write back
> > needs to be done more agressively than the above, I don't want to be
> > forced to
> > do so upon Close and only after long enough that it is unlikely that
> > it is a
> > temporary file that will soon be removed. (Removal before write back
> > avoids the
> > write back, since the file data is simply discarded.)
> >
> > Probably way too long winded, but just in case you were curious,
> > rick
> >
> > > > Although this sounds a little scary...
> > > > Maybe a client could try a CLAIM_DELEGATE_PREV for some file
> > > > in the mount point, after it did the SetClientConfirm. If it
> > > > gets
> > > > a NFS4ERR_NOTSUPP reply, it would assume that
> > > > CLAIM_DELEGATE_PREV
> > > > is not supported by the server. If it gets some other error or
> > > > succeeds, getting an open with a delegation, then it could
> > > > assume
> > > > it is supported. (For the succeed case, it could just return the
> > > > delegation and close the file. If it does the above with a
> > > > "file"
> > > > it knows it didn't hold a delegation for, this shouldn't happen,
> > > > but the client might not always know if it held a delegation for
> > > > the file before the crash/reboot.)
> > >
> > > Also, the protocol trusts clients to only reclaim delegations it
> > > held
> > > before, so if it succeeds when it shouldn't have you could end up
> > > denying some other client some state that it shouldn't be able to
> > > reclaim.
> > >
> > > So you'd have to somehow cook up a CLAIM_DELEGATE_PREV that would
> > > be
> > > guaranteed to fail, and then hope that the server chooses to
> > > return
> > > the
> > > NOTSUPP error in preference to any other.
> > >
> > > Doesn't sound like something you'd want to rely on.
> > >
> > > --b.
> > >
> > > >
> > > > Sorry about the noise w.r.t. it not being optional, rick
> > > >
> > > _______________________________________________
> > > nfsv4 mailing list
> > > nfsv4@ietf.org
> > > https://www.ietf.org/mailman/listinfo/nfsv4
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
> >
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
> 
> --
> Trond Myklebust
> Linux NFS client maintainer
> 
> NetApp
> Trond.Myklebust@netapp.com
> www.netapp.com
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

From david.noveck@emc.com  Tue Jan 31 07:11:00 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F3FB21F864A for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 07:10:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.16
X-Spam-Level: 
X-Spam-Status: No, score=-9.16 tagged_above=-999 required=5 tests=[AWL=1.439,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id b2Qnx8Lhwz-B for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 07:10:26 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id EBEC121F8644 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 07:10:20 -0800 (PST)
Received: from hop04-l1d11-si01.isus.emc.com (HOP04-L1D11-SI01.isus.emc.com [10.254.111.54]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0VFAB9K022828 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Jan 2012 10:10:13 -0500
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.226]) by hop04-l1d11-si01.isus.emc.com (RSA Interceptor); Tue, 31 Jan 2012 10:10:00 -0500
Received: from mxhub18.corp.emc.com (mxhub18.corp.emc.com [10.254.93.47]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0VF9q7B001978; Tue, 31 Jan 2012 10:09:54 -0500
Received: from mx31a.corp.emc.com ([169.254.1.84]) by mxhub18.corp.emc.com ([10.254.93.47]) with mapi; Tue, 31 Jan 2012 10:09:52 -0500
From: <david.noveck@emc.com>
To: <Trond.Myklebust@netapp.com>
Date: Tue, 31 Jan 2012 10:09:52 -0500
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AQHM34ZW9OTQu65Y9Ua1MIK3xUl9MZYlZOkA
Message-ID: <5DEA8DB993B81040A21CF3CB332489F69D737631@MX31A.corp.emc.com>
References: <20120127163815.GA10315@fieldses.org> <417699187.300098.1327710680028.JavaMail.root@erie.cs.uoguelph.ca> <5DEA8DB993B81040A21CF3CB332489F69D737491@MX31A.corp.emc.com> <1327952135.4090.24.camel@lade.trondhjem.org>
In-Reply-To: <1327952135.4090.24.camel@lade.trondhjem.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: bfields@fieldses.org, rmacklem@uoguelph.ca, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 15:11:00 -0000

To help avoid nested-quotation-ad-infinitum syndrome, let me address all yo=
ur=20
issues here.  Later I'll present an updated proposal with changes keyed to =
which
comments they address

=3D=3D=3D T1 =3D=3D=3D

> What about the case in which the client/server experience a network
> partition=20

I don't believe CLAIM_DELEGATE_PREV is meant to address that, and that if y=
ou
try to make it do so, you will wind up dealing with the fact that it is bad=
 fit
because the CLAIM_DELEGATE_PREV model is that the client restarts (i.e. cha=
nges
the nfs4-client-id instance).

I think 'courtesy locks" is/are meant to address this. =20

> and/or the various edge condition cases in section 8.6.3 (RFC
> 3530)? Isn't the client going to want to attempt a CLAIM_DELEGATE_PREV
> in order to recover those delegations that the server may have cached on
> its behalf?

The edge conditions are those in which the server cannot guarantee that the=
 locks
he would give you are valid.  If he can't give you that guarantee as to loc=
ks,
Why should you trust him regarding delegations?

=3D=3D=3D T2 =3D=3D=3D

> How does the client distinguish between support of CLAIM_DELEGATE_PREV
> and other error conditions? Does the error return NFS4ERR_RECLAIM_BAD
> when it supports CLAIM_DELEGATE_PREV, but cannot satisfy the reclaim vs.
> NFS4ERR_INVAL if it simply does not satisfy CLAIM_DELEGATE_PREV?

I would think NOTSUPP (the operation of reclaiming a persistent delegation =
being
the operation not supported.

LOCK_NOTSUPP makes sense but we would have to expand the definition.

INVAL does say "unsupported argument" but the context/example is something =
the=20
protocol does not support (i. e. READLINK of something not a symbolic link)=
=20
and not something a particular server does not support. =20

=3D=3D=3D T3 =3D=3D=3D=20
> did you actually mean CLAIM_PREVIOUS above?

Duh!  Yes.

>     To deal with the possibility of simultaneous failure of client and=20
>     server (power outages, etc.), the server MAY persistently store=20
>     delegation  =20

=3D=3D=3D=3D T4 =3D=3D=3D=3D

> I'm also unclear on how CLAIM_DELEGATE_PREV avoids the need for open
> confirmation.=20

It doesn't.  Should it?

> The server states that the CLAIM_DELEGATE_PREV attempt
> will only occur after a client reboot, and so open owners are not
> recycled, however after a network partition, the client is not going to
> declare a reboot if it held locks prior to the partition (in case the
> server is holding "courtesy locks").=20

I agree.

> In such a situation,=20

By "such a situation", I take it you mean "after a network partition".
Correct?

> if the client
> attempts to CLAIM_DELEGATE_PREV,=20

Which I think he shouldn't do.

> the server may find itself dealing with
> reused open owners.

Which wouldn't be good.

-----Original Message-----
From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of M=
yklebust, Trond
Sent: Monday, January 30, 2012 2:36 PM
To: Noveck, David
Cc: bfields@fieldses.org; rmacklem@uoguelph.ca; nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV

Hi Dave,

On Mon, 2012-01-30 at 11:29 -0500, david.noveck@emc.com wrote:
> Thanks for the discussion everybody.
>=20
> So here is my proposal for clarification/corrections that I'd like the=20
> group to consider:
>    =20
>     Explicitly state DELEGPURGE supported iff CLAIM_DELEGATE_PREV is
>     supported.
>=20
>     CLAIM_DELEGATE_PREV is primarily to deal with the case in which the=20
>     client (only) restarts.

What about the case in which the client/server experience a network
partition and/or the various edge condition cases in section 8.6.3 (rfc
3530)? Isn't the client going to want to attempt a CLAIM_DELEGATE_PREV
in order to recover those delegations that the server may have cached on
its behalf?

>     When the server indicates support of CLAIM_DELEGATE_PREV (implicitly)
>     by returning NFS_OK to DELEGPURGE, a client with a write delegation,
>     use write-back caching for data to be written to the server, deferrin=
g=20
>     the write-back, until such time as the delegation is recalled, possib=
ly
>     after intervening client restarts.  Similarly, when the server indica=
tes
>     support of CLAIM_DELEGATE_PREV, a client with a read delegation and
>     an open-for-write subordinate to that delegation, may be sure of the=
=20
>     integrity of its persistently cached copy of the file after a client=
=20
>     restart without specific verification of the change attribute.

How does the client distinguish between support of CLAIM_DELEGATE_PREV
and other error conditions? Does the error return NFS4ERR_RECLAIM_BAD
when it supports CLAIM_DELEGATE_PREV, but cannot satisfy the reclaim vs.
NFS4ERR_INVAL if it simply does not satisfy CLAIM_DELEGATE_PREV?

>     Case in which you have a series of client and server failures where
>     there is no restart of both at the same time, are dealt with via a
>     combination of CLAIM_DELEGATE_PREV and CLAIM_DELEGATE_CUR reclaims. =
=20
>     Persistent storage is needed only on the client.  For each server=20
>     failure, a CLAIM_DELEGATE_CUR reclaim is done, while for each client=
=20
>     restart, CLAIM_DELEGATE_PREV reclaim is done.

Since CLAIM_DELEGATE_CUR is for dealing with delegation recalls (i.e.
converting a delegation into a stateful OPEN), did you actually mean
CLAIM_PREVIOUS above?

>     To deal with the possibility of simultaneous failure of client and=20
>     server (power outages, etc.), the server MAY persistently store=20
>     delegation information so that it can respond to a CLAIM_DELEGATE_PRE=
V=20
>     reclaim request which it receives from a restarting client.  A server=
=20
>     is not required to store this information, but if it does do so, it s
>     should do so for write delegations and for read delegations, during t=
he=20
>     pendency of which (across multiple client and/or server instances), s=
ome=20
>     open-for-write was done as part of delegation. When the space to=20
>     persistently record such information is limited, server should recall=
=20
>     delegations in this class in preference to keeping them active withou=
t=20
>     persistent storage recording.
>=20
>     TBD: Review the "edge condition" text in light of persistent delegati=
ons.

I'm also unclear on how CLAIM_DELEGATE_PREV avoids the need for open
confirmation. The server states that the CLAIM_DELEGATE_PREV attempt
will only occur after a client reboot, and so open owners are not
recycled, however after a network partition, the client is not going to
declare a reboot if it held locks prior to the partition (in case the
server is holding "courtesy locks"). In such a situation, if the client
attempts to CLAIM_DELEGATE_PREV, the server may find itself dealing with
reused open owners.



> Comments/corrections appreciated.=20
>=20
> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of=
 Rick Macklem
> Sent: Friday, January 27, 2012 7:31 PM
> To: J. Bruce Fields
> Cc: nfsv4@ietf.org
> Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
>=20
> J. Bruce Fields wrote:
> > On Fri, Jan 27, 2012 at 10:51:06AM -0500, Rick Macklem wrote:
> > > Actually, since CLAIM_DELEGATE_PREV is optional, it would be nice if
> > > the client knew that
> > > so that it could decide whether or not to cache the file/delegation
> > > in
> > > stable storage or not.
> >=20
> > Couldn't a persistent data cache turn out to be useful even in the
> > absence of any delegation?
> >=20
> Maybe, but I haven't looked at it?=20
>=20
> Packrats was intended for a fairly specific case, which
> was better performance over WANs. For the WAN case, I didn't want the
> client waiting for a lot of RPC replies, since the RPC RTT is much larger=
.
> Without a delegation, coherency checks (Getattr of the change attribute)
> need to be done frequently, along with Opens and write backs upon Close,
> and I wanted to avoid those "synchronous" RPCs. (By "synchronous" I mean
> RPCs where the client has to wait for the RPC reply before the related sy=
stem
> call can complete.)
>=20
> A typical scenario I envision would be:
> - Working on a document (a few files of well under a Gbyte) on a your lap=
top
>   for a couple of hours when "on the road". Since no one else would be ac=
cessing
>   these files, there's a pretty good chance the client will get a write d=
elegation
>   (at least for 4.1, where there doesn't have to be a separate working ca=
llback path).
>   Packrat threads would then copy the entire file to the local disk cache=
. After
>   that copy completes, the client would only have to keep the lease valid=
, where
>   RRT doesn't matter. At the end of the session, the changes would be wri=
tten back
>   during the "umount", before the delegations gets returned.
>   A record of the delegation in the local disk cache (not yet implemented=
, so it is
>   just an empty file at this time:-), could be used to "hopefully" re-acq=
uire the
>   delegation via CLAIM_DELEGATE_PREV if the laptop crashes or gets networ=
k
>   partitioned for long enough that the lease expires and the delegation i=
s lost.
>   (Admittedly, if servers retain the delegation as in a "courtesy lock", =
then the
>    CLAIM_DELEGATE_PREV isn't needed for the "network partition" case.)
>=20
> Packrats also waits a long time to write changes back. Unless the delegat=
ion
> is returned (recalled by the server or LRU replaced when there are more t=
han
> 20000 delegations), it currently only does a write back when the file sys=
tem
> is unmounted. (As such, "umount" can take many seconds with the current
> implementation. I did say it was "experimental".:-) Although I feel write=
 back
> needs to be done more agressively than the above, I don't want to be forc=
ed to
> do so upon Close and only after long enough that it is unlikely that it i=
s a
> temporary file that will soon be removed. (Removal before write back avoi=
ds the
> write back, since the file data is simply discarded.)
>=20
> Probably way too long winded, but just in case you were curious, rick
>=20
> > > Although this sounds a little scary...
> > > Maybe a client could try a CLAIM_DELEGATE_PREV for some file
> > > in the mount point, after it did the SetClientConfirm. If it gets
> > > a NFS4ERR_NOTSUPP reply, it would assume that CLAIM_DELEGATE_PREV
> > > is not supported by the server. If it gets some other error or
> > > succeeds, getting an open with a delegation, then it could assume
> > > it is supported. (For the succeed case, it could just return the
> > > delegation and close the file. If it does the above with a "file"
> > > it knows it didn't hold a delegation for, this shouldn't happen,
> > > but the client might not always know if it held a delegation for
> > > the file before the crash/reboot.)
> >=20
> > Also, the protocol trusts clients to only reclaim delegations it held
> > before, so if it succeeds when it shouldn't have you could end up
> > denying some other client some state that it shouldn't be able to
> > reclaim.
> >=20
> > So you'd have to somehow cook up a CLAIM_DELEGATE_PREV that would be
> > guaranteed to fail, and then hope that the server chooses to return
> > the
> > NOTSUPP error in preference to any other.
> >=20
> > Doesn't sound like something you'd want to rely on.
> >=20
> > --b.
> >=20
> > >
> > > Sorry about the noise w.r.t. it not being optional, rick
> > >
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com

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


From Trond.Myklebust@netapp.com  Tue Jan 31 07:32:12 2012
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AF69911E8081 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 07:32:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.47
X-Spam-Level: 
X-Spam-Status: No, score=-10.47 tagged_above=-999 required=5 tests=[AWL=0.129,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id llIYPHE5Vih6 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 07:32:11 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 2BAD521F8601 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 07:32:05 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,596,1320652800"; d="scan'208";a="621169546"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 31 Jan 2012 07:31:49 -0800
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q0VFVmLE015918; Tue, 31 Jan 2012 07:31:49 -0800 (PST)
Received: from SACMVEXC4-PRD.hq.netapp.com ([10.99.115.25]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 31 Jan 2012 07:31:44 -0800
Received: from VMWEXCEHT05-PRD.hq.netapp.com ([10.106.77.35]) by SACMVEXC4-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 31 Jan 2012 07:31:44 -0800
Received: from SACEXCMBX04-PRD.hq.netapp.com ([169.254.6.193]) by vmwexceht05-prd.hq.netapp.com ([10.106.77.35]) with mapi id 14.01.0355.002; Tue, 31 Jan 2012 07:31:44 -0800
From: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
To: Rick Macklem <rmacklem@uoguelph.ca>
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AQHM34ZX9OTQu65Y9Ua1MIK3xUl9MZYmLQSAgAD054A=
Date: Tue, 31 Jan 2012 15:31:42 +0000
Message-ID: <1328023901.4090.70.camel@lade.trondhjem.org>
References: <1885654529.431554.1327971309436.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <1885654529.431554.1327971309436.JavaMail.root@erie.cs.uoguelph.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.104.60.116]
Content-Type: text/plain; charset="utf-8"
Content-ID: <90CD293BCE647B42817BF516062274F9@tahoe.netapp.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginalArrivalTime: 31 Jan 2012 15:31:44.0803 (UTC) FILETIME=[703BF730:01CCE02D]
Cc: "bfields@fieldses.org" <bfields@fieldses.org>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv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DTEFJTV9ERUxFR0FURV9QUkVWIGFsbG93ZWQgaW4gdGhlIGdyYWNlIHBlcmlvZD8gSSB0aGlu
ayBpdA0Kc2hvdWxkIGJlLCBzaW5jZSB0aGUgc2VydmVyIHNob3VsZCBrbm93IHRoYXQgdGhlcmUg
YXJlIG5vIGNvbmZsaWN0cywgYnV0DQppZiBpdCBpc24ndCBhbGxvd2VkIGZvciBzb21lIHJlYXNv
biwgdGhlbiB0aGUgY2xpZW50IHNob3VsZCBiZSBhYmxlIHRvDQpkZWZlciB0aGUgQ0xBSU1fREVM
RUdBVEVfUFJFViBhdHRlbXB0Lg0KDQotLSANClRyb25kIE15a2xlYnVzdA0KTGludXggTkZTIGNs
aWVudCBtYWludGFpbmVyDQoNCk5ldEFwcA0KVHJvbmQuTXlrbGVidXN0QG5ldGFwcC5jb20NCnd3
dy5uZXRhcHAuY29tDQoNCg==

From rmacklem@uoguelph.ca  Tue Jan 31 08:21:28 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0E4A221F8675 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 08:21:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.949
X-Spam-Level: 
X-Spam-Status: No, score=-5.949 tagged_above=-999 required=5 tests=[AWL=0.650,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 57DA5EIIxDyt for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 08:21:27 -0800 (PST)
Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by ietfa.amsl.com (Postfix) with ESMTP id 5F4FE21F8673 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 08:21:26 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EABcUKE+DaFvO/2dsb2JhbABDhQuqWoFyAQEFI1YbGAICDRkCWQavJZF5gS+JYgEFAgIdAwQBDgEIBQMDCQ2DAwIGBQIEDAYNAwkCAnMPDwIBgiGBFgSIQIxgiS6JRA
X-IronPort-AV: E=Sophos;i="4.71,596,1320642000"; d="scan'208";a="154454139"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 31 Jan 2012 11:21:19 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 3553DB3F3F; Tue, 31 Jan 2012 11:21:19 -0500 (EST)
Date: Tue, 31 Jan 2012 11:21:19 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Message-ID: <1476135158.472490.1328026879185.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <1328023901.4090.70.camel@lade.trondhjem.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.203]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: bfields@fieldses.org, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 16:21:28 -0000

Trond Myklebust wrote:
> On Mon, 2012-01-30 at 19:55 -0500, Rick Macklem wrote:
[good stuff snipped for brevity]
> > Wouldn't a server reply NFS4ERR_NOTSUPP if it isn't supported? (Both
> > Delegpurge and Open have this error in their error lists.)
> 
> NFS4ERR_NOTSUPP means "Operation is not supported". I'd interpret that
> to mean that the NFS server doesn't support the OPEN operation.
> 
A few comments here:
1 - A server that doesn't support Open is an "interesting" server.
2 - The following snippet from RFC3530 Sec. 14.2.16 (the Open description)

   If the server can not support these exclusive create semantics,
   possibly because of the requirement to commit the verifier to stable
   storage, it should fail the OPEN request with the error,
   NFS4ERR_NOTSUPP.

   Uses NFS4ERR_NOTSUPP for a particular case of Open, so it doesn't
   indicate Open is not supported "in general".

3 - I think the error returned by Delegpurge is more important than
   what Open returns, since that will be used by the client to
   determine iff CLAIM_DELEGATE_PREV is supported.

However, I agree that this should be clarified, if possible.

[more good stuff snipped for brevity]
> 
> True. Is CLAIM_DELEGATE_PREV allowed in the grace period? I think it
> should be, since the server should know that there are no conflicts,
> but
> if it isn't allowed for some reason, then the client should be able to
> defer the CLAIM_DELEGATE_PREV attempt.
> 
Yes, I don't think it is clear and needs to be clarified. If it is allowed
during Grace, then the error that indicates "not supported" is important,
since the client will want to test to see if it can be done and switch to
using CLAIM_PREVIOUS if not supported.

Btw, another piece of the CLAIM_DELEGATE_PREV puzzle that isn't clear to
me is what the server returns for OPEN4resok.stateid (the open stateid)?
Since CLAIM_DELEGATE_PREV is reclaiming a delegation, it doesn't necessarily
imply acquiring an Open, but since OPEN4resok.stateid is always in the
reply, what should that be?
I can only see 2 answers:
1 - It always replies with an open as well as a delegation. This is
    consistent with the other claim types, but not really what the
    claim type is said to do.
OR
2 - It replies with a special stateid (all 0s or all 1s) to indicate
    that there is no open in the reply, just the delegation.

At the moment I suspect you must assume #1, but maybe #2 makes more sense?

Have fun with it, rick


From Trond.Myklebust@netapp.com  Tue Jan 31 09:43:52 2012
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6ED9E11E80EF for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 09:43:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.486
X-Spam-Level: 
X-Spam-Status: No, score=-10.486 tagged_above=-999 required=5 tests=[AWL=0.112, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K7CJKwso61u6 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 09:43:51 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 05DEA11E8080 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 09:43:51 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,597,1320652800"; d="scan'208";a="621213874"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 31 Jan 2012 09:43:50 -0800
Received: from svlrsexc1-prd.hq.netapp.com (svlrsexc1-prd.hq.netapp.com [10.57.115.30]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q0VHhoux020959; Tue, 31 Jan 2012 09:43:50 -0800 (PST)
Received: from VMWEXCEHT03-PRD.hq.netapp.com ([10.106.76.241]) by svlrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 31 Jan 2012 09:43:46 -0800
Received: from SACEXCMBX04-PRD.hq.netapp.com ([169.254.6.193]) by vmwexceht03-prd.hq.netapp.com ([10.106.76.241]) with mapi id 14.01.0355.002; Tue, 31 Jan 2012 09:43:23 -0800
From: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
To: "david.noveck@emc.com" <david.noveck@emc.com>
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AQHM34ZX9OTQu65Y9Ua1MIK3xUl9MZYnG9MAgAAq/QA=
Date: Tue, 31 Jan 2012 17:43:44 +0000
Message-ID: <1328031824.4090.77.camel@lade.trondhjem.org>
References: <20120127163815.GA10315@fieldses.org> <417699187.300098.1327710680028.JavaMail.root@erie.cs.uoguelph.ca> <5DEA8DB993B81040A21CF3CB332489F69D737491@MX31A.corp.emc.com> <1327952135.4090.24.camel@lade.trondhjem.org> <5DEA8DB993B81040A21CF3CB332489F69D737631@MX31A.corp.emc.com>
In-Reply-To: <5DEA8DB993B81040A21CF3CB332489F69D737631@MX31A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.104.60.116]
Content-Type: text/plain; charset="utf-8"
Content-ID: <FE98D04A259B2D40B381AE1939FD3AAB@tahoe.netapp.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginalArrivalTime: 31 Jan 2012 17:43:46.0001 (UTC) FILETIME=[E1A2DC10:01CCE03F]
Cc: "bfields@fieldses.org" <bfields@fieldses.org>, "rmacklem@uoguelph.ca" <rmacklem@uoguelph.ca>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 17:43:52 -0000

SSB0aGluayBwYXJ0IG9mIG15IGNvbmZ1c2lvbiBzdGVtcyBmcm9tIHRoZSBpc3N1ZSBvZiB3aGV0
aGVyIG9yIG5vdA0KQ0xBSU1fREVMRUdBVEVfUFJFViBkZWxlZ2F0aW9ucyBhcmUgYWxsb3dlZCB0
byBiZSBwZXJzaXN0ZW50IGFjcm9zcw0Kc2VydmVyIHJlYm9vdHMuDQoNCkkgYWdyZWUgdGhhdCBp
ZiB0aGUgZGVsZWdhdGlvbiBpcyBvbmx5IGdyYW50ZWQgdW50aWwgdGhlIHNlcnZlciBkaWVzLA0K
dGhlbiB0aGVyZSBpcyBubyBuZWVkIGZvciBjbGFyaWZpY2F0aW9uIG9uIG1vc3Qgb2YgdGhlIGlz
c3VlcyB0aGF0IEkNCmhhdmUgcmFpc2VkLiBCYXNpY2FsbHksIHRoZSBDTEFJTV9ERUxFR0FURV9Q
UkVWIGlzIHRoZXJlIGluIG9yZGVyIHRvDQplbnN1cmUgdGhhdCB0aGUgY291cnRlc3kgbG9ja3Mg
b2YgdHlwZSAiZGVsZWdhdGlvbiIgc3Vydml2ZSB0aGUgY2xpZW50DQpzZW5kaW5nIGEgU0VUQ0xJ
RU5USUQgd2l0aCBhIHJlYm9vdCBub3RpZmljYXRpb24uDQoNCklmLCBob3dldmVyLCB0aGUgQ0xB
SU1fREVMRUdBVEVfUFJFViBoYXZlIHBlcnNpc3RlbmNlIHByb3BlcnRpZXMgdGhhdA0KZXhjZWVk
IHRob3NlIG9mIGNvdXJ0ZXN5IGxvY2tzLCB0aGVuIEknbSBzdGlsbCBjb25mdXNlZC4uLg0KDQpP
biBUdWUsIDIwMTItMDEtMzEgYXQgMTA6MDkgLTA1MDAsIGRhdmlkLm5vdm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50
IG1haW50YWluZXINCg0KTmV0QXBwDQpUcm9uZC5NeWtsZWJ1c3RAbmV0YXBwLmNvbQ0Kd3d3Lm5l
dGFwcC5jb20NCg0K

From Tom.Haynes@netapp.com  Tue Jan 31 10:27:03 2012
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4276011E80FF for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 10:27:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.499
X-Spam-Level: 
X-Spam-Status: No, score=-10.499 tagged_above=-999 required=5 tests=[AWL=0.100, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8xQ9bWLzXWu5 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 10:27:02 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id D2BD211E807F for <nfsv4@ietf.org>; Tue, 31 Jan 2012 10:27:02 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,597,1320652800"; d="scan'208";a="621226609"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 31 Jan 2012 10:27:02 -0800
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q0VIR2KD028766 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 10:27:02 -0800 (PST)
Received: from VMWEXCEHT02-PRD.hq.netapp.com ([10.106.76.240]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 31 Jan 2012 10:26:56 -0800
Received: from SACEXCMBX04-PRD.hq.netapp.com ([169.254.6.193]) by vmwexceht02-prd.hq.netapp.com ([10.106.76.240]) with mapi id 14.01.0355.002; Tue, 31 Jan 2012 10:26:55 -0800
From: "Haynes, Tom" <Tom.Haynes@netapp.com>
To: nfsv4 <nfsv4@ietf.org>
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AczcVrzVz68FMmLxThqahQHwSR8RMgAhL0yAABkecoAAA6VCAAABpY6AABCFsgAAhg34AAAGfccAACkCxAAABV+sAP//p3oA
Date: Tue, 31 Jan 2012 18:26:55 +0000
Message-ID: <CB4D8E13.10D89%tom.haynes@netapp.com>
In-Reply-To: <1328031824.4090.77.camel@lade.trondhjem.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.14.0.111121
x-originating-ip: [10.106.53.51]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <B7D35F2C4B04FF4B8A8542047BD92553@tahoe.netapp.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 31 Jan 2012 18:26:56.0425 (UTC) FILETIME=[E9A63190:01CCE045]
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 18:27:03 -0000

I keep on seeing references to RFC 3530. Could we instead be quoting
3530bis? That at least gets more eyes on that document and might catch any
mistakes there before we enter last call. Plus, if any changes arise from
this discussion, it will be in that document.



From Tom.Haynes@netapp.com  Tue Jan 31 10:29:46 2012
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DAAB421F853D for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 10:29:46 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.513
X-Spam-Level: 
X-Spam-Status: No, score=-10.513 tagged_above=-999 required=5 tests=[AWL=0.085, BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lXeiQOCFrGv6 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 10:29:46 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 7420321F853B for <nfsv4@ietf.org>; Tue, 31 Jan 2012 10:29:46 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,597,1320652800";  d="scan'208,217";a="621227394"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 31 Jan 2012 10:29:46 -0800
Received: from svlrsexc1-prd.hq.netapp.com (svlrsexc1-prd.hq.netapp.com [10.57.115.30]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q0VITk9g013256 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 10:29:46 -0800 (PST)
Received: from SACMVEXC4-PRD.hq.netapp.com ([10.99.115.25]) by svlrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 31 Jan 2012 10:29:41 -0800
Received: from VMWEXCEHT04-PRD.hq.netapp.com ([10.106.77.34]) by SACMVEXC4-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 31 Jan 2012 10:29:42 -0800
Received: from SACEXCMBX04-PRD.hq.netapp.com ([169.254.6.193]) by vmwexceht04-prd.hq.netapp.com ([10.106.77.34]) with mapi id 14.01.0355.002; Tue, 31 Jan 2012 10:29:41 -0800
From: "Haynes, Tom" <Tom.Haynes@netapp.com>
To: nfsv4 <nfsv4@ietf.org>
Thread-Topic: Volatile file handles
Thread-Index: AQHM4EZLz5v/iM2dR0WlLdxm1QWB3Q==
Date: Tue, 31 Jan 2012 18:29:40 +0000
Message-ID: <CB4D8F33.10D96%tom.haynes@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.14.0.111121
x-originating-ip: [10.106.53.51]
Content-Type: multipart/alternative; boundary="_000_CB4D8F3310D96tomhaynesnetappcom_"
MIME-Version: 1.0
X-OriginalArrivalTime: 31 Jan 2012 18:29:42.0133 (UTC) FILETIME=[4C6B3A50:01CCE046]
Subject: [nfsv4] Volatile file handles
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 18:29:47 -0000

--_000_CB4D8F3310D96tomhaynesnetappcom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Has anyone tried implementing volatile file handles in NFSv4?

I know neither the Linux nor Solaris clients currently have it in there.

In a round about way, if no one implements part of the spec, should we cons=
ider dropping support?


--_000_CB4D8F3310D96tomhaynesnetappcom_
Content-Type: text/html; charset="us-ascii"
Content-ID: <A280C55639A3FB45AB574ED384F2D13A@tahoe.netapp.com>
Content-Transfer-Encoding: quoted-printable

<html>
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
</head>
<body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-lin=
e-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-fami=
ly: Calibri, sans-serif; ">
<div>Has anyone tried implementing volatile file handles in NFSv4?</div>
<div><br>
</div>
<div>I know neither the Linux nor Solaris clients currently have it in ther=
e.</div>
<div><br>
</div>
<div>In a round about way, if no one implements part of the spec, should we=
 consider dropping support?</div>
<div><br>
</div>
</body>
</html>

--_000_CB4D8F3310D96tomhaynesnetappcom_--

From jstarng@us.ibm.com  Tue Jan 31 10:39:28 2012
Return-Path: <jstarng@us.ibm.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8F22C11E810A for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 10:39:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id HaCZUvtUS-J9 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 10:39:28 -0800 (PST)
Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.153]) by ietfa.amsl.com (Postfix) with ESMTP id EC94D11E80FF for <nfsv4@ietf.org>; Tue, 31 Jan 2012 10:39:27 -0800 (PST)
Received: from /spool/local by e35.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <nfsv4@ietf.org> from <jstarng@us.ibm.com>; Tue, 31 Jan 2012 11:39:21 -0700
Received: from d03dlp03.boulder.ibm.com (9.17.202.179) by e35.co.us.ibm.com (192.168.1.135) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted;  Tue, 31 Jan 2012 11:39:18 -0700
Received: from d03relay02.boulder.ibm.com (d03relay02.boulder.ibm.com [9.17.195.227]) by d03dlp03.boulder.ibm.com (Postfix) with ESMTP id 4864119D8052; Tue, 31 Jan 2012 11:39:15 -0700 (MST)
Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay02.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q0VIdEFN174174; Tue, 31 Jan 2012 11:39:15 -0700
Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q0VIdECg026859; Tue, 31 Jan 2012 11:39:14 -0700
Received: from d03nm132.boulder.ibm.com (d03nm132.boulder.ibm.com [9.17.195.172]) by d03av01.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q0VIdEjA026856; Tue, 31 Jan 2012 11:39:14 -0700
In-Reply-To: <CB4D8F33.10D96%tom.haynes@netapp.com>
References: <CB4D8F33.10D96%tom.haynes@netapp.com>
MIME-Version: 1.0
To: "Haynes, Tom" <Tom.Haynes@netapp.com>
X-KeepSent: 994352B0:D55EDFAF-88257996:00663FE5; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.5.1FP5 SHF29 November 12, 2010
Message-ID: <OF994352B0.D55EDFAF-ON88257996.00663FE5-88257996.006675A5@us.ibm.com>
From: Jwu-Shyan Tarng <jstarng@us.ibm.com>
Date: Tue, 31 Jan 2012 10:39:02 -0800
X-MIMETrack: Serialize by Router on D03NM132/03/M/IBM(Release 8.5.1FP2|March 17, 2010) at 01/31/2012 11:39:13, Serialize complete at 01/31/2012 11:39:13
Content-Type: multipart/alternative; boundary="=_alternative 006675A488257996_="
X-Content-Scanned: Fidelis XPS MAILER
x-cbid: 12013118-6148-0000-0000-0000030BE37D
Cc: nfsv4 <nfsv4@ietf.org>, nfsv4-bounces@ietf.org
Subject: Re: [nfsv4] Volatile file handles
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 18:39:28 -0000

This is a multipart message in MIME format.
--=_alternative 006675A488257996_=
Content-Type: text/plain; charset="US-ASCII"

MVS NFS is supporting volatile file handles in NFSv4.


From:   "Haynes, Tom" <Tom.Haynes@netapp.com>
To:     nfsv4 <nfsv4@ietf.org>
Date:   01/31/2012 10:31 AM
Subject:        [nfsv4] Volatile file handles
Sent by:        nfsv4-bounces@ietf.org



Has anyone tried implementing volatile file handles in NFSv4?

I know neither the Linux nor Solaris clients currently have it in there.

In a round about way, if no one implements part of the spec, should we 
consider dropping support?
_______________________________________________
nfsv4 mailing list
nfsv4@ietf.org
https://www.ietf.org/mailman/listinfo/nfsv4


--=_alternative 006675A488257996_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">MVS NFS is supporting </font><font size=2 face="Calibri">volatile
file handles in NFSv4</font><font size=2 face="sans-serif">.<br>
</font>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">&quot;Haynes, Tom&quot;
&lt;Tom.Haynes@netapp.com&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">To: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">nfsv4 &lt;nfsv4@ietf.org&gt;</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Date: &nbsp; &nbsp; &nbsp;
&nbsp;</font><font size=1 face="sans-serif">01/31/2012 10:31 AM</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Subject: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">[nfsv4] Volatile
file handles</font>
<br><font size=1 color=#5f5f5f face="sans-serif">Sent by: &nbsp; &nbsp;
&nbsp; &nbsp;</font><font size=1 face="sans-serif">nfsv4-bounces@ietf.org</font>
<br>
<hr noshade>
<br>
<br>
<br><font size=2 face="Calibri">Has anyone tried implementing volatile
file handles in NFSv4?</font>
<br>
<br><font size=2 face="Calibri">I know neither the Linux nor Solaris clients
currently have it in there.</font>
<br>
<br><font size=2 face="Calibri">In a round about way, if no one implements
part of the spec, should we consider dropping support?</font>
<br><tt><font size=2>_______________________________________________<br>
nfsv4 mailing list<br>
nfsv4@ietf.org<br>
</font></tt><a href=https://www.ietf.org/mailman/listinfo/nfsv4><tt><font size=2>https://www.ietf.org/mailman/listinfo/nfsv4</font></tt></a><tt><font size=2><br>
</font></tt>
<br>
--=_alternative 006675A488257996_=--


From shunting@us.ibm.com  Tue Jan 31 10:40:06 2012
Return-Path: <shunting@us.ibm.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F191911E8117 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 10:40:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.598
X-Spam-Level: 
X-Spam-Status: No, score=-10.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id F+0jtvmYZTqo for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 10:40:06 -0800 (PST)
Received: from e36.co.us.ibm.com (e36.co.us.ibm.com [32.97.110.154]) by ietfa.amsl.com (Postfix) with ESMTP id 3A1BD11E8111 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 10:40:06 -0800 (PST)
Received: from /spool/local by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <nfsv4@ietf.org> from <shunting@us.ibm.com>; Tue, 31 Jan 2012 11:40:05 -0700
Received: from d03dlp02.boulder.ibm.com (9.17.202.178) by e36.co.us.ibm.com (192.168.1.136) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted;  Tue, 31 Jan 2012 11:39:08 -0700
Received: from d03relay05.boulder.ibm.com (d03relay05.boulder.ibm.com [9.17.195.107]) by d03dlp02.boulder.ibm.com (Postfix) with ESMTP id 5034E3E40049 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 11:39:07 -0700 (MST)
Received: from d03av02.boulder.ibm.com (d03av02.boulder.ibm.com [9.17.195.168]) by d03relay05.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q0VIcq8h064532 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 11:38:54 -0700
Received: from d03av02.boulder.ibm.com (loopback [127.0.0.1]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q0VIcmKv022422 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 11:38:48 -0700
Received: from d03nm132.boulder.ibm.com (d03nm132.boulder.ibm.com [9.17.195.172]) by d03av02.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id q0VIckpl022114; Tue, 31 Jan 2012 11:38:48 -0700
In-Reply-To: <CB4D8F33.10D96%tom.haynes@netapp.com>
References: <CB4D8F33.10D96%tom.haynes@netapp.com>
To: "Haynes, Tom" <Tom.Haynes@netapp.com>, nfsv4@ietf.org
MIME-Version: 1.0
X-KeepSent: 4A797F32:22AFC340-88257996:0066442C; type=4; name=$KeepSent
X-Mailer: Lotus Notes Release 8.5.1FP5 SHF29 November 12, 2010
From: Steven Huntington <shunting@us.ibm.com>
Message-ID: <OF4A797F32.22AFC340-ON88257996.0066442C-88257996.006651EE@us.ibm.com>
Date: Tue, 31 Jan 2012 10:37:32 -0800
X-MIMETrack: Serialize by Router on D03NM132/03/M/IBM(Release 8.5.1FP2|March 17, 2010) at 01/31/2012 11:38:48, Serialize complete at 01/31/2012 11:38:48
Content-Type: multipart/alternative; boundary="=_alternative 0066517688257996_="
X-Content-Scanned: Fidelis XPS MAILER
x-cbid: 12013118-3352-0000-0000-0000024BEFC5
Subject: Re: [nfsv4] Volatile file handles
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 18:40:07 -0000

This is a multipart message in MIME format.
--=_alternative 0066517688257996_=
Content-Type: text/plain; charset="US-ASCII"

IBM zOS NFS server requires volatile filehandles.

Cheers,

Steve Huntington, IBM San Jose

Phone:       (408) 463-2716 (T/L 543-2716)
Fax:         (408) 463-4727
Office:      SVL 90-D215
Internet:    shunting@us.ibm.com
Lotus Notes: Steven Huntington/San Jose/IBM@IBMUS

--=_alternative 0066517688257996_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">IBM zOS NFS server requires volatile filehandles.</font>
<br><font size=2 face="sans-serif"><br>
Cheers,<br>
<br>
Steve Huntington, IBM San Jose<br>
<br>
Phone: &nbsp; &nbsp; &nbsp; (408) 463-2716 (T/L 543-2716)<br>
Fax: &nbsp; &nbsp; &nbsp; &nbsp; (408) 463-4727<br>
Office: &nbsp; &nbsp; &nbsp;SVL 90-D215<br>
Internet: &nbsp; &nbsp;shunting@us.ibm.com<br>
Lotus Notes: Steven Huntington/San Jose/IBM@IBMUS</font>
<br>
--=_alternative 0066517688257996_=--


From treinish@linux.vnet.ibm.com  Tue Jan 31 10:49:19 2012
Return-Path: <treinish@linux.vnet.ibm.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9305F11E811C for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 10:49:19 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.599
X-Spam-Level: 
X-Spam-Status: No, score=-10.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QgJUyNkdud98 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 10:49:19 -0800 (PST)
Received: from e7.ny.us.ibm.com (e7.ny.us.ibm.com [32.97.182.137]) by ietfa.amsl.com (Postfix) with ESMTP id CB78211E8075 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 10:49:18 -0800 (PST)
Received: from /spool/local by e7.ny.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for <nfsv4@ietf.org> from <treinish@linux.vnet.ibm.com>; Tue, 31 Jan 2012 13:49:17 -0500
Received: from d01dlp01.pok.ibm.com (9.56.224.56) by e7.ny.us.ibm.com (192.168.1.107) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted;  Tue, 31 Jan 2012 13:48:27 -0500
Received: from d01relay04.pok.ibm.com (d01relay04.pok.ibm.com [9.56.227.236]) by d01dlp01.pok.ibm.com (Postfix) with ESMTP id BD4FE38C8080 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 13:48:25 -0500 (EST)
Received: from d03av05.boulder.ibm.com (d03av05.boulder.ibm.com [9.17.195.85]) by d01relay04.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q0VIl4YE286060 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 13:47:05 -0500
Received: from d03av05.boulder.ibm.com (loopback [127.0.0.1]) by d03av05.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q0VIkrrY027704 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 11:46:54 -0700
Received: from linux.vnet.ibm.com (dhcp-9-56-115-192.pok.ibm.com [9.56.115.192]) by d03av05.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with SMTP id q0VIkfd2026816; Tue, 31 Jan 2012 11:46:41 -0700
Received: by linux.vnet.ibm.com (nbSMTP-1.00) for uid 500 treinish@linux.vnet.ibm.com; Tue, 31 Jan 2012 13:46:41 -0500 (EST)
Date: Tue, 31 Jan 2012 13:46:37 -0500
From: Matthew Treinish <treinish@linux.vnet.ibm.com>
To: "Haynes, Tom" <Tom.Haynes@netapp.com>
Message-ID: <20120131184637.GA3741@Gelgoog.pok.ibm.com>
References: <CB4D8F33.10D96%tom.haynes@netapp.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <CB4D8F33.10D96%tom.haynes@netapp.com>
User-Agent: Mutt/1.5.21 (2010-09-15)
X-Content-Scanned: Fidelis XPS MAILER
x-cbid: 12013118-5806-0000-0000-000011E8C183
Cc: nfsv4 <nfsv4@ietf.org>
Subject: Re: [nfsv4] Volatile file handles
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 18:49:19 -0000

On Tue, Jan 31, 2012 at 06:29:40PM +0000, Haynes, Tom wrote:
> Has anyone tried implementing volatile file handles in NFSv4?
> 
> I know neither the Linux nor Solaris clients currently have it in there.
> 
> In a round about way, if no one implements part of the spec, should we consider dropping support?
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

Currently, the z/OS server uses volatile file handles, and the AIX and z/OS
clients support volatile file handles. I have also submitted a RFC patch set to
the linux-nfs list that handles FHEXPIRED errors in the linux client.

-Matt


From Bill.Baker@Oracle.com  Tue Jan 31 11:10:13 2012
Return-Path: <Bill.Baker@Oracle.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CC4F321F84AF for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 11:10:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.392
X-Spam-Level: 
X-Spam-Status: No, score=-9.392 tagged_above=-999 required=5 tests=[AWL=1.207,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id fNtXnkl8Dmp9 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 11:10:13 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by ietfa.amsl.com (Postfix) with ESMTP id 6D28C21F8319 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 11:10:11 -0800 (PST)
Received: from ucsinet21.oracle.com (ucsinet21.oracle.com [156.151.31.93]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0VJA49E020588 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Tue, 31 Jan 2012 19:10:05 GMT
Received: from acsmt356.oracle.com (acsmt356.oracle.com [141.146.40.156]) by ucsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0VJA2m2004387 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <nfsv4@ietf.org>; Tue, 31 Jan 2012 19:10:03 GMT
Received: from abhmt103.oracle.com (abhmt103.oracle.com [141.146.116.55]) by acsmt356.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0VJA2Ce029816 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 13:10:02 -0600
Received: from [10.135.188.69] (/10.135.188.69) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 31 Jan 2012 11:10:02 -0800
Message-ID: <4F283C8A.306@Oracle.com>
Date: Tue, 31 Jan 2012 13:10:02 -0600
From: Bill Baker <Bill.Baker@Oracle.com>
User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:6.0.2) Gecko/20111003 Thunderbird/6.0.2
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <CB4D8F33.10D96%tom.haynes@netapp.com>
In-Reply-To: <CB4D8F33.10D96%tom.haynes@netapp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: ucsinet21.oracle.com [156.151.31.93]
X-CT-RefId: str=0001.0A090205.4F283C8D.0075,ss=1,re=0.000,fgs=0
Subject: Re: [nfsv4] Volatile file handles
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 19:10:14 -0000

On 01/31/12 12:29, Haynes, Tom wrote:
> Has anyone tried implementing volatile file handles in NFSv4?
>
> I know neither the Linux nor Solaris clients currently have it in there.

The solaris client does support volatile file handles.

>
> In a round about way, if no one implements part of the spec, should we
> consider dropping support?




-- 
Bill Baker, Oracle Solaris NFS development

From Tom.Haynes@netapp.com  Tue Jan 31 11:19:17 2012
Return-Path: <Tom.Haynes@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 135EB11E8089 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 11:19:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.524
X-Spam-Level: 
X-Spam-Status: No, score=-10.524 tagged_above=-999 required=5 tests=[AWL=0.075, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WdY09VPNjb-3 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 11:19:16 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 9547311E8087 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 11:19:16 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,597,1320652800"; d="scan'208";a="621243905"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 31 Jan 2012 11:19:16 -0800
Received: from sacrsexc1-prd.hq.netapp.com (sacrsexc1-prd.hq.netapp.com [10.99.115.27]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q0VJJG1R015780; Tue, 31 Jan 2012 11:19:16 -0800 (PST)
Received: from VMWEXCEHT03-PRD.hq.netapp.com ([10.106.76.241]) by sacrsexc1-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 31 Jan 2012 11:19:11 -0800
Received: from SACEXCMBX04-PRD.hq.netapp.com ([169.254.6.193]) by vmwexceht03-prd.hq.netapp.com ([10.106.76.241]) with mapi id 14.01.0355.002; Tue, 31 Jan 2012 11:18:49 -0800
From: "Haynes, Tom" <Tom.Haynes@netapp.com>
To: Bill Baker <Bill.Baker@Oracle.com>, nfsv4 <nfsv4@ietf.org>
Thread-Topic: [nfsv4] Volatile file handles
Thread-Index: AQHM4EZLz5v/iM2dR0WlLdxm1QWB3ZYnXW0A//+d+AA=
Date: Tue, 31 Jan 2012 19:19:10 +0000
Message-ID: <CB4D9A76.6BD5%tom.haynes@netapp.com>
In-Reply-To: <4F283C8A.306@Oracle.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
user-agent: Microsoft-MacOutlook/14.14.0.111121
x-originating-ip: [10.106.53.51]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <05B81BE6DCCF144CA3B9CABE3AC3F993@tahoe.netapp.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginalArrivalTime: 31 Jan 2012 19:19:11.0690 (UTC) FILETIME=[3669AAA0:01CCE04D]
Subject: Re: [nfsv4] Volatile file handles
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 19:19:17 -0000

Bad memory - I thought it was conditionally compiled in code.

Does the server support it?


On 1/31/12 1:10 PM, "Bill Baker" <Bill.Baker@Oracle.com> wrote:

>On 01/31/12 12:29, Haynes, Tom wrote:
>> Has anyone tried implementing volatile file handles in NFSv4?
>>
>> I know neither the Linux nor Solaris clients currently have it in there.
>
>The solaris client does support volatile file handles.
>
>>
>> In a round about way, if no one implements part of the spec, should we
>> consider dropping support?
>
>
>
>
>--=20
>Bill Baker, Oracle Solaris NFS development
>_______________________________________________
>nfsv4 mailing list
>nfsv4@ietf.org
>https://www.ietf.org/mailman/listinfo/nfsv4


From Trond.Myklebust@netapp.com  Tue Jan 31 11:23:35 2012
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5F4AD21F84F1 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 11:23:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.499
X-Spam-Level: 
X-Spam-Status: No, score=-10.499 tagged_above=-999 required=5 tests=[AWL=0.100, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ioz4eWLz5JCv for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 11:23:34 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id CA78A21F84EF for <nfsv4@ietf.org>; Tue, 31 Jan 2012 11:23:34 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,597,1320652800"; d="scan'208";a="621245015"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 31 Jan 2012 11:23:30 -0800
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q0VJNUOD024713 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 11:23:30 -0800 (PST)
Received: from VMWEXCEHT02-PRD.hq.netapp.com ([10.106.76.240]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 31 Jan 2012 11:23:24 -0800
Received: from SACEXCMBX04-PRD.hq.netapp.com ([169.254.6.193]) by vmwexceht02-prd.hq.netapp.com ([10.106.76.240]) with mapi id 14.01.0355.002; Tue, 31 Jan 2012 11:23:19 -0800
From: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
To: "Haynes, Tom" <Tom.Haynes@netapp.com>
Thread-Topic: [nfsv4] Volatile file handles
Thread-Index: AQHM4E3Jl+UStsfOp0eADZoG+PZmSg==
Date: Tue, 31 Jan 2012 19:23:19 +0000
Message-ID: <1328037796.3105.2.camel@lade.trondhjem.org>
References: <CB4D8F33.10D96%tom.haynes@netapp.com>
In-Reply-To: <CB4D8F33.10D96%tom.haynes@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.104.60.116]
Content-Type: text/plain; charset="utf-8"
Content-ID: <B8F061ACDB37C34C9CFC72E1E2B2332A@tahoe.netapp.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginalArrivalTime: 31 Jan 2012 19:23:24.0948 (UTC) FILETIME=[CD5DC540:01CCE04D]
Cc: nfsv4 <nfsv4@ietf.org>
Subject: Re: [nfsv4] Volatile file handles
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 19:23:35 -0000

T24gVHVlLCAyMDEyLTAxLTMxIGF0IDE4OjI5ICswMDAwLCBIYXluZXMsIFRvbSB3cm90ZToNCj4g
SGFzIGFueW9uZSB0cmllZCBpbXBsZW1lbnRpbmcgdm9sYXRpbGUgZmlsZSBoYW5kbGVzIGluIE5G
U3Y0Pw0KPiANCj4gDQo+IEkga25vdyBuZWl0aGVyIHRoZSBMaW51eCBub3IgU29sYXJpcyBjbGll
bnRzIGN1cnJlbnRseSBoYXZlIGl0IGluDQo+IHRoZXJlLg0KPiANCj4gDQo+IEluIGEgcm91bmQg
YWJvdXQgd2F5LCBpZiBubyBvbmUgaW1wbGVtZW50cyBwYXJ0IG9mIHRoZSBzcGVjLCBzaG91bGQg
d2UNCj4gY29uc2lkZXIgZHJvcHBpbmcgc3VwcG9ydD8NCj4gDQoNCktpbGwgdGhlbS4uLiBUaGV5
J3JlIGJyb2tlbiBhbmQgcG9pbnRsZXNzLg0KDQotLSANClRyb25kIE15a2xlYnVzdA0KTGludXgg
TkZTIGNsaWVudCBtYWludGFpbmVyDQoNCk5ldEFwcA0KVHJvbmQuTXlrbGVidXN0QG5ldGFwcC5j
b20NCnd3dy5uZXRhcHAuY29tDQoNCg==

From Bill.Baker@Oracle.com  Tue Jan 31 11:27:33 2012
Return-Path: <Bill.Baker@Oracle.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BBEAE21F851E for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 11:27:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.995
X-Spam-Level: 
X-Spam-Status: No, score=-9.995 tagged_above=-999 required=5 tests=[AWL=0.604,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L1fmakDt0Mjt for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 11:27:33 -0800 (PST)
Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by ietfa.amsl.com (Postfix) with ESMTP id 6C36421F851C for <nfsv4@ietf.org>; Tue, 31 Jan 2012 11:27:29 -0800 (PST)
Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by acsinet15.oracle.com (Switch-3.4.4/Switch-3.4.4) with ESMTP id q0VJRRgm010757 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <nfsv4@ietf.org>; Tue, 31 Jan 2012 19:27:28 GMT
Received: from acsmt357.oracle.com (acsmt357.oracle.com [141.146.40.157]) by ucsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id q0VJRQt8028386 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <nfsv4@ietf.org>; Tue, 31 Jan 2012 19:27:27 GMT
Received: from abhmt120.oracle.com (abhmt120.oracle.com [141.146.116.72]) by acsmt357.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id q0VJRQtU012362 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 13:27:26 -0600
Received: from [10.135.188.69] (/10.135.188.69) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Tue, 31 Jan 2012 11:27:26 -0800
Message-ID: <4F284094.5010704@Oracle.com>
Date: Tue, 31 Jan 2012 13:27:16 -0600
From: Bill Baker <Bill.Baker@Oracle.com>
User-Agent: Mozilla/5.0 (X11; SunOS i86pc; rv:6.0.2) Gecko/20111003 Thunderbird/6.0.2
MIME-Version: 1.0
To: nfsv4@ietf.org
References: <CB4D9A76.6BD5%tom.haynes@netapp.com>
In-Reply-To: <CB4D9A76.6BD5%tom.haynes@netapp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Source-IP: ucsinet22.oracle.com [156.151.31.94]
X-CT-RefId: str=0001.0A090202.4F2840A0.00C6,ss=1,re=0.000,fgs=0
Subject: Re: [nfsv4] Volatile file handles
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 19:27:33 -0000

Server: no, the server has a DEBUG compile time
option to enable them, for testing purposes only.

On 01/31/12 13:19, Haynes, Tom wrote:
> Bad memory - I thought it was conditionally compiled in code.
>
> Does the server support it?
>
>
> On 1/31/12 1:10 PM, "Bill Baker"<Bill.Baker@Oracle.com>  wrote:
>
>> On 01/31/12 12:29, Haynes, Tom wrote:
>>> Has anyone tried implementing volatile file handles in NFSv4?
>>>
>>> I know neither the Linux nor Solaris clients currently have it in there.
>>
>> The solaris client does support volatile file handles.
>>
>>>
>>> In a round about way, if no one implements part of the spec, should we
>>> consider dropping support?
>>
>>
>>
>>
>> --
>> Bill Baker, Oracle Solaris NFS development
>> _______________________________________________
>> nfsv4 mailing list
>> nfsv4@ietf.org
>> https://www.ietf.org/mailman/listinfo/nfsv4
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4


-- 
Bill Baker, Oracle Solaris NFS development

From olga.kornievskaia@gmail.com  Tue Jan 31 12:08:25 2012
Return-Path: <olga.kornievskaia@gmail.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1132311E8089 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 12:08:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.977
X-Spam-Level: 
X-Spam-Status: No, score=-2.977 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, FM_FORGED_GMAIL=0.622, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id B0NrBfHvo3nt for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 12:08:24 -0800 (PST)
Received: from mail-iy0-f172.google.com (mail-iy0-f172.google.com [209.85.210.172]) by ietfa.amsl.com (Postfix) with ESMTP id 656BC11E8095 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 12:08:24 -0800 (PST)
Received: by iagf6 with SMTP id f6so484150iag.31 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 12:08:23 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=3zre5IXl3tQPqmzSwc56arSdAgggJd8ReWqAsQHb8vY=; b=JSbV0qPOn9PJxEsWz70BQggSE+eIib9C37ctCeGbfK2LuT4CvVNgf1k7YnsuKSGz2Q cElMYFXWiobhYoI8uifKaek0kMcOWY8uj81a3a/TFF8SBAalZ2dpEPvYzfn58HTAv3cV bhc1EaFkLEX0fGdByD5jkaKZVpsNXVSCRcZsY=
MIME-Version: 1.0
Received: by 10.50.222.132 with SMTP id qm4mr3497457igc.21.1328040503769; Tue, 31 Jan 2012 12:08:23 -0800 (PST)
Sender: olga.kornievskaia@gmail.com
Received: by 10.231.47.145 with HTTP; Tue, 31 Jan 2012 12:08:23 -0800 (PST)
In-Reply-To: <CB4D8F33.10D96%tom.haynes@netapp.com>
References: <CB4D8F33.10D96%tom.haynes@netapp.com>
Date: Tue, 31 Jan 2012 15:08:23 -0500
X-Google-Sender-Auth: 0NOnB2ixm7ocfHr5ZTk839XeFHY
Message-ID: <CAN-5tyGNzxeUVktWW1UwbVed5Opb=14cXwJk-sKAcCH=vhR4YA@mail.gmail.com>
From: Olga Kornievskaia <aglo@citi.umich.edu>
To: "Haynes, Tom" <Tom.Haynes@netapp.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: nfsv4 <nfsv4@ietf.org>
Subject: Re: [nfsv4] Volatile file handles
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 20:08:25 -0000

Windows pnfs client tries to support them.

On Tue, Jan 31, 2012 at 1:29 PM, Haynes, Tom <Tom.Haynes@netapp.com> wrote:
> Has anyone tried implementing volatile file handles in NFSv4?
>
> I know neither the Linux nor Solaris clients currently have it in there.
>
> In a round about way, if no one implements part of the spec, should we
> consider dropping support?
>
>
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>

From dpquigl@davequigley.com  Tue Jan 31 12:32:03 2012
Return-Path: <dpquigl@davequigley.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 178DE11E8093 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 12:32:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level: 
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vWEm2fYCAa0t for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 12:32:02 -0800 (PST)
Received: from countercultured.net (countercultured.net [IPv6:2001:470:0:c0d3::2]) by ietfa.amsl.com (Postfix) with SMTP id 3E29B11E8089 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 12:32:02 -0800 (PST)
Received: (qmail 25161 invoked from network); 31 Jan 2012 20:31:58 -0000
Received: from countercultured.net (HELO webmail.countercultured.net) (209.51.175.25) by countercultured.net with SMTP; 31 Jan 2012 20:31:58 -0000
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Date: Tue, 31 Jan 2012 15:31:58 -0500
From: David Quigley <dpquigl@davequigley.com>
To: <nfsv4@ietf.org>
In-Reply-To: <CB4D8F33.10D96%tom.haynes@netapp.com>
References: <CB4D8F33.10D96%tom.haynes@netapp.com>
Message-ID: <cb6facc1b4589c8c3f9b2928470ad9ad@countercultured.net>
X-Sender: dpquigl@davequigley.com
User-Agent: RoundCube Webmail/0.6-svn
Subject: Re: [nfsv4] Volatile file handles
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 20:32:03 -0000

On 01/31/2012 13:29, Haynes, Tom wrote:
> Has anyone tried implementing volatile file handles in NFSv4?
>
> I know neither the Linux nor Solaris clients currently have it in
> there.
>
> In a round about way, if no one implements part of the spec, should 
> we
> consider dropping support?


At some point there was talk about using volatile file handles to 
handle label changes in Labeled NFS. I can see if the attribute change 
notification delegate isn't supported that using volatile file handles 
would be an alternative way to implement label change notification.

From david.noveck@emc.com  Tue Jan 31 12:47:27 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BFC011E80B8 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 12:47:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.263
X-Spam-Level: 
X-Spam-Status: No, score=-9.263 tagged_above=-999 required=5 tests=[AWL=1.336,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GzSWlh49AXuD for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 12:47:26 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id 07BF811E80B3 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 12:47:25 -0800 (PST)
Received: from hop04-l1d11-si02.isus.emc.com (HOP04-L1D11-SI02.isus.emc.com [10.254.111.55]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0VKlKxN025818 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Jan 2012 15:47:23 -0500
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.145]) by hop04-l1d11-si02.isus.emc.com (RSA Interceptor); Tue, 31 Jan 2012 15:47:09 -0500
Received: from mxhub20.corp.emc.com (mxhub20.corp.emc.com [10.254.93.49]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0VKl9p1018051; Tue, 31 Jan 2012 15:47:09 -0500
Received: from mx31a.corp.emc.com ([169.254.1.84]) by mxhub20.corp.emc.com ([10.254.93.49]) with mapi; Tue, 31 Jan 2012 15:47:08 -0500
From: <david.noveck@emc.com>
To: <Tom.Haynes@netapp.com>, <nfsv4@ietf.org>
Date: Tue, 31 Jan 2012 15:47:07 -0500
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AczcVrzVz68FMmLxThqahQHwSR8RMgAhL0yAABkecoAAA6VCAAABpY6AABCFsgAAhg34AAAGfccAACkCxAAABV+sAP//p3oA///4mnA=
Message-ID: <5DEA8DB993B81040A21CF3CB332489F69D7376D7@MX31A.corp.emc.com>
References: <1328031824.4090.77.camel@lade.trondhjem.org> <CB4D8E13.10D89%tom.haynes@netapp.com>
In-Reply-To: <CB4D8E13.10D89%tom.haynes@netapp.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 20:47:27 -0000

Good point.  For example, looking at the new network partition text
was a big help to me in trying to deal with the issues Trond raised. =20

-----Original Message-----
From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of H=
aynes, Tom
Sent: Tuesday, January 31, 2012 1:27 PM
To: nfsv4
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV

I keep on seeing references to RFC 3530. Could we instead be quoting
3530bis? That at least gets more eyes on that document and might catch any
mistakes there before we enter last call. Plus, if any changes arise from
this discussion, it will be in that document.


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


From david.noveck@emc.com  Tue Jan 31 12:50:47 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CDEB911E80FF for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 12:50:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.352
X-Spam-Level: 
X-Spam-Status: No, score=-9.352 tagged_above=-999 required=5 tests=[AWL=1.247,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 0pTTsq9cWslv for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 12:50:46 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id A5ACD11E80B3 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 12:50:45 -0800 (PST)
Received: from hop04-l1d11-si03.isus.emc.com (HOP04-L1D11-SI03.isus.emc.com [10.254.111.23]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0VKoavn012842 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Jan 2012 15:50:39 -0500
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.222.226]) by hop04-l1d11-si03.isus.emc.com (RSA Interceptor); Tue, 31 Jan 2012 15:50:13 -0500
Received: from mxhub33.corp.emc.com (mxhub33.corp.emc.com [10.254.93.81]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0VKoC15019689; Tue, 31 Jan 2012 15:50:13 -0500
Received: from mx31a.corp.emc.com ([169.254.1.84]) by mxhub33.corp.emc.com ([::1]) with mapi; Tue, 31 Jan 2012 15:50:12 -0500
From: <david.noveck@emc.com>
To: <Trond.Myklebust@netapp.com>
Date: Tue, 31 Jan 2012 15:50:11 -0500
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AQHM34ZX9OTQu65Y9Ua1MIK3xUl9MZYnG9MAgAAq/QD//6+zgA==
Message-ID: <5DEA8DB993B81040A21CF3CB332489F69D7376DA@MX31A.corp.emc.com>
References: <20120127163815.GA10315@fieldses.org> <417699187.300098.1327710680028.JavaMail.root@erie.cs.uoguelph.ca> <5DEA8DB993B81040A21CF3CB332489F69D737491@MX31A.corp.emc.com> <1327952135.4090.24.camel@lade.trondhjem.org> <5DEA8DB993B81040A21CF3CB332489F69D737631@MX31A.corp.emc.com> <1328031824.4090.77.camel@lade.trondhjem.org>
In-Reply-To: <1328031824.4090.77.camel@lade.trondhjem.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: bfields@fieldses.org, rmacklem@uoguelph.ca, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 20:50:47 -0000

If, however, the CLAIM_DELEGATE_PREV have persistence properties that
exceed those of courtesy locks, then I'm still confused.

For my answer to this question, see lines marked "T5>" in the new proposal.

-----Original Message-----
From: Myklebust, Trond [mailto:Trond.Myklebust@netapp.com]=20
Sent: Tuesday, January 31, 2012 12:44 PM
To: Noveck, David
Cc: bfields@fieldses.org; rmacklem@uoguelph.ca; nfsv4@ietf.org
Subject: RE: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV

I think part of my confusion stems from the issue of whether or not
CLAIM_DELEGATE_PREV delegations are allowed to be persistent across
server reboots.

I agree that if the delegation is only granted until the server dies,
then there is no need for clarification on most of the issues that I
have raised. Basically, the CLAIM_DELEGATE_PREV is there in order to
ensure that the courtesy locks of type "delegation" survive the client
sending a SETCLIENTID with a reboot notification.

If, however, the CLAIM_DELEGATE_PREV have persistence properties that
exceed those of courtesy locks, then I'm still confused...

On Tue, 2012-01-31 at 10:09 -0500, david.noveck@emc.com wrote:
> To help avoid nested-quotation-ad-infinitum syndrome, let me address all =
your=20
> issues here.  Later I'll present an updated proposal with changes keyed t=
o which
> comments they address
>=20
> =3D=3D=3D T1 =3D=3D=3D
>=20
> > What about the case in which the client/server experience a network
> > partition=20
>=20
> I don't believe CLAIM_DELEGATE_PREV is meant to address that, and that if=
 you
> try to make it do so, you will wind up dealing with the fact that it is b=
ad fit
> because the CLAIM_DELEGATE_PREV model is that the client restarts (i.e. c=
hanges
> the nfs4-client-id instance).
>=20
> I think 'courtesy locks" is/are meant to address this. =20
>=20
> > and/or the various edge condition cases in section 8.6.3 (RFC
> > 3530)? Isn't the client going to want to attempt a CLAIM_DELEGATE_PREV
> > in order to recover those delegations that the server may have cached o=
n
> > its behalf?
>=20
> The edge conditions are those in which the server cannot guarantee that t=
he locks
> he would give you are valid.  If he can't give you that guarantee as to l=
ocks,
> Why should you trust him regarding delegations?
>=20
> =3D=3D=3D T2 =3D=3D=3D
>=20
> > How does the client distinguish between support of CLAIM_DELEGATE_PREV
> > and other error conditions? Does the error return NFS4ERR_RECLAIM_BAD
> > when it supports CLAIM_DELEGATE_PREV, but cannot satisfy the reclaim vs=
.
> > NFS4ERR_INVAL if it simply does not satisfy CLAIM_DELEGATE_PREV?
>=20
> I would think NOTSUPP (the operation of reclaiming a persistent delegatio=
n being
> the operation not supported.
>=20
> LOCK_NOTSUPP makes sense but we would have to expand the definition.
>=20
> INVAL does say "unsupported argument" but the context/example is somethin=
g the=20
> protocol does not support (i. e. READLINK of something not a symbolic lin=
k)=20
> and not something a particular server does not support. =20
>=20
> =3D=3D=3D T3 =3D=3D=3D=20
> > did you actually mean CLAIM_PREVIOUS above?
>=20
> Duh!  Yes.
>=20
> >     To deal with the possibility of simultaneous failure of client and=
=20
> >     server (power outages, etc.), the server MAY persistently store=20
> >     delegation  =20
>=20
> =3D=3D=3D=3D T4 =3D=3D=3D=3D
>=20
> > I'm also unclear on how CLAIM_DELEGATE_PREV avoids the need for open
> > confirmation.=20
>=20
> It doesn't.  Should it?
>=20
> > The server states that the CLAIM_DELEGATE_PREV attempt
> > will only occur after a client reboot, and so open owners are not
> > recycled, however after a network partition, the client is not going to
> > declare a reboot if it held locks prior to the partition (in case the
> > server is holding "courtesy locks").=20
>=20
> I agree.
>=20
> > In such a situation,=20
>=20
> By "such a situation", I take it you mean "after a network partition".
> Correct?
>=20
> > if the client
> > attempts to CLAIM_DELEGATE_PREV,=20
>=20
> Which I think he shouldn't do.
>=20
> > the server may find itself dealing with
> > reused open owners.
>=20
> Which wouldn't be good.
>=20
> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of=
 Myklebust, Trond
> Sent: Monday, January 30, 2012 2:36 PM
> To: Noveck, David
> Cc: bfields@fieldses.org; rmacklem@uoguelph.ca; nfsv4@ietf.org
> Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
>=20
> Hi Dave,
>=20
> On Mon, 2012-01-30 at 11:29 -0500, david.noveck@emc.com wrote:
> > Thanks for the discussion everybody.
> >=20
> > So here is my proposal for clarification/corrections that I'd like the=
=20
> > group to consider:
> >    =20
> >     Explicitly state DELEGPURGE supported iff CLAIM_DELEGATE_PREV is
> >     supported.
> >=20
> >     CLAIM_DELEGATE_PREV is primarily to deal with the case in which the=
=20
> >     client (only) restarts.
>=20
> What about the case in which the client/server experience a network
> partition and/or the various edge condition cases in section 8.6.3 (rfc
> 3530)? Isn't the client going to want to attempt a CLAIM_DELEGATE_PREV
> in order to recover those delegations that the server may have cached on
> its behalf?
>=20
> >     When the server indicates support of CLAIM_DELEGATE_PREV (implicitl=
y)
> >     by returning NFS_OK to DELEGPURGE, a client with a write delegation=
,
> >     use write-back caching for data to be written to the server, deferr=
ing=20
> >     the write-back, until such time as the delegation is recalled, poss=
ibly
> >     after intervening client restarts.  Similarly, when the server indi=
cates
> >     support of CLAIM_DELEGATE_PREV, a client with a read delegation and
> >     an open-for-write subordinate to that delegation, may be sure of th=
e=20
> >     integrity of its persistently cached copy of the file after a clien=
t=20
> >     restart without specific verification of the change attribute.
>=20
> How does the client distinguish between support of CLAIM_DELEGATE_PREV
> and other error conditions? Does the error return NFS4ERR_RECLAIM_BAD
> when it supports CLAIM_DELEGATE_PREV, but cannot satisfy the reclaim vs.
> NFS4ERR_INVAL if it simply does not satisfy CLAIM_DELEGATE_PREV?
>=20
> >     Case in which you have a series of client and server failures where
> >     there is no restart of both at the same time, are dealt with via a
> >     combination of CLAIM_DELEGATE_PREV and CLAIM_DELEGATE_CUR reclaims.=
 =20
> >     Persistent storage is needed only on the client.  For each server=20
> >     failure, a CLAIM_DELEGATE_CUR reclaim is done, while for each clien=
t=20
> >     restart, CLAIM_DELEGATE_PREV reclaim is done.
>=20
> Since CLAIM_DELEGATE_CUR is for dealing with delegation recalls (i.e.
> converting a delegation into a stateful OPEN), did you actually mean
> CLAIM_PREVIOUS above?
>=20
> >     To deal with the possibility of simultaneous failure of client and=
=20
> >     server (power outages, etc.), the server MAY persistently store=20
> >     delegation information so that it can respond to a CLAIM_DELEGATE_P=
REV=20
> >     reclaim request which it receives from a restarting client.  A serv=
er=20
> >     is not required to store this information, but if it does do so, it=
 s
> >     should do so for write delegations and for read delegations, during=
 the=20
> >     pendency of which (across multiple client and/or server instances),=
 some=20
> >     open-for-write was done as part of delegation. When the space to=20
> >     persistently record such information is limited, server should reca=
ll=20
> >     delegations in this class in preference to keeping them active with=
out=20
> >     persistent storage recording.
> >=20
> >     TBD: Review the "edge condition" text in light of persistent delega=
tions.
>=20
> I'm also unclear on how CLAIM_DELEGATE_PREV avoids the need for open
> confirmation. The server states that the CLAIM_DELEGATE_PREV attempt
> will only occur after a client reboot, and so open owners are not
> recycled, however after a network partition, the client is not going to
> declare a reboot if it held locks prior to the partition (in case the
> server is holding "courtesy locks"). In such a situation, if the client
> attempts to CLAIM_DELEGATE_PREV, the server may find itself dealing with
> reused open owners.
>=20
>=20
>=20
> > Comments/corrections appreciated.=20
> >=20
> > -----Original Message-----
> > From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf =
Of Rick Macklem
> > Sent: Friday, January 27, 2012 7:31 PM
> > To: J. Bruce Fields
> > Cc: nfsv4@ietf.org
> > Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
> >=20
> > J. Bruce Fields wrote:
> > > On Fri, Jan 27, 2012 at 10:51:06AM -0500, Rick Macklem wrote:
> > > > Actually, since CLAIM_DELEGATE_PREV is optional, it would be nice i=
f
> > > > the client knew that
> > > > so that it could decide whether or not to cache the file/delegation
> > > > in
> > > > stable storage or not.
> > >=20
> > > Couldn't a persistent data cache turn out to be useful even in the
> > > absence of any delegation?
> > >=20
> > Maybe, but I haven't looked at it?=20
> >=20
> > Packrats was intended for a fairly specific case, which
> > was better performance over WANs. For the WAN case, I didn't want the
> > client waiting for a lot of RPC replies, since the RPC RTT is much larg=
er.
> > Without a delegation, coherency checks (Getattr of the change attribute=
)
> > need to be done frequently, along with Opens and write backs upon Close=
,
> > and I wanted to avoid those "synchronous" RPCs. (By "synchronous" I mea=
n
> > RPCs where the client has to wait for the RPC reply before the related =
system
> > call can complete.)
> >=20
> > A typical scenario I envision would be:
> > - Working on a document (a few files of well under a Gbyte) on a your l=
aptop
> >   for a couple of hours when "on the road". Since no one else would be =
accessing
> >   these files, there's a pretty good chance the client will get a write=
 delegation
> >   (at least for 4.1, where there doesn't have to be a separate working =
callback path).
> >   Packrat threads would then copy the entire file to the local disk cac=
he. After
> >   that copy completes, the client would only have to keep the lease val=
id, where
> >   RRT doesn't matter. At the end of the session, the changes would be w=
ritten back
> >   during the "umount", before the delegations gets returned.
> >   A record of the delegation in the local disk cache (not yet implement=
ed, so it is
> >   just an empty file at this time:-), could be used to "hopefully" re-a=
cquire the
> >   delegation via CLAIM_DELEGATE_PREV if the laptop crashes or gets netw=
ork
> >   partitioned for long enough that the lease expires and the delegation=
 is lost.
> >   (Admittedly, if servers retain the delegation as in a "courtesy lock"=
, then the
> >    CLAIM_DELEGATE_PREV isn't needed for the "network partition" case.)
> >=20
> > Packrats also waits a long time to write changes back. Unless the deleg=
ation
> > is returned (recalled by the server or LRU replaced when there are more=
 than
> > 20000 delegations), it currently only does a write back when the file s=
ystem
> > is unmounted. (As such, "umount" can take many seconds with the current
> > implementation. I did say it was "experimental".:-) Although I feel wri=
te back
> > needs to be done more agressively than the above, I don't want to be fo=
rced to
> > do so upon Close and only after long enough that it is unlikely that it=
 is a
> > temporary file that will soon be removed. (Removal before write back av=
oids the
> > write back, since the file data is simply discarded.)
> >=20
> > Probably way too long winded, but just in case you were curious, rick
> >=20
> > > > Although this sounds a little scary...
> > > > Maybe a client could try a CLAIM_DELEGATE_PREV for some file
> > > > in the mount point, after it did the SetClientConfirm. If it gets
> > > > a NFS4ERR_NOTSUPP reply, it would assume that CLAIM_DELEGATE_PREV
> > > > is not supported by the server. If it gets some other error or
> > > > succeeds, getting an open with a delegation, then it could assume
> > > > it is supported. (For the succeed case, it could just return the
> > > > delegation and close the file. If it does the above with a "file"
> > > > it knows it didn't hold a delegation for, this shouldn't happen,
> > > > but the client might not always know if it held a delegation for
> > > > the file before the crash/reboot.)
> > >=20
> > > Also, the protocol trusts clients to only reclaim delegations it held
> > > before, so if it succeeds when it shouldn't have you could end up
> > > denying some other client some state that it shouldn't be able to
> > > reclaim.
> > >=20
> > > So you'd have to somehow cook up a CLAIM_DELEGATE_PREV that would be
> > > guaranteed to fail, and then hope that the server chooses to return
> > > the
> > > NOTSUPP error in preference to any other.
> > >=20
> > > Doesn't sound like something you'd want to rely on.
> > >=20
> > > --b.
> > >=20
> > > >
> > > > Sorry about the noise w.r.t. it not being optional, rick
> > > >
> > > _______________________________________________
> > > nfsv4 mailing list
> > > nfsv4@ietf.org
> > > https://www.ietf.org/mailman/listinfo/nfsv4
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
> >=20
> > _______________________________________________
> > nfsv4 mailing list
> > nfsv4@ietf.org
> > https://www.ietf.org/mailman/listinfo/nfsv4
>=20

--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From david.noveck@emc.com  Tue Jan 31 13:31:41 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A29E11E8076 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 13:31:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.43
X-Spam-Level: 
X-Spam-Status: No, score=-9.43 tagged_above=-999 required=5 tests=[AWL=1.169,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id faaD08K6mC2v for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 13:31:40 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id AEDD521F857A for <nfsv4@ietf.org>; Tue, 31 Jan 2012 13:31:40 -0800 (PST)
Received: from hop04-l1d11-si04.isus.emc.com (HOP04-L1D11-SI04.isus.emc.com [10.254.111.24]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0VLVXwf025344 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Jan 2012 16:31:34 -0500
Received: from mailhub.lss.emc.com (mailhubhoprd03.lss.emc.com [10.254.221.145]) by hop04-l1d11-si04.isus.emc.com (RSA Interceptor); Tue, 31 Jan 2012 16:31:23 -0500
Received: from mxhub24.corp.emc.com (mxhub24.corp.emc.com [128.222.70.136]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q0VLVNtD027210; Tue, 31 Jan 2012 16:31:23 -0500
Received: from mx31a.corp.emc.com ([169.254.1.84]) by mxhub24.corp.emc.com ([128.222.70.136]) with mapi; Tue, 31 Jan 2012 16:31:22 -0500
From: <david.noveck@emc.com>
To: <Trond.Myklebust@netapp.com>, <rmacklem@uoguelph.ca>
Date: Tue, 31 Jan 2012 16:35:55 -0500
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AQHM34ZX9OTQu65Y9Ua1MIK3xUl9MZYmLQSAgAD054D//7+tUA==
Message-ID: <5DEA8DB993B81040A21CF3CB332489F69D7376FE@MX31A.corp.emc.com>
References: <1885654529.431554.1327971309436.JavaMail.root@erie.cs.uoguelph.ca> <1328023901.4090.70.camel@lade.trondhjem.org>
In-Reply-To: <1328023901.4090.70.camel@lade.trondhjem.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: bfields@fieldses.org, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 21:31:41 -0000

So here is my updated proposal for clarification/corrections that=20
I'd like the group to consider.  The T* notes correspond to Trond's
Comments.

..>     Explicitly state DELEGPURGE supported iff CLAIM_DELEGATE_PREV is
T2>     supported.  Either both will return NFS4ERR_NOTSUPP or neither will=
.
T2>     Note that NFS4ERR_NOTSUPP is already used to indicate that exclusiv=
e
T2>     OPEN is not supported even though OPEN as a whole is.
..>=20
T1>     CLAIM_DELEGATE_PREV may only be used after a SETCLIENTID_CONFIRM an=
d before
T1>     DELEGPURGE.  When it is used outside of this context, the server,
T1>     if it supports CLAIM_DELEGATE_PREV, will return the error=20
T1>     NFS4ERR_INVAL
..>     CLAIM_DELEGATE_PREV is primarily to deal with the case in which the=
=20
..>     client (only) restarts.
T1>     Another case in which the client may use CLAIM_DELEGATE_PREV is
T1>     after receiving NFS4ERR_EXPIRED indicating a network partition
T1>     which resulted in loss of lease state.  In such a situation, a
T1>     server MAY honor a CLAIM_DELEGATE_PREV reclaim, even though it=20
T1>     is not supporting "courtesy locks".
..>
T5>     One good way to think about persistent delegations is that for the =
most
T5>     part, they function like "courtesy locks", with a special semantic
T5>     adjustments to allow them to be retained across a client restart, w=
hich
T5>     cause all other sorts of locks to be freed.  Such locks are general=
ly=20
T5>     not retained across a server restart.  The one exception is the
T5>     case of simultaneous failure of the client and server and is discus=
sed
T5>     below.
..>
..>     When the server indicates support of CLAIM_DELEGATE_PREV (implicitl=
y)
..>     by returning NFS_OK to DELEGPURGE, a client with a write delegation=
,
..>     use write-back caching for data to be written to the server, deferr=
ing=20
..>     the write-back, until such time as the delegation is recalled, poss=
ibly
..>     after intervening client restarts.  Similarly, when the server indi=
cates
..>     support of CLAIM_DELEGATE_PREV, a client with a read delegation and
..>     an open-for-write subordinate to that delegation, may be sure of th=
e=20
..>     integrity of its persistently cached copy of the file after a clien=
t=20
..>     restart without specific verification of the change attribute.
..>
T2>     When a server supports CLAIM_DELEGATE_PREV and there is no
T2>     persistent delegation for the specified file, known to the server,
T2>     NFS4ERR_BAD_RECLAIM is returned. =20
..>
..>     Case in which you have a series of client and server failures where
..>     there is no restart of both at the same time, are dealt with via a
T3>     combination of CLAIM_DELEGATE_PREV and CLAIM_PREVIOUS reclaims. =20
..>     Persistent storage is needed only on the client.  For each server=20
T3>     failure, a CLAIM_PREVIOUS reclaim is done, while for each client=20
..>     restart, CLAIM_DELEGATE_PREV reclaim is done.
..>
..>     To deal with the possibility of simultaneous failure of client and=
=20
..>     server (power outages, etc.), the server MAY persistently store=20
..>     delegation information so that it can respond to a CLAIM_DELEGATE_P=
REV=20
T5>     reclaim request which it receives from a restarting client.   This
T5>     is the one case in which persistent delegation state can be retaine=
d
T5>     across a server restart.  A server  is not required to store this=20
..>     information, but if it does do so, it should do so for write=20
..>     delegations and for read delegations, during the pendency of which
..>     (across multiple client and/or server instances), some open-for-wri=
te=20
..>     was done as part of delegation. When the space to persistently
..>     record such information is limited, the server should recall=20
..>     delegations in this class in preference to keeping them active with=
out=20
..>     persistent storage recording.
..>
T4>     In all the situations in which CLAIM_DELEGATE_PREV is validly done,
T4>     there should have been some situation which caused locking state=20
T4>     relevant to the client (with the exception of that relating to pers=
istent
T4>     delegations) to be reset:  Either a client restart will be seen by =
the
T4>     server or the server will have reset all lease state and returned=20
T4>     NFS4ERR_EXPIRED.  This would include lokowner state.
T4>
T4>     Note that when there is a network partition and some lock state is=
=20
T4>     preserved (in the form of "courtesy locks"), locking state is not r=
eset
T4>     and use of CLAIM_DELEGATE_PREV is not needed since any still-valid=
=20
T4>     delegations will still be available as "courtesy locks".
..>=20
..>     TBD: Review the "edge condition" text in light of persistent delega=
tions.



From Trond.Myklebust@netapp.com  Tue Jan 31 14:15:38 2012
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E406421F854C for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 14:15:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.509
X-Spam-Level: 
X-Spam-Status: No, score=-10.509 tagged_above=-999 required=5 tests=[AWL=0.090, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ozkLGMkXCz-x for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 14:15:38 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 2D52421F8471 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 14:15:38 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,598,1320652800"; d="scan'208";a="621300304"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 31 Jan 2012 14:15:38 -0800
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q0VMFbTc026731; Tue, 31 Jan 2012 14:15:37 -0800 (PST)
Received: from VMWEXCEHT04-PRD.hq.netapp.com ([10.106.77.34]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 31 Jan 2012 14:15:32 -0800
Received: from SACEXCMBX04-PRD.hq.netapp.com ([169.254.6.193]) by vmwexceht04-prd.hq.netapp.com ([10.106.77.34]) with mapi id 14.01.0355.002; Tue, 31 Jan 2012 14:15:27 -0800
From: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
To: David Quigley <dpquigl@davequigley.com>
Thread-Topic: [nfsv4] Volatile file handles
Thread-Index: AQHM4GXUl+UStsfOp0eADZoG+PZmSg==
Date: Tue, 31 Jan 2012 22:15:26 +0000
Message-ID: <1328048123.3789.50.camel@lade.trondhjem.org>
References: <CB4D8F33.10D96%tom.haynes@netapp.com> <cb6facc1b4589c8c3f9b2928470ad9ad@countercultured.net>
In-Reply-To: <cb6facc1b4589c8c3f9b2928470ad9ad@countercultured.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.104.60.116]
Content-Type: text/plain; charset="utf-8"
Content-ID: <C483B9DBC8430249AD877276634C92BE@tahoe.netapp.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginalArrivalTime: 31 Jan 2012 22:15:32.0871 (UTC) FILETIME=[D949C170:01CCE065]
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Volatile file handles
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X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ZSBvdXQgd2hpY2ggcnVsZSB0byBhcHBseQ0KZGVwZW5kaW5n
IG9uIHdoZXRoZXIgdGhlIG9sZCBmaWxlaGFuZGxlIGlzIHN0YWxlLCBleHBpcmVkIG9yIHN0aWxs
IHZhbGlkDQoocmVhZCAtIGl0IHdvdWxkIHJlcXVpcmUgbW9yZSByb3VuZHRyaXBzIHRvIHRoZSBz
ZXJ2ZXIgb24gT1BFTiwgYW5kIHRodXMNCndvdWxkIGJlIFNMT1cuLi4uKS4NCg0KDQoNCi0tIA0K
VHJvbmQgTXlrbGVidXN0DQpMaW51eCBORlMgY2xpZW50IG1haW50YWluZXINCg0KTmV0QXBwDQpU
cm9uZC5NeWtsZWJ1c3RAbmV0YXBwLmNvbQ0Kd3d3Lm5ldGFwcC5jb20NCg0K

From Trond.Myklebust@netapp.com  Tue Jan 31 15:19:26 2012
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 23CA621F85C2 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 15:19:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.517
X-Spam-Level: 
X-Spam-Status: No, score=-10.517 tagged_above=-999 required=5 tests=[AWL=0.082, BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8yEMx8DTzCsj for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 15:19:25 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 27C2821F85C0 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 15:19:25 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,599,1320652800"; d="scan'208";a="621318995"
Received: from smtp1.corp.netapp.com ([10.57.156.124]) by mx2-out.netapp.com with ESMTP; 31 Jan 2012 15:19:09 -0800
Received: from sacrsexc2-prd.hq.netapp.com (sacrsexc2-prd.hq.netapp.com [10.99.115.28]) by smtp1.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q0VNJ9tA025434; Tue, 31 Jan 2012 15:19:09 -0800 (PST)
Received: from SACMVEXC4-PRD.hq.netapp.com ([10.99.115.25]) by sacrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 31 Jan 2012 15:19:05 -0800
Received: from VMWEXCEHT05-PRD.hq.netapp.com ([10.106.77.35]) by SACMVEXC4-PRD.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 31 Jan 2012 15:19:05 -0800
Received: from SACEXCMBX04-PRD.hq.netapp.com ([169.254.6.193]) by vmwexceht05-prd.hq.netapp.com ([10.106.77.35]) with mapi id 14.01.0355.002; Tue, 31 Jan 2012 15:19:04 -0800
From: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
To: "david.noveck@emc.com" <david.noveck@emc.com>
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AQHM34ZX9OTQu65Y9Ua1MIK3xUl9MZYmLQSAgAD054D//7+tUIAAwuWA
Date: Tue, 31 Jan 2012 23:19:03 +0000
Message-ID: <1328051941.3789.66.camel@lade.trondhjem.org>
References: <1885654529.431554.1327971309436.JavaMail.root@erie.cs.uoguelph.ca> <1328023901.4090.70.camel@lade.trondhjem.org> <5DEA8DB993B81040A21CF3CB332489F69D7376FE@MX31A.corp.emc.com>
In-Reply-To: <5DEA8DB993B81040A21CF3CB332489F69D7376FE@MX31A.corp.emc.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.104.60.116]
Content-Type: text/plain; charset="utf-8"
Content-ID: <9C8C4B5159AF554DB49E1A919453ECB6@tahoe.netapp.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginalArrivalTime: 31 Jan 2012 23:19:05.0015 (UTC) FILETIME=[B980C470:01CCE06E]
Cc: "bfields@fieldses.org" <bfields@fieldses.org>, "rmacklem@uoguelph.ca" <rmacklem@uoguelph.ca>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 23:19:26 -0000

VGhlIHRleHQgbG9va3MgZ29vZCB0byBtZSwgYnV0IEkgaGF2ZSBhIGZldyBtb3JlIHF1ZXN0aW9u
cy4NCg0KMSkgSW4gTkZTdjQgbWlub3IgdmVyc2lvbiAwLCBzaG91bGQgd2UgcGVyaGFwcyByZWNv
bW1lbmQgdGhhdCBhbGwNCmNsaWVudHMgaXNzdWUgREVMRUdQVVJHRSBhZnRlciB0aGV5IGhhdmUg
ZmluaXNoZWQgc3RhdGUgcmVjb3ZlcnkgKGkuZS4NCm1ha2UgZG9pbmcgc28gYSBTSE9VTEQpLiBJ
dCBzZWVtcyB0aGF0IGRvaW5nIHNvIGNhbiBjb25zaWRlcmFibHkgcmVkdWNlDQp0aGUgcmVzb3Vy
Y2UgYnVyZGVuIG9uIHRoZSBzZXJ2ZXIuDQoNCjIpIElzIENMQUlNX0RFTEVHQVRFX1BSRVYgYWxs
b3dlZCB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VyDQoNCk5ldEFwcA0KVHJvbmQuTXlrbGVidXN0QG5ldGFwcC5jb20NCnd3dy5u
ZXRhcHAuY29tDQoNCg==

From sshepler@microsoft.com  Tue Jan 31 15:28:33 2012
Return-Path: <sshepler@microsoft.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BAC6A21F84D1 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 15:28:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LFZVZBeVnj-c for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 15:28:32 -0800 (PST)
Received: from ch1outboundpool.messaging.microsoft.com (ch1ehsobe004.messaging.microsoft.com [216.32.181.184]) by ietfa.amsl.com (Postfix) with ESMTP id 8598C21F84CF for <nfsv4@ietf.org>; Tue, 31 Jan 2012 15:28:32 -0800 (PST)
Received: from mail137-ch1-R.bigfish.com (10.43.68.235) by CH1EHSOBE005.bigfish.com (10.43.70.55) with Microsoft SMTP Server id 14.1.225.23; Tue, 31 Jan 2012 23:28:31 +0000
Received: from mail137-ch1 (localhost [127.0.0.1])	by mail137-ch1-R.bigfish.com (Postfix) with ESMTP id 7C3A83803CB; Tue, 31 Jan 2012 23:28:31 +0000 (UTC)
X-SpamScore: -43
X-BigFish: VS-43(zz9371I936eK148cM542M1432N98dKzz1202hzz1033IL8275bh8275dhz2fhc1bhc31hc1ah2a8h668h839h944h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14MLTC101.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail137-ch1: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=sshepler@microsoft.com; helo=TK5EX14MLTC101.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail137-ch1 (localhost.localdomain [127.0.0.1]) by mail137-ch1 (MessageSwitch) id 1328052509711692_3853; Tue, 31 Jan 2012 23:28:29 +0000 (UTC)
Received: from CH1EHSMHS009.bigfish.com (snatpool2.int.messaging.microsoft.com [10.43.68.231])	by mail137-ch1.bigfish.com (Postfix) with ESMTP id A9CF6180046;	Tue, 31 Jan 2012 23:28:29 +0000 (UTC)
Received: from TK5EX14MLTC101.redmond.corp.microsoft.com (131.107.125.8) by CH1EHSMHS009.bigfish.com (10.43.70.9) with Microsoft SMTP Server (TLS) id 14.1.225.23; Tue, 31 Jan 2012 23:28:29 +0000
Received: from TK5EX14MBXC254.redmond.corp.microsoft.com ([169.254.2.100]) by TK5EX14MLTC101.redmond.corp.microsoft.com ([157.54.79.178]) with mapi id 14.02.0247.005; Tue, 31 Jan 2012 15:28:27 -0800
From: Spencer Shepler <sshepler@microsoft.com>
To: "Myklebust, Trond" <Trond.Myklebust@netapp.com>, "david.noveck@emc.com" <david.noveck@emc.com>
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AczcVrzVz68FMmLxThqahQHwSR8RMgAhL0yAABkecoAAA6VCAAABpY6AABCFsgAAhg34AAAGfccAAAspAIAAHpz4AAAMuFqAAAOaFYAAEHdvQA==
Date: Tue, 31 Jan 2012 23:28:27 +0000
Message-ID: <039D3CB813A4D544863BB7D4F46A1857115098@TK5EX14MBXC254.redmond.corp.microsoft.com>
References: <1885654529.431554.1327971309436.JavaMail.root@erie.cs.uoguelph.ca> <1328023901.4090.70.camel@lade.trondhjem.org> <5DEA8DB993B81040A21CF3CB332489F69D7376FE@MX31A.corp.emc.com> <1328051941.3789.66.camel@lade.trondhjem.org>
In-Reply-To: <1328051941.3789.66.camel@lade.trondhjem.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.33]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Cc: "bfields@fieldses.org" <bfields@fieldses.org>, "rmacklem@uoguelph.ca" <rmacklem@uoguelph.ca>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 31 Jan 2012 23:28:33 -0000

Thanks for driving this, Dave.  When we seem to have consensus,
I would like to have a "clean" version of the text prep'd for
WG approval so that we can push it into the errata mechanism.

Spencer

> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of
> Myklebust, Trond
> Sent: Tuesday, January 31, 2012 3:19 PM
> To: david.noveck@emc.com
> Cc: bfields@fieldses.org; rmacklem@uoguelph.ca; nfsv4@ietf.org
> Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
>=20
> The text looks good to me, but I have a few more questions.
>=20
> 1) In NFSv4 minor version 0, should we perhaps recommend that all clients
> issue DELEGPURGE after they have finished state recovery (i.e.
> make doing so a SHOULD). It seems that doing so can considerably reduce
> the resource burden on the server.
>=20
> 2) Is CLAIM_DELEGATE_PREV allowed during the grace period? Both Rick and =
I
> seem to assume that it must be if the server is to support reclaims after
> a power failure, etc.
>         If so, why could we not just let RECLAIM_COMPLETE act as an
>         implicit DELEGPURGE and just deprecate the latter altogether?
>         Are there any existing client implementations out there that
>         would suffer if we did this?
>=20
> Cheers
>   Trond
>=20
> On Tue, 2012-01-31 at 16:35 -0500, david.noveck@emc.com wrote:
> > So here is my updated proposal for clarification/corrections that I'd
> > like the group to consider.  The T* notes correspond to Trond's
> > Comments.
> >
> > ..>     Explicitly state DELEGPURGE supported iff CLAIM_DELEGATE_PREV i=
s
> > T2>     supported.  Either both will return NFS4ERR_NOTSUPP or neither
> will.
> > T2>     Note that NFS4ERR_NOTSUPP is already used to indicate that
> exclusive
> > T2>     OPEN is not supported even though OPEN as a whole is.
> > ..>
> > T1>     CLAIM_DELEGATE_PREV may only be used after a SETCLIENTID_CONFIR=
M
> and before
> > T1>     DELEGPURGE.  When it is used outside of this context, the
> server,
> > T1>     if it supports CLAIM_DELEGATE_PREV, will return the error
> > T1>     NFS4ERR_INVAL
> > ..>     CLAIM_DELEGATE_PREV is primarily to deal with the case in which
> the
> > ..>     client (only) restarts.
> > T1>     Another case in which the client may use CLAIM_DELEGATE_PREV is
> > T1>     after receiving NFS4ERR_EXPIRED indicating a network partition
> > T1>     which resulted in loss of lease state.  In such a situation, a
> > T1>     server MAY honor a CLAIM_DELEGATE_PREV reclaim, even though it
> > T1>     is not supporting "courtesy locks".
> > ..>
> > T5>     One good way to think about persistent delegations is that for
> the most
> > T5>     part, they function like "courtesy locks", with a special
> semantic
> > T5>     adjustments to allow them to be retained across a client
> restart, which
> > T5>     cause all other sorts of locks to be freed.  Such locks are
> generally
> > T5>     not retained across a server restart.  The one exception is the
> > T5>     case of simultaneous failure of the client and server and is
> discussed
> > T5>     below.
> > ..>
> > ..>     When the server indicates support of CLAIM_DELEGATE_PREV
> (implicitly)
> > ..>     by returning NFS_OK to DELEGPURGE, a client with a write
> delegation,
> > ..>     use write-back caching for data to be written to the server,
> deferring
> > ..>     the write-back, until such time as the delegation is recalled,
> possibly
> > ..>     after intervening client restarts.  Similarly, when the server
> indicates
> > ..>     support of CLAIM_DELEGATE_PREV, a client with a read delegation
> and
> > ..>     an open-for-write subordinate to that delegation, may be sure o=
f
> the
> > ..>     integrity of its persistently cached copy of the file after a
> client
> > ..>     restart without specific verification of the change attribute.
> > ..>
> > T2>     When a server supports CLAIM_DELEGATE_PREV and there is no
> > T2>     persistent delegation for the specified file, known to the
> server,
> > T2>     NFS4ERR_BAD_RECLAIM is returned.
> > ..>
> > ..>     Case in which you have a series of client and server failures
> where
> > ..>     there is no restart of both at the same time, are dealt with vi=
a
> a
> > T3>     combination of CLAIM_DELEGATE_PREV and CLAIM_PREVIOUS reclaims.
> > ..>     Persistent storage is needed only on the client.  For each
> server
> > T3>     failure, a CLAIM_PREVIOUS reclaim is done, while for each
> > T3> client
> > ..>     restart, CLAIM_DELEGATE_PREV reclaim is done.
> > ..>
> > ..>     To deal with the possibility of simultaneous failure of client
> and
> > ..>     server (power outages, etc.), the server MAY persistently store
> > ..>     delegation information so that it can respond to a
> CLAIM_DELEGATE_PREV
> > T5>     reclaim request which it receives from a restarting client.
> This
> > T5>     is the one case in which persistent delegation state can be
> retained
> > T5>     across a server restart.  A server  is not required to store
> > T5> this
> > ..>     information, but if it does do so, it should do so for write
> > ..>     delegations and for read delegations, during the pendency of
> which
> > ..>     (across multiple client and/or server instances), some open-for=
-
> write
> > ..>     was done as part of delegation. When the space to persistently
> > ..>     record such information is limited, the server should recall
> > ..>     delegations in this class in preference to keeping them active
> without
> > ..>     persistent storage recording.
> > ..>
> > T4>     In all the situations in which CLAIM_DELEGATE_PREV is validly
> done,
> > T4>     there should have been some situation which caused locking stat=
e
> > T4>     relevant to the client (with the exception of that relating to
> persistent
> > T4>     delegations) to be reset:  Either a client restart will be seen
> by the
> > T4>     server or the server will have reset all lease state and
> returned
> > T4>     NFS4ERR_EXPIRED.  This would include lokowner state.
> > T4>
> > T4>     Note that when there is a network partition and some lock state
> is
> > T4>     preserved (in the form of "courtesy locks"), locking state is
> not reset
> > T4>     and use of CLAIM_DELEGATE_PREV is not needed since any still-
> valid
> > T4>     delegations will still be available as "courtesy locks".
> > ..>
> > ..>     TBD: Review the "edge condition" text in light of persistent
> delegations.
> >
> >
>=20
> --
> Trond Myklebust
> Linux NFS client maintainer
>=20
> NetApp
> Trond.Myklebust@netapp.com
> www.netapp.com
>=20
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4



From rmacklem@uoguelph.ca  Tue Jan 31 16:13:38 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 784BB21F84DE for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 16:13:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.985
X-Spam-Level: 
X-Spam-Status: No, score=-5.985 tagged_above=-999 required=5 tests=[AWL=0.614,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4S9rAttNZzB8 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 16:13:37 -0800 (PST)
Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by ietfa.amsl.com (Postfix) with ESMTP id 6922921F84DD for <nfsv4@ietf.org>; Tue, 31 Jan 2012 16:13:37 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EAHGCKE+DaFvO/2dsb2JhbABDhQuqZYFyAQEBBAEBASBLCwwPGgINGQIpMAYTiAWnRpFsBIEviWIBBQICHQMEAQ4BCAUDAwkNgwMCBgUCBAwGDQMJAgJzDw8CAYIhgRYEiECMYIkuiUQ
X-IronPort-AV: E=Sophos;i="4.71,599,1320642000"; d="scan'208";a="154528607"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 31 Jan 2012 19:13:36 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 1D1C3B3F1E; Tue, 31 Jan 2012 19:13:36 -0500 (EST)
Date: Tue, 31 Jan 2012 19:13:36 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: david noveck <david.noveck@emc.com>
Message-ID: <362270207.518479.1328055216008.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <5DEA8DB993B81040A21CF3CB332489F69D7376FE@MX31A.corp.emc.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.202]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: bfields@fieldses.org, Trond Myklebust <Trond.Myklebust@netapp.com>, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Feb 2012 00:13:38 -0000

This text reads well to me, except for a couple of trivial typos
that I've flagged below, rick.

----- Original Message -----
> So here is my updated proposal for clarification/corrections that
> I'd like the group to consider. The T* notes correspond to Trond's
> Comments.
> 
> ..> Explicitly state DELEGPURGE supported iff CLAIM_DELEGATE_PREV is
> T2> supported. Either both will return NFS4ERR_NOTSUPP or neither
> will.
> T2> Note that NFS4ERR_NOTSUPP is already used to indicate that
> exclusive
> T2> OPEN is not supported even though OPEN as a whole is.
> ..>
> T1> CLAIM_DELEGATE_PREV may only be used after a SETCLIENTID_CONFIRM
> and before
> T1> DELEGPURGE. When it is used outside of this context, the server,
> T1> if it supports CLAIM_DELEGATE_PREV, will return the error
> T1> NFS4ERR_INVAL
> ..> CLAIM_DELEGATE_PREV is primarily to deal with the case in which
> the
> ..> client (only) restarts.
> T1> Another case in which the client may use CLAIM_DELEGATE_PREV is
> T1> after receiving NFS4ERR_EXPIRED indicating a network partition
> T1> which resulted in loss of lease state. In such a situation, a
> T1> server MAY honor a CLAIM_DELEGATE_PREV reclaim, even though it
> T1> is not supporting "courtesy locks".
> ..>
> T5> One good way to think about persistent delegations is that for the
> most
> T5> part, they function like "courtesy locks", with a special semantic
> T5> adjustments to allow them to be retained across a client restart,
> which
> T5> cause all other sorts of locks to be freed. Such locks are
> generally
> T5> not retained across a server restart. The one exception is the
> T5> case of simultaneous failure of the client and server and is
> discussed
> T5> below.
> ..>
> ..> When the server indicates support of CLAIM_DELEGATE_PREV
> (implicitly)
> ..> by returning NFS_OK to DELEGPURGE, a client with a write
> delegation,
> ..> use write-back caching for data to be written to the server,
> deferring
There seems to be a word or two missing here. Maybe "may use write-back caching..."?

> ..> the write-back, until such time as the delegation is recalled,
> possibly
Do you want the comma after write-back?

> ..> after intervening client restarts. Similarly, when the server
> indicates
> ..> support of CLAIM_DELEGATE_PREV, a client with a read delegation
> and
> ..> an open-for-write subordinate to that delegation, may be sure of
> the
> ..> integrity of its persistently cached copy of the file after a
> client
> ..> restart without specific verification of the change attribute.
> ..>
> T2> When a server supports CLAIM_DELEGATE_PREV and there is no
> T2> persistent delegation for the specified file, known to the server,
> T2> NFS4ERR_BAD_RECLAIM is returned.
It's actually NFS4ERR_RECLAIM_BAD, at least in RFC3530.

> ..>
> ..> Case in which you have a series of client and server failures
> where
> ..> there is no restart of both at the same time, are dealt with via a
> T3> combination of CLAIM_DELEGATE_PREV and CLAIM_PREVIOUS reclaims.
> ..> Persistent storage is needed only on the client. For each server
> T3> failure, a CLAIM_PREVIOUS reclaim is done, while for each client
> ..> restart, CLAIM_DELEGATE_PREV reclaim is done.
> ..>
> ..> To deal with the possibility of simultaneous failure of client and
> ..> server (power outages, etc.), the server MAY persistently store
> ..> delegation information so that it can respond to a
> CLAIM_DELEGATE_PREV
> T5> reclaim request which it receives from a restarting client. This
> T5> is the one case in which persistent delegation state can be
> retained
> T5> across a server restart. A server is not required to store this
> ..> information, but if it does do so, it should do so for write
> ..> delegations and for read delegations, during the pendency of which
Is "pendency" a word? (If so, it's just my poor english, but I don't
follow what "during the pendency..." is saying?

> ..> (across multiple client and/or server instances), some
> open-for-write
> ..> was done as part of delegation. When the space to persistently
> ..> record such information is limited, the server should recall
> ..> delegations in this class in preference to keeping them active
> without
> ..> persistent storage recording.
> ..>
> T4> In all the situations in which CLAIM_DELEGATE_PREV is validly
> done,
> T4> there should have been some situation which caused locking state
> T4> relevant to the client (with the exception of that relating to
> persistent
> T4> delegations) to be reset: Either a client restart will be seen by
> the
> T4> server or the server will have reset all lease state and returned
> T4> NFS4ERR_EXPIRED. This would include lokowner state.
                                         lockowner
> T4>
> T4> Note that when there is a network partition and some lock state is
> T4> preserved (in the form of "courtesy locks"), locking state is not
> reset
> T4> and use of CLAIM_DELEGATE_PREV is not needed since any still-valid
> T4> delegations will still be available as "courtesy locks".
> ..>
> ..> TBD: Review the "edge condition" text in light of persistent
> delegations.
> 
> 
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

From rmacklem@uoguelph.ca  Tue Jan 31 16:23:49 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DE2D221F8526 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 16:23:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.718
X-Spam-Level: 
X-Spam-Status: No, score=-5.718 tagged_above=-999 required=5 tests=[AWL=0.281,  BAYES_00=-2.599, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id H+w660dgjWzq for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 16:23:49 -0800 (PST)
Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by ietfa.amsl.com (Postfix) with ESMTP id 1F70D21F85D5 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 16:23:48 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EAF+FKE+DaFvO/2dsb2JhbABDhQuqZYFyAQEEASNWBRYYAgINGQJZBogPp1ORcYEviWIBBQICHQMEAQ4BCAUDAwkNEoJxAgYFAgQMBg0DCQICcw8PAgGCIYEWBIhAjGCJLolE
X-IronPort-AV: E=Sophos;i="4.71,599,1320642000"; d="scan'208";a="154529357"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 31 Jan 2012 19:23:48 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 5D13AB3F96; Tue, 31 Jan 2012 19:23:48 -0500 (EST)
Date: Tue, 31 Jan 2012 19:23:48 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Message-ID: <988053382.518900.1328055828361.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <1328051941.3789.66.camel@lade.trondhjem.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.201]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: bfields@fieldses.org, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Feb 2012 00:23:50 -0000

Trond Myklebust wrote:
> The text looks good to me, but I have a few more questions.
> 
> 1) In NFSv4 minor version 0, should we perhaps recommend that all
> clients issue DELEGPURGE after they have finished state recovery (i.e.
> make doing so a SHOULD). It seems that doing so can considerably
> reduce
> the resource burden on the server.
> 
> 2) Is CLAIM_DELEGATE_PREV allowed during the grace period? Both Rick
> and
> I seem to assume that it must be if the server is to support reclaims
> after a power failure, etc.
> If so, why could we not just let RECLAIM_COMPLETE act as an
> implicit DELEGPURGE and just deprecate the latter altogether?

Don't we want to keep DELEGPURGE so that a client can use it to
get the "hint" as to whether or not CLAIM_DELEGATE_PREV is supported?

Also, it might be less confusing if DELEGPURGE is retained with the
same semantics for all NFSv.n? It is only one extra Op, which could
be put in the same compound as RECLAIM_COMPLETE after recovery, I think?

> Are there any existing client implementations out there that
> would suffer if we did this?
> 
Not at this point for the FreeBSD one. I haven't gotten to the point
of doing CLAIM_DELEGATE_PREV yet, rick


From Trond.Myklebust@netapp.com  Tue Jan 31 16:43:41 2012
Return-Path: <Trond.Myklebust@netapp.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 77CC511E808A for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 16:43:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -10.224
X-Spam-Level: 
X-Spam-Status: No, score=-10.224 tagged_above=-999 required=5 tests=[AWL=-0.225, BAYES_00=-2.599, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZTSQeumoLXv0 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 16:43:37 -0800 (PST)
Received: from mx2.netapp.com (mx2.netapp.com [216.240.18.37]) by ietfa.amsl.com (Postfix) with ESMTP id 6CCBB11E8087 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 16:43:36 -0800 (PST)
X-IronPort-AV: E=Sophos;i="4.71,599,1320652800"; d="scan'208";a="621337600"
Received: from smtp2.corp.netapp.com ([10.57.159.114]) by mx2-out.netapp.com with ESMTP; 31 Jan 2012 16:43:21 -0800
Received: from svlrsexc2-prd.hq.netapp.com (svlrsexc2-prd.hq.netapp.com [10.57.115.31]) by smtp2.corp.netapp.com (8.13.1/8.13.1/NTAP-1.6) with ESMTP id q110hHA5024108; Tue, 31 Jan 2012 16:43:21 -0800 (PST)
Received: from VMWEXCEHT01-PRD.hq.netapp.com ([10.106.76.239]) by svlrsexc2-prd.hq.netapp.com with Microsoft SMTPSVC(6.0.3790.4675);  Tue, 31 Jan 2012 16:43:15 -0800
Received: from SACEXCMBX04-PRD.hq.netapp.com ([169.254.6.193]) by vmwexceht01-prd.hq.netapp.com ([10.106.76.239]) with mapi id 14.01.0355.002; Tue, 31 Jan 2012 16:42:21 -0800
From: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
To: Rick Macklem <rmacklem@uoguelph.ca>
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AQHM34ZX9OTQu65Y9Ua1MIK3xUl9MZYmLQSAgAD054D//7+tUIAAwuWAgAASGgCAAAVqgA==
Date: Wed, 1 Feb 2012 00:43:13 +0000
Message-ID: <1328056991.3789.78.camel@lade.trondhjem.org>
References: <988053382.518900.1328055828361.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <988053382.518900.1328055828361.JavaMail.root@erie.cs.uoguelph.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.104.60.116]
Content-Type: text/plain; charset="utf-8"
Content-ID: <1946884B6C95CB45BDE4DC07B148424E@tahoe.netapp.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginalArrivalTime: 01 Feb 2012 00:43:15.0865 (UTC) FILETIME=[7C0B5090:01CCE07A]
Cc: "bfields@fieldses.org" <bfields@fieldses.org>, "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscrib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kg
dGhpbms/DQoNCklmIHRoZSBpbnRlbnRpb24gaXMgdGhhdCBDTEFJTV9ERUxFR0FURV9QUkVWIGNh
biBvbmx5IGJlIHBlcmZvcm1lZCBhcw0KcGFydCBvZiB0aGUgc3RhdGUgcmVjb3ZlcnkgcHJvY2Vz
cywgdGhlbiBJIHRoaW5rIGl0IGlzIGNsZWFyZXIgaWYgd2UNCmp1c3QgaGF2ZSBhIHNpbmdsZSBv
cGVyYXRpb24gdGhhdCBkZXNpZ25hdGVzICJlbmQgb2YgcmVjb3ZlcnkiLiBPbmNlIHdlDQpzdGFy
dCBhbGxvd2luZyAiZW5kIG9mIHJlY292ZXJ5LCBleGNlcHQuLi4uIiwgdGhlbiB3ZSdyZSBvbiBh
IHNsaXBwZXJ5DQpzbG9wZSB0byB1bm5lY2Vzc2FyeSBjb21wbGV4aXR5IGFuZCBjb25mdXNpb24u
DQoNCi0tIA0KVHJvbmQgTXlrbGVidXN0DQpMaW51eCBORlMgY2xpZW50IG1haW50YWluZXINCg0K
TmV0QXBwDQpUcm9uZC5NeWtsZWJ1c3RAbmV0YXBwLmNvbQ0Kd3d3Lm5ldGFwcC5jb20NCg0K

From rmacklem@uoguelph.ca  Tue Jan 31 16:45:26 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2C91C11E808A for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 16:45:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.032
X-Spam-Level: 
X-Spam-Status: No, score=-6.032 tagged_above=-999 required=5 tests=[AWL=0.567,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5+cdu4qr2d+C for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 16:45:25 -0800 (PST)
Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by ietfa.amsl.com (Postfix) with ESMTP id 9991B11E8087 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 16:45:25 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EAMGJKE+DaFvO/2dsb2JhbABDhQuqZ4FyAQEBBAEBASBLCxsYAgINGQIpMAYTiAWnSpFrBIEviWIBBQICHQMEAQ4BCAUDAwkNEoJxAgYFAgQMBg0DCQICc4JCgRYEiECMYJJy
X-IronPort-AV: E=Sophos;i="4.71,599,1320642000"; d="scan'208";a="154531066"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 31 Jan 2012 19:45:24 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 0BA00B3F20; Tue, 31 Jan 2012 19:45:25 -0500 (EST)
Date: Tue, 31 Jan 2012 19:45:25 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: Bill Baker <Bill.Baker@Oracle.com>
Message-ID: <1676568485.519832.1328057125009.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <4F283C8A.306@Oracle.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.203]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: nfsv4@ietf.org
Subject: Re: [nfsv4] Volatile file handles
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Feb 2012 00:45:26 -0000

Bill Baker wrote:
> On 01/31/12 12:29, Haynes, Tom wrote:
> > Has anyone tried implementing volatile file handles in NFSv4?
> >
> > I know neither the Linux nor Solaris clients currently have it in
> > there.
> 
> The solaris client does support volatile file handles.
> 
Can I assume by support you mean that, when the client receives a
NFS4ERR_FHEXPIRED it does something like:
PUTROOTFH, LOOKUP,...,LOOKUP, GETFH
(for all the name components that were used to acquire the original FH)
and then it "hopes" that the new FH actually refers to the same file
object and not just a different one under the same name?

I can imagine some pretty interesting behaviour when the file object
has been replaced by one with the same name.

The FreeBSD server never generates them and the FreeBSD client has no
idea what to do with NFS4ERR_FHEXPIRED (ie. it's a fatal error).

rick, who is basically in Trond's camp on this one.

> >
> > In a round about way, if no one implements part of the spec, should
> > we
> > consider dropping support?
> 
> 
> 
> 
> --
> Bill Baker, Oracle Solaris NFS development
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4

From rmacklem@uoguelph.ca  Tue Jan 31 17:28:02 2012
Return-Path: <rmacklem@uoguelph.ca>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C97E711E80AC for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 17:28:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.759
X-Spam-Level: 
X-Spam-Status: No, score=-5.759 tagged_above=-999 required=5 tests=[AWL=0.240,  BAYES_00=-2.599, J_CHICKENPOX_41=0.6, RCVD_IN_DNSWL_MED=-4]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Qjn3TzzX-n0W for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 17:28:01 -0800 (PST)
Received: from esa-annu.mail.uoguelph.ca (esa-annu.mail.uoguelph.ca [131.104.91.36]) by ietfa.amsl.com (Postfix) with ESMTP id C8F0F11E809D for <nfsv4@ietf.org>; Tue, 31 Jan 2012 17:28:01 -0800 (PST)
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: Ap4EAJaUKE+DaFvO/2dsb2JhbABDhQuqZ4FyAQEEASMmMAUWGAICDRkCWQYTh3ynSZFwgS+JcAEFAgIdAwQBDgEIBQMDCQ2DAwIGBQIEDAYNAwkCAnMPDwIBgiGBFgSIQIxgiS6JRA
X-IronPort-AV: E=Sophos;i="4.71,599,1320642000"; d="scan'208";a="154534688"
Received: from erie.cs.uoguelph.ca (HELO zcs3.mail.uoguelph.ca) ([131.104.91.206]) by esa-annu-pri.mail.uoguelph.ca with ESMTP; 31 Jan 2012 20:28:01 -0500
Received: from zcs3.mail.uoguelph.ca (localhost.localdomain [127.0.0.1]) by zcs3.mail.uoguelph.ca (Postfix) with ESMTP id 08C33B3F1F; Tue, 31 Jan 2012 20:28:01 -0500 (EST)
Date: Tue, 31 Jan 2012 20:28:01 -0500 (EST)
From: Rick Macklem <rmacklem@uoguelph.ca>
To: Trond Myklebust <Trond.Myklebust@netapp.com>
Message-ID: <1943761918.521933.1328059681023.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <1328056991.3789.78.camel@lade.trondhjem.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
X-Originating-IP: [172.17.91.202]
X-Mailer: Zimbra 6.0.10_GA_2692 (ZimbraWebClient - FF3.0 (Win)/6.0.10_GA_2692)
Cc: bfields@fieldses.org, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Feb 2012 01:28:02 -0000

Trond Myklebust wrote:
> On Tue, 2012-01-31 at 19:23 -0500, Rick Macklem wrote:
> > Trond Myklebust wrote:
> > > The text looks good to me, but I have a few more questions.
> > >
> > > 1) In NFSv4 minor version 0, should we perhaps recommend that all
> > > clients issue DELEGPURGE after they have finished state recovery
> > > (i.e.
> > > make doing so a SHOULD). It seems that doing so can considerably
> > > reduce
> > > the resource burden on the server.
> > >
> > > 2) Is CLAIM_DELEGATE_PREV allowed during the grace period? Both
> > > Rick
> > > and
> > > I seem to assume that it must be if the server is to support
> > > reclaims
> > > after a power failure, etc.
> > > If so, why could we not just let RECLAIM_COMPLETE act as an
> > > implicit DELEGPURGE and just deprecate the latter altogether?
> >
> > Don't we want to keep DELEGPURGE so that a client can use it to
> > get the "hint" as to whether or not CLAIM_DELEGATE_PREV is
> > supported?
> 
> If it needs that information, can't it just try to
> OPEN(CLAIM_DELEGATE_PREV) on the file that it wants to cache?
> 
It could, but an OPEN is a lot more complicated to do than DELEGPURGE.
I'd just like to do this right at mount time to set a flag on the
mount point, before I have a valid name in a directory FH or a valid
FH for a regular file to do the OPEN on.
(Also, if the OPEN succeeds, the client needs to close the
OPEN stateid and, maybe, DELEGRETURN the delegation. It shouldn't
succeed, but if a server does allow it...)

It does, however, bring up the question of whether DELEGPURGE can be
done before or after RECLAIM_COMPLETE, if it is retained for NFSv4.1?

I can't find anything in RFC5661 that answers this. The description for
RECLAIM_COMPLETE refers to lock recovery and lock ops. (see snippet below)
Since a delegation isn't a "lock", I'd say the current words allow DELEGPURGE
either before or after RECLAIM_COMPLETE. (An Open is a form of lock,
but a delegation isn't, so you could interpret this either way, I think?)
I think the same applies to OPEN(CLAIM_DELEGATE_PREV) w.r.t. can it be
done before/after RECLAIM_COMPLETE?

When I read Dave's current words, it seems to allow a server to retain
old delegations for a long time, if it wishes to do so. As such, I can
see it allowing an OPEN(CLAIM_DELEGATE_PREV) after RECLAIM_COMPLETE and
after Grace is over. If that is allowed, then DELEGPURGE needs to be
retained and be allowed after RECLAIM_COMPLETE.

> According to Dave's proposed text, the server will return
> NFS4ERR_NOT_SUPP in the case where there is no support at all, or
> something along the lines of NFS4ERR_RECLAIM_BAD if there is support
> but
> the delegation is being reclaimed at the wrong moment.
> 
> > Also, it might be less confusing if DELEGPURGE is retained with the
> > same semantics for all NFSv.n? It is only one extra Op, which could
> > be put in the same compound as RECLAIM_COMPLETE after recovery, I
> > think?
> 
> If the intention is that CLAIM_DELEGATE_PREV can only be performed as
> part of the state recovery process, then I think it is clearer if we
> just have a single operation that designates "end of recovery". Once
> we
> start allowing "end of recovery, except....", then we're on a slippery
> slope to unnecessary complexity and confusion.
> 
Well, here's a snippet from the RECLAIM_COMPLETE description:

   Once a RECLAIM_COMPLETE is done, there can be no further reclaim
   operations for locks whose scope is defined as having completed
   recovery.  Once the client sends RECLAIM_COMPLETE, the server will
   not allow the client to do subsequent reclaims of locking state for
   that scope and, if these are attempted, will return NFS4ERR_NO_GRACE.

   Whenever a client establishes a new client ID and before it does the
   first non-reclaim operation that obtains a lock, it MUST send a
   RECLAIM_COMPLETE with rca_one_fs set to FALSE, even if there are no
   locks to reclaim.  If non-reclaim locking operations are done before
   the RECLAIM_COMPLETE, an NFS4ERR_GRACE error will be returned.

It always seems to refer to recovery of locks. However, I can see an
argument for restricting DELEGPURGE and OPEN(CLAIM_DELEGATE_PREV)
to before a RECLAIM_COMPLETE, to keep it simpler.

rick

> --
> Trond Myklebust
> Linux NFS client maintainer
> 
> NetApp
> Trond.Myklebust@netapp.com
> www.netapp.com

From david.noveck@emc.com  Tue Jan 31 18:05:24 2012
Return-Path: <david.noveck@emc.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1A7911E808E for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 18:05:24 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.499
X-Spam-Level: 
X-Spam-Status: No, score=-9.499 tagged_above=-999 required=5 tests=[AWL=1.100,  BAYES_00=-2.599, RCVD_IN_DNSWL_HI=-8]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Cc9wStxNfj9g for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 18:05:23 -0800 (PST)
Received: from mexforward.lss.emc.com (mexforward.lss.emc.com [128.222.32.20]) by ietfa.amsl.com (Postfix) with ESMTP id 7810821F848C for <nfsv4@ietf.org>; Tue, 31 Jan 2012 18:05:23 -0800 (PST)
Received: from hop04-l1d11-si04.isus.emc.com (HOP04-L1D11-SI04.isus.emc.com [10.254.111.24]) by mexforward.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q1125FLF018764 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 31 Jan 2012 21:05:16 -0500
Received: from mailhub.lss.emc.com (mailhub.lss.emc.com [10.254.221.251]) by hop04-l1d11-si04.isus.emc.com (RSA Interceptor); Tue, 31 Jan 2012 21:05:01 -0500
Received: from mxhub25.corp.emc.com (mxhub25.corp.emc.com [10.254.110.181]) by mailhub.lss.emc.com (Switch-3.4.3/Switch-3.4.3) with ESMTP id q1124xbe013241; Tue, 31 Jan 2012 21:04:59 -0500
Received: from mx31a.corp.emc.com ([169.254.1.84]) by mxhub25.corp.emc.com ([10.254.110.181]) with mapi; Tue, 31 Jan 2012 21:04:59 -0500
From: <david.noveck@emc.com>
To: <Trond.Myklebust@netapp.com>
Date: Tue, 31 Jan 2012 21:04:58 -0500
Thread-Topic: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
Thread-Index: AQHM34ZX9OTQu65Y9Ua1MIK3xUl9MZYmLQSAgAD054D//7+tUIAAwuWA//+CyYA=
Message-ID: <5DEA8DB993B81040A21CF3CB332489F69D737749@MX31A.corp.emc.com>
References: <1885654529.431554.1327971309436.JavaMail.root@erie.cs.uoguelph.ca> <1328023901.4090.70.camel@lade.trondhjem.org> <5DEA8DB993B81040A21CF3CB332489F69D7376FE@MX31A.corp.emc.com> <1328051941.3789.66.camel@lade.trondhjem.org>
In-Reply-To: <1328051941.3789.66.camel@lade.trondhjem.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-EMM-MHVC: 1
Cc: bfields@fieldses.org, rmacklem@uoguelph.ca, nfsv4@ietf.org
Subject: Re: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Feb 2012 02:05:24 -0000

> 1) In NFSv4 minor version 0, should we perhaps recommend that all
> clients issue DELEGPURGE after they have finished state recovery (i.e.
> make doing so a SHOULD). It seems that doing so can considerably reduce
> the resource burden on the server.

Here are the cases we've talked about:

     client reboot : has some CLAIM_DELEGATE_PREV and then DELEGPURGE,
                     but no state recovery.
     Server reboot : has state recovery including CLAIM_PREVIOUS reclaim of
                     delegation, and no DELEGPURGE.  Should there be a DELE=
GPURGE=20
                     and why?
     Both reboot: has some CLAIM_DELEGATE_PREV which you can construe as st=
ate
                  recovery and a DELEGPURGE.
     Network partition with EXPIRED: may have some CLAIM_DELEGATE_PREV and
                                     A DELEGPURGE.  You may re-establish lo=
cks
                                     but not by doing reclaims but rather r=
edoing
                                     opens/locks if it lets you.=20

I think DELEGPURGE should stay associated with CLAIM_DELEGATE_PREV reclaims=
 only.

I think that for the cases in which you can do CLAIM_DELEGATE_PREV, one SHO=
ULD=20
do a DELEGPURGE.=20

> 2) Is CLAIM_DELEGATE_PREV allowed during the grace period? Both Rick and
> I seem to assume that it must be if the server is to support reclaims
> after a power failure, etc.

I've been assuming that as well but I agree it should be mentioned.
I think that the text should warn people, that during the grace
Period, no locks should be given out that conflict with persistent delegati=
ons
That have not been released by DELEGPURGE.

>       If so, why could we not just let RECLAIM_COMPLETE act as an
>       implicit DELEGPURGE and just deprecate the latter altogether?

1) DELEGPURGE now tells people that CLAIM_DELEGATE_PREV is supported so tha=
t
You can act based on the fact that the facility is available.

Also these are two separte sorts of recovery and the fact that you can do b=
oth at=20
The same time does not mean that you have to.

>       Are there any existing client implementations out there that
>       would suffer if we did this?.

No, but Tom and I would suffer because of all the editing that this would=20
cause.

-----Original Message-----
From: Myklebust, Trond [mailto:Trond.Myklebust@netapp.com]=20
Sent: Tuesday, January 31, 2012 6:19 PM
To: Noveck, David
Cc: rmacklem@uoguelph.ca; bfields@fieldses.org; nfsv4@ietf.org
Subject: RE: [nfsv4] Need for clarification of CLAIM_DELEGATE_PREV

The text looks good to me, but I have a few more questions.

1) In NFSv4 minor version 0, should we perhaps recommend that all
clients issue DELEGPURGE after they have finished state recovery (i.e.
make doing so a SHOULD). It seems that doing so can considerably reduce
the resource burden on the server.

2) Is CLAIM_DELEGATE_PREV allowed during the grace period? Both Rick and
I seem to assume that it must be if the server is to support reclaims
after a power failure, etc.
        If so, why could we not just let RECLAIM_COMPLETE act as an
        implicit DELEGPURGE and just deprecate the latter altogether?
        Are there any existing client implementations out there that
        would suffer if we did this?

Cheers
  Trond

On Tue, 2012-01-31 at 16:35 -0500, david.noveck@emc.com wrote:
> So here is my updated proposal for clarification/corrections that=20
> I'd like the group to consider.  The T* notes correspond to Trond's
> Comments.
>=20
> ..>     Explicitly state DELEGPURGE supported iff CLAIM_DELEGATE_PREV is
> T2>     supported.  Either both will return NFS4ERR_NOTSUPP or neither wi=
ll.
> T2>     Note that NFS4ERR_NOTSUPP is already used to indicate that exclus=
ive
> T2>     OPEN is not supported even though OPEN as a whole is.
> ..>=20
> T1>     CLAIM_DELEGATE_PREV may only be used after a SETCLIENTID_CONFIRM =
and before
> T1>     DELEGPURGE.  When it is used outside of this context, the server,
> T1>     if it supports CLAIM_DELEGATE_PREV, will return the error=20
> T1>     NFS4ERR_INVAL
> ..>     CLAIM_DELEGATE_PREV is primarily to deal with the case in which t=
he=20
> ..>     client (only) restarts.
> T1>     Another case in which the client may use CLAIM_DELEGATE_PREV is
> T1>     after receiving NFS4ERR_EXPIRED indicating a network partition
> T1>     which resulted in loss of lease state.  In such a situation, a
> T1>     server MAY honor a CLAIM_DELEGATE_PREV reclaim, even though it=20
> T1>     is not supporting "courtesy locks".
> ..>
> T5>     One good way to think about persistent delegations is that for th=
e most
> T5>     part, they function like "courtesy locks", with a special semanti=
c
> T5>     adjustments to allow them to be retained across a client restart,=
 which
> T5>     cause all other sorts of locks to be freed.  Such locks are gener=
ally=20
> T5>     not retained across a server restart.  The one exception is the
> T5>     case of simultaneous failure of the client and server and is disc=
ussed
> T5>     below.
> ..>
> ..>     When the server indicates support of CLAIM_DELEGATE_PREV (implici=
tly)
> ..>     by returning NFS_OK to DELEGPURGE, a client with a write delegati=
on,
> ..>     use write-back caching for data to be written to the server, defe=
rring=20
> ..>     the write-back, until such time as the delegation is recalled, po=
ssibly
> ..>     after intervening client restarts.  Similarly, when the server in=
dicates
> ..>     support of CLAIM_DELEGATE_PREV, a client with a read delegation a=
nd
> ..>     an open-for-write subordinate to that delegation, may be sure of =
the=20
> ..>     integrity of its persistently cached copy of the file after a cli=
ent=20
> ..>     restart without specific verification of the change attribute.
> ..>
> T2>     When a server supports CLAIM_DELEGATE_PREV and there is no
> T2>     persistent delegation for the specified file, known to the server=
,
> T2>     NFS4ERR_BAD_RECLAIM is returned. =20
> ..>
> ..>     Case in which you have a series of client and server failures whe=
re
> ..>     there is no restart of both at the same time, are dealt with via =
a
> T3>     combination of CLAIM_DELEGATE_PREV and CLAIM_PREVIOUS reclaims. =
=20
> ..>     Persistent storage is needed only on the client.  For each server=
=20
> T3>     failure, a CLAIM_PREVIOUS reclaim is done, while for each client=
=20
> ..>     restart, CLAIM_DELEGATE_PREV reclaim is done.
> ..>
> ..>     To deal with the possibility of simultaneous failure of client an=
d=20
> ..>     server (power outages, etc.), the server MAY persistently store=20
> ..>     delegation information so that it can respond to a CLAIM_DELEGATE=
_PREV=20
> T5>     reclaim request which it receives from a restarting client.   Thi=
s
> T5>     is the one case in which persistent delegation state can be retai=
ned
> T5>     across a server restart.  A server  is not required to store this=
=20
> ..>     information, but if it does do so, it should do so for write=20
> ..>     delegations and for read delegations, during the pendency of whic=
h
> ..>     (across multiple client and/or server instances), some open-for-w=
rite=20
> ..>     was done as part of delegation. When the space to persistently
> ..>     record such information is limited, the server should recall=20
> ..>     delegations in this class in preference to keeping them active wi=
thout=20
> ..>     persistent storage recording.
> ..>
> T4>     In all the situations in which CLAIM_DELEGATE_PREV is validly don=
e,
> T4>     there should have been some situation which caused locking state=
=20
> T4>     relevant to the client (with the exception of that relating to pe=
rsistent
> T4>     delegations) to be reset:  Either a client restart will be seen b=
y the
> T4>     server or the server will have reset all lease state and returned=
=20
> T4>     NFS4ERR_EXPIRED.  This would include lokowner state.
> T4>
> T4>     Note that when there is a network partition and some lock state i=
s=20
> T4>     preserved (in the form of "courtesy locks"), locking state is not=
 reset
> T4>     and use of CLAIM_DELEGATE_PREV is not needed since any still-vali=
d=20
> T4>     delegations will still be available as "courtesy locks".
> ..>=20
> ..>     TBD: Review the "edge condition" text in light of persistent dele=
gations.
>=20
>=20

--=20
Trond Myklebust
Linux NFS client maintainer

NetApp
Trond.Myklebust@netapp.com
www.netapp.com


From sshepler@microsoft.com  Tue Jan 31 19:05:14 2012
Return-Path: <sshepler@microsoft.com>
X-Original-To: nfsv4@ietfa.amsl.com
Delivered-To: nfsv4@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 84B7F11E80C1 for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 19:05:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.599
X-Spam-Level: 
X-Spam-Status: No, score=-3.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZRhj7dfHwsHU for <nfsv4@ietfa.amsl.com>; Tue, 31 Jan 2012 19:05:14 -0800 (PST)
Received: from DB3EHSOBE002.bigfish.com (db3ehsobe005.messaging.microsoft.com [213.199.154.143]) by ietfa.amsl.com (Postfix) with ESMTP id 775F011E8096 for <nfsv4@ietf.org>; Tue, 31 Jan 2012 19:05:13 -0800 (PST)
Received: from mail80-db3-R.bigfish.com (10.3.81.239) by DB3EHSOBE002.bigfish.com (10.3.84.22) with Microsoft SMTP Server id 14.1.225.23; Wed, 1 Feb 2012 03:05:12 +0000
Received: from mail80-db3 (localhost [127.0.0.1])	by mail80-db3-R.bigfish.com (Postfix) with ESMTP id EA37D300546; Wed,  1 Feb 2012 03:05:11 +0000 (UTC)
X-SpamScore: -36
X-BigFish: VS-36(zzbb2dI9371I542M1432N98dKzz1202hzz1033IL8275dhz2fhc1bhc31hc1ah2a8h668h839h944h)
X-Forefront-Antispam-Report: CIP:131.107.125.8; KIP:(null); UIP:(null); IPV:NLI; H:TK5EX14MLTC102.redmond.corp.microsoft.com; RD:none; EFVD:NLI
Received-SPF: pass (mail80-db3: domain of microsoft.com designates 131.107.125.8 as permitted sender) client-ip=131.107.125.8; envelope-from=sshepler@microsoft.com; helo=TK5EX14MLTC102.redmond.corp.microsoft.com ; icrosoft.com ; 
Received: from mail80-db3 (localhost.localdomain [127.0.0.1]) by mail80-db3 (MessageSwitch) id 1328065497756265_8889; Wed,  1 Feb 2012 03:04:57 +0000 (UTC)
Received: from DB3EHSMHS002.bigfish.com (unknown [10.3.81.244])	by mail80-db3.bigfish.com (Postfix) with ESMTP id A82DC1C0048; Wed,  1 Feb 2012 03:04:57 +0000 (UTC)
Received: from TK5EX14MLTC102.redmond.corp.microsoft.com (131.107.125.8) by DB3EHSMHS002.bigfish.com (10.3.87.102) with Microsoft SMTP Server (TLS) id 14.1.225.23; Wed, 1 Feb 2012 03:04:57 +0000
Received: from TK5EX14MBXC254.redmond.corp.microsoft.com ([169.254.2.100]) by TK5EX14MLTC102.redmond.corp.microsoft.com ([157.54.79.180]) with mapi id 14.02.0247.005; Tue, 31 Jan 2012 19:04:36 -0800
From: Spencer Shepler <sshepler@microsoft.com>
To: Rick Macklem <rmacklem@uoguelph.ca>, Bill Baker <Bill.Baker@Oracle.com>
Thread-Topic: [nfsv4] Volatile file handles
Thread-Index: AQHM4EZLz5v/iM2dR0WlLdxm1QWB3ZYnXW0AgABdtID//58/QA==
Date: Wed, 1 Feb 2012 03:04:36 +0000
Message-ID: <039D3CB813A4D544863BB7D4F46A18571157B7@TK5EX14MBXC254.redmond.corp.microsoft.com>
References: <4F283C8A.306@Oracle.com> <1676568485.519832.1328057125009.JavaMail.root@erie.cs.uoguelph.ca>
In-Reply-To: <1676568485.519832.1328057125009.JavaMail.root@erie.cs.uoguelph.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [157.54.51.32]
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-OriginatorOrg: microsoft.com
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] Volatile file handles
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/nfsv4>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 01 Feb 2012 03:05:14 -0000

> -----Original Message-----
> From: nfsv4-bounces@ietf.org [mailto:nfsv4-bounces@ietf.org] On Behalf Of
> Rick Macklem
> Sent: Tuesday, January 31, 2012 4:45 PM
> To: Bill Baker
> Cc: nfsv4@ietf.org
> Subject: Re: [nfsv4] Volatile file handles
>=20
> Bill Baker wrote:
> > On 01/31/12 12:29, Haynes, Tom wrote:
> > > Has anyone tried implementing volatile file handles in NFSv4?
> > >
> > > I know neither the Linux nor Solaris clients currently have it in
> > > there.
> >
> > The solaris client does support volatile file handles.
> >
> Can I assume by support you mean that, when the client receives a
> NFS4ERR_FHEXPIRED it does something like:
> PUTROOTFH, LOOKUP,...,LOOKUP, GETFH
> (for all the name components that were used to acquire the original FH)
> and then it "hopes" that the new FH actually refers to the same file
> object and not just a different one under the same name?
>=20
> I can imagine some pretty interesting behaviour when the file object has
> been replaced by one with the same name.
>=20
> The FreeBSD server never generates them and the FreeBSD client has no ide=
a
> what to do with NFS4ERR_FHEXPIRED (ie. it's a fatal error).

Yes, the race conditions that exists with volatile file handles was underst=
ood
at the time the functionality was written into the specification.

The intent was that volatile file handles was not meant to be a general
solution.  It was meant to provide method for a server to create the interm=
edidate
components of the pseudo namespace (the "top" portions of such) in a way
that did not require full persistence with respect to fileids/persistent fi=
le handles.
The second use case was for those servers that did not have a file system t=
hat
provided unique/persistent identifiers for the file system objects.  In NFS=
v3, they
misrepresented the persistent file handles and in many cases have the same
race condition that you speak of above.  Again, the intent was to provide
a method for the client to know about this and make a choice in that it cou=
ld
outright fail (as you and Trond have chosen for your implementations), it c=
ould
recover and outright ignore the issue, or it could recover and make an atte=
mpt
to "match" the previous file if it were actively open.

For use in the pseudo namespace, I think the solution is very helpful.  Bey=
ond that,
I don't have a strong opinion because none of it is perfect...

Spencer


