Re: [nfsv4] New version of sparse draft (draft-hildebrand-nfsv4-read-sparse-01.txt)

Dean Hildebrand <seattleplus@gmail.com> Fri, 01 October 2010 22:57 UTC

Return-Path: <seattleplus@gmail.com>
X-Original-To: nfsv4@core3.amsl.com
Delivered-To: nfsv4@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 954BD3A6BB8 for <nfsv4@core3.amsl.com>; Fri, 1 Oct 2010 15:57:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.513
X-Spam-Level:
X-Spam-Status: No, score=-2.513 tagged_above=-999 required=5 tests=[AWL=0.086, BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9VvcIMJtPhcp for <nfsv4@core3.amsl.com>; Fri, 1 Oct 2010 15:57:36 -0700 (PDT)
Received: from mail-qw0-f44.google.com (mail-qw0-f44.google.com [209.85.216.44]) by core3.amsl.com (Postfix) with ESMTP id 3B4C93A6BCF for <nfsv4@ietf.org>; Fri, 1 Oct 2010 15:57:36 -0700 (PDT)
Received: by qwc9 with SMTP id 9so2045081qwc.31 for <nfsv4@ietf.org>; Fri, 01 Oct 2010 15:58:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=SNtYxHr/4ejmsnC0XnzqZbeU/Pr6IRO3fOkDZAVOarA=; b=D/dHqsLqKul8F/l2xwC8vMgS+ELLFD7PTY+cVMaeeo1C7h6tpnPC9eSmQ0CR0x88Xs bIghyJbdJ+Uh0Bu7sX5UQX3R+8MO+heKgU7s4ZeC7DRWRRmgmJ5/j6A8zDDjHQqcWbOb RaOhQhqhtJg05R6SUfhpDAfdsIiNjrTRWoQpk=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=lEy0PGKiPexVnTZIR8L4ekPDoAL3SzbFNbnHmNm0o29J++M2hTbZAV/y0F/xZYsVsa TgixTH6FdJFFjmfiwMnMr6NQFshMZUIc1eteXIItkOZPJz/7ueg6qSkCDCYnhgsdD3l4 s3wlx1syAJq8oLmT+k/cWjqsRJ9V1jDSDceMI=
Received: by 10.224.71.151 with SMTP id h23mr4142909qaj.219.1285973904974; Fri, 01 Oct 2010 15:58:24 -0700 (PDT)
Received: from [192.168.1.43] (pool-71-112-128-104.sttlwa.dsl-w.verizon.net [71.112.128.104]) by mx.google.com with ESMTPS id t24sm1839249qcs.11.2010.10.01.15.58.21 (version=SSLv3 cipher=RC4-MD5); Fri, 01 Oct 2010 15:58:23 -0700 (PDT)
Message-ID: <4CA6678B.3090902@gmail.com>
Date: Fri, 01 Oct 2010 15:58:19 -0700
From: Dean Hildebrand <seattleplus@gmail.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: Benny Halevy <bhalevy@panasas.com>
References: <4CA3CE95.10407@gmail.com> <E043D9D8EE3B5743B8B174A814FD584F0A64D38F@TK5EX14MBXC124.redmond.corp.microsoft.com> <4CA63E48.5070903@gmail.com> <E043D9D8EE3B5743B8B174A814FD584F0A69A182@TK5EX14MBXC124.redmond.corp.microsoft.com> <4CA6482F.2000609@gmail.com> <4CA65309.4060600@panasas.com> <4CA65D71.50000@gmail.com> <4CA66570.3010207@panasas.com>
In-Reply-To: <4CA66570.3010207@panasas.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: "nfsv4@ietf.org" <nfsv4@ietf.org>
Subject: Re: [nfsv4] New version of sparse draft (draft-hildebrand-nfsv4-read-sparse-01.txt)
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/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, 01 Oct 2010 22:57:37 -0000

On 10/1/2010 3:49 PM, Benny Halevy wrote:
> On 2010-10-02 00:15, Dean Hildebrand wrote:
>>>> Yes, I agree, implementation work is needed either way, and having a
>>>> more general READ function would probably benefit everyone.  I just
>>>> wanted to make it clear that a proposal is being made to deprecate the
>>>> current READ function and replace it with a more general READ operation.
>>> I'm not sure deprecating the legacy READ operation is required or even
>>> desired.  Why not specify the new READ operation as optional to the
>>> server and recommended for the client?
>> Sure, but remember that one operation would completely subsume the
>> other.    Not sure why in the long run this would be desirable to
>> maintain....
>>
> This simplifies client implementations that do not make use of the new
> functionality and makes them easier to port forward to support the new
> minor version.  My inclination would be to add the new op as optional
> in minor version X, and if it gains traction and we see interest
> and demonstrate interoperability, then the old op can be obsoleted
> in X+1.

Exactly, I want everyone to realize the fact that we are on the road to 
obsoleting READ.
Dean

> Benny
>
>> Dean
>>> Benny
>>>
>>>> I would like everyone on board with that and not have it used as an
>>>> excuse for rejection.
>>>> Dean
>>>>
>>>>> Spencer
>>>>>
>>>>> *From:* Dean Hildebrand [mailto:seattleplus@gmail.com]
>>>>> *Sent:* Friday, October 01, 2010 1:02 PM
>>>>> *To:* Spencer Shepler
>>>>> *Cc:* nfsv4@ietf.org
>>>>> *Subject:* Re: [nfsv4] New version of sparse draft
>>>>> (draft-hildebrand-nfsv4-read-sparse-01.txt)
>>>>>
>>>>>
>>>>> On 10/1/2010 9:38 AM, Spencer Shepler wrote:
>>>>>
>>>>> Thanks for the update, Dean.
>>>>>
>>>>> I tend to agree with others that it is likely best to introduce a new
>>>>> READ operation that
>>>>>
>>>>> incorporates the ideas presented in this draft.
>>>>>
>>>>> While a new operation is simple, it puts all the onus on clients to
>>>>> call the correct function.  Therefore, the only way for us to benefit
>>>>> from a new operation is if every client in existence stops using READ
>>>>> and switches to use the new operation.  If they do that, then what's
>>>>> the point of having the READ operation at all?
>>>>>
>>>>> So with a new operation, I'm just not sure what the guidance to
>>>>> implementors would be?  Stop using READ? We wanted a simple addition
>>>>> to the protocol, not to deprecate READ :)
>>>>>
>>>>>> This new operation could allow for ascatter/gather-like mechanism.
>>>>> Allowing the client to do a 1MB read and obtain all
>>>>>
>>>>>> of the data within that range while reducing the amount of data
>>>>> transferred is
>>>>>
>>>>>> attractive.
>>>>>
>>>>> More generally, your draft does combine the idea of space allocated at
>>>>> the server
>>>>>
>>>>> for the file with the method of effective transfer of data when zeros
>>>>> or unallocated
>>>>>
>>>>> or uninitialized ranges exist.  It is fine to combine the two ideas in
>>>>> the draft but
>>>>>
>>>>> a little more explicit language would be helpful (I will make some
>>>>> suggestions offline).
>>>>>
>>>>>
>>>>>
>>>>> It may be helpful to combine the these READ hole ideas with space
>>>>> allocation
>>>>>
>>>>> controls provided to the client (allocate, release/trim, etc.).
>>>>> Anyone else
>>>>>
>>>>> in the WG have an opinion here?
>>>>>
>>>>> Yes, Bruce pointed out that my text switches between zero and
>>>>> unallocated.  I need to clean up this language.  But in fact, they are
>>>>> one and the same idea.  The READ operation doesn't control space
>>>>> allocation, that would be create or write.  The READ operation just
>>>>> wants to know if it should return data or a flag.
>>>>>
>>>>> We want to propose the FADVISE like operation mentioned in Mike's
>>>>> draft at some point, this might be a good place for space allocation
>>>>> information.
>>>>> Dean
>>>>>
>>>>>
>>>>> Spencer
>>>>>
>>>>> *From:* nfsv4-bounces@ietf.org<mailto:nfsv4-bounces@ietf.org>
>>>>> [mailto:nfsv4-bounces@ietf.org] *On Behalf Of *Dean Hildebrand
>>>>> *Sent:* Wednesday, September 29, 2010 4:41 PM
>>>>> *To:* nfsv4@ietf.org<mailto:nfsv4@ietf.org>
>>>>> *Subject:* [nfsv4] New version of sparse draft
>>>>> (draft-hildebrand-nfsv4-read-sparse-01.txt)
>>>>>
>>>>> Hello,
>>>>>
>>>>> I uploaded a new version of our internet draft "Simple and Efficient
>>>>> Read Support for Sparse Files".
>>>>>
>>>>> http://www.ietf.org/id/draft-hildebrand-nfsv4-read-sparse-01.txt
>>>>>
>>>>> Please have a look and give us any feedback.
>>>>>
>>>>> The main changes are:
>>>>> 1) Added section regarding pNFS (which basically states that there are
>>>>> no real changes to how pNFS works)
>>>>> 2) Added example sparse read message flow
>>>>> 3) Added statement to the effect that if a client sends a read request
>>>>> for a chunk that ends in zeroes, the server can return a short read
>>>>> (thanks to Benny)
>>>>> 4) I didn't change the return value.  There was a suggestion to use a
>>>>> flag instead of overloaded the length parameter, but I'm not sure what
>>>>> this gives us (although it might be more clear in the doc)
>>>>>
>>>>> Dean
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> nfsv4 mailing list
>>>> nfsv4@ietf.org
>>>> https://www.ietf.org/mailman/listinfo/nfsv4