RE: [nfsv4] Directory delegations, take 2

"Halevy, Benny" <bhalevy@panasas.com> Tue, 28 October 2003 14:50 UTC

Received: from optimus.ietf.org (ietf.org [132.151.1.19] (may be forged)) by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA25654 for <nfsv4-archive@odin.ietf.org>; Tue, 28 Oct 2003 09:50:27 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AEVAe-0006oR-EE for nfsv4-archive@odin.ietf.org; Tue, 28 Oct 2003 09:50:09 -0500
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id h9SEo8nT026186 for nfsv4-archive@odin.ietf.org; Tue, 28 Oct 2003 09:50:08 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AEVAe-0006oH-A0 for nfsv4-web-archive@optimus.ietf.org; Tue, 28 Oct 2003 09:50:08 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA25601 for <nfsv4-web-archive@ietf.org>; Tue, 28 Oct 2003 09:49:56 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AEVAc-0004Vu-00 for nfsv4-web-archive@ietf.org; Tue, 28 Oct 2003 09:50:06 -0500
Received: from ietf.org ([132.151.1.19] helo=optimus.ietf.org) by ietf-mx with esmtp (Exim 4.12) id 1AEVAc-0004Vr-00 for nfsv4-web-archive@ietf.org; Tue, 28 Oct 2003 09:50:06 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AEVAZ-0006nT-Tl; Tue, 28 Oct 2003 09:50:03 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AEVAV-0006mb-JU for nfsv4@optimus.ietf.org; Tue, 28 Oct 2003 09:49:59 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id JAA25588 for <nfsv4@ietf.org>; Tue, 28 Oct 2003 09:49:47 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AEVAT-0004VM-00 for nfsv4@ietf.org; Tue, 28 Oct 2003 09:49:57 -0500
Received: from gw2.panasas.com ([65.194.124.178] helo=PIKES.panasas.com) by ietf-mx with esmtp (Exim 4.12) id 1AEVAT-0004UV-00 for nfsv4@ietf.org; Tue, 28 Oct 2003 09:49:57 -0500
Received: by PIKES.panasas.com with Internet Mail Service (5.5.2653.19) id <SVSX7KQ2>; Tue, 28 Oct 2003 09:49:25 -0500
Message-ID: <30489F1321F5C343ACF6872B2CF7942A039DF8F3@PIKES.panasas.com>
From: "Halevy, Benny" <bhalevy@panasas.com>
To: 'David Robinson' <David.Robinson@sun.com>, nfsv4@ietf.org
Subject: RE: [nfsv4] Directory delegations, take 2
MIME-Version: 1.0
X-Mailer: Internet Mail Service (5.5.2653.19)
Content-Type: text/plain; charset="iso-8859-1"
Sender: nfsv4-admin@ietf.org
Errors-To: nfsv4-admin@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Post: <mailto:nfsv4@ietf.org>
List-Help: <mailto:nfsv4-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/mail-archive/working-groups/nfsv4/>
X-Original-Date: Tue, 28 Oct 2003 09:49:23 -0500
Date: Tue, 28 Oct 2003 09:49:23 -0500

[clip]
> Anothedr way of putting it is that what we have
>been calling a "recall" is just a change notification on all
>entries.

The difference is that a notification leaves the directory
delegated while a recall does not.

It will be nice to have a notification for the whole directory,
but I think the server must have a way to recall the delegation.
For example, when it needs to recycle resources.

- Benny

>-----Original Message-----
>From: David Robinson [mailto:David.Robinson@sun.com]
>Sent: Monday, October 27, 2003 11:13 PM
>To: nfsv4@ietf.org
>Subject: Re: [nfsv4] Directory delegations, take 2
>
>
>[Catching up on last week's thread...]
>
>Directory delegations in this round should be read-only.
>
>Why allow no seatbelts? My point was that with a delegation
>a client knows the state of its consistency, when asking
>for a delegation but ignoring the callback it knows when
>its cache is consistent and when it won't be. Without a delegation
>it has no way of knowing. Bottom line, this becomes a client
>quality of implementation issue, not a protocol issue so we can
>ignore it as a rant on my part.
>
>In recall versus change notification, with a read-only delegation
>a recall operation in the sense of a delegation is just a notification
>that the directory has changed as there is no data that will
>ever need to be written back, at worst it is just a cache flush
>notification. Anothedr way of putting it is that what we have
>been calling a "recall" is just a change notification on all
>entries. As one approach, we could design this so that we
>allow a change notification operation that takes a directory
>and a list of cookies, one for each entry that changed.  Then
>have the special zero cookie indicate all entries changed as
>an optimized method.
>
>Sync vs async, the issue is not timeliness, in both cases it is
>hard to guarentee timeliness.  But as Dave pointed out, the
>primary advantage of sync is in allowing ordering of operations.
>We MUST have sync notifications, but it may be useful to have
>on acquistion of a delegation the client specify if it wants
>sync or async notifications.  Some clients may not be able to do
>anything better with a sync notification so they may not want to
>impose a burden, while others may need it for interesting applications.
>
>Directory operations must be written through, there is no point in
>requiring the client to re-read what it just wrote or for a
>server to callback to the client that sent it the change, the client
>knows the current state.
>
>I understand the performance impact of not including the attributes
>into the delegation.  My major concern is in the area of scaleability.
>Currently in most Unix systems, data and metadata operations on a file
>require no locks or interactions with any other file, it is highly
>scaleable. Likewise naming operations only involve the directory
>involved and do not require locks on component files.  Tying the two
>could involve coordinating a large number of locks which will
>negatively effect scalability.  If we keep attribute delegation
>separate and allow per entry change notification, the impact of
>a directory changing will be modest and the change of a file's
>attributes would not ripple through other files.
>
>	-David
>
>
>
>_______________________________________________
>nfsv4 mailing list
>nfsv4@ietf.org
>https://www1.ietf.org/mailman/listinfo/nfsv4
>

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