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

Marc Eshel <eshel@almaden.ibm.com> Fri, 01 October 2010 15:48 UTC

Return-Path: <eshel@almaden.ibm.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 467713A6CEF for <nfsv4@core3.amsl.com>; Fri, 1 Oct 2010 08:48:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.599
X-Spam-Level:
X-Spam-Status: No, score=-8.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, GB_I_LETTER=-2, RCVD_IN_DNSWL_MED=-4]
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 QA0bxxZLw6cG for <nfsv4@core3.amsl.com>; Fri, 1 Oct 2010 08:48:34 -0700 (PDT)
Received: from e35.co.us.ibm.com (e35.co.us.ibm.com [32.97.110.153]) by core3.amsl.com (Postfix) with ESMTP id 2B1B73A6BF3 for <nfsv4@ietf.org>; Fri, 1 Oct 2010 08:48:32 -0700 (PDT)
Received: from d03relay04.boulder.ibm.com (d03relay04.boulder.ibm.com [9.17.195.106]) by e35.co.us.ibm.com (8.14.4/8.13.1) with ESMTP id o91Fd16e029266 for <nfsv4@ietf.org>; Fri, 1 Oct 2010 09:39:01 -0600
Received: from d03av04.boulder.ibm.com (d03av04.boulder.ibm.com [9.17.195.170]) by d03relay04.boulder.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id o91FnJ68119620 for <nfsv4@ietf.org>; Fri, 1 Oct 2010 09:49:19 -0600
Received: from d03av04.boulder.ibm.com (loopback [127.0.0.1]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id o91FnHot004288 for <nfsv4@ietf.org>; Fri, 1 Oct 2010 09:49:18 -0600
Received: from [127.0.0.1] (sig-9-65-19-214.mts.ibm.com [9.65.19.214]) by d03av04.boulder.ibm.com (8.14.4/8.13.1/NCO v10.0 AVin) with ESMTP id o91FnEH2004112; Fri, 1 Oct 2010 09:49:16 -0600
Message-ID: <4CA602EE.2010704@almaden.ibm.com>
Date: Fri, 01 Oct 2010 08:49:02 -0700
From: Marc Eshel <eshel@almaden.ibm.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.2.9) Gecko/20100915 Thunderbird/3.1.4
MIME-Version: 1.0
To: "J. Bruce Fields" <bfields@fieldses.org>
References: <4CA3CE95.10407@gmail.com> <20101001143614.GB17310@fieldses.org> <4CA5FCE6.6090406@panasas.com> <20101001153934.GG17310@fieldses.org>
In-Reply-To: <20101001153934.GG17310@fieldses.org>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Cc: Benny Halevy <bhalevy@panasas.com>, "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 15:48:35 -0000

  We don't need a new operation but it is mandatory that the client will 
recognize this new NFS4ERR_HOLE return code, just for that we don't need 
another operation. Clearly the server don't have to support it and the 
client doesn't need to use the server advice.
Marc.


On 10/1/2010 8:39 AM, J. Bruce Fields wrote:
> On Fri, Oct 01, 2010 at 05:23:18PM +0200, Benny Halevy wrote:
>> On 2010-10-01 16:36, J. Bruce Fields wrote:
>>> On Wed, Sep 29, 2010 at 04:41:09PM -0700, Dean Hildebrand wrote:
>>>>   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
>>> A couple other points:
>>>
>>> 	- By returning an error in a situation that isn't really an
>>> 	  error, we abort processing the compound when we don't really
>>> 	  need to.  I suppose we could make a special exceptions for
>>> 	  NFS4ERR_HOLE, but, yuch.
>>> 	- The server can't return NFS4ERR_HOLE unless it knows the
>>> 	  client is prepared to handle it.  One solution would be to
>>> 	  make client support for NFS4ERR_HOLE mandatory in whichever
>>> 	  minor version we add sparse-read support.  Whether that works
>>> 	  well may depend on the eventual size of the minor version.
>>> 	  It's easier if people can increment new features
>>> 	  incrementally.
>> As I said in the meeting I'd be happier with a revised READ operation
>> that officially support holes rather than hacking the existing op.
> I'd be for that.
>
> As long as the name of the new operation includes the letter "Z".
>
>> While at that, I'd add an optional prefetch value to the args to
>> help client-directed readahead.
> I think it would be amusing to have a version of READ that implements
> the rsync protocol.  (Here's my checksum of the data in the range; tell
> me I'm right, or give the real data if not.)
>
> (Maybe that one would need a "Y" in the name.)
>
> --b.
> _______________________________________________
> nfsv4 mailing list
> nfsv4@ietf.org
> https://www.ietf.org/mailman/listinfo/nfsv4
>
>