Re: [nfsv4] Issue 21: pnfs EOF handling
Benny Halevy <bhalevy@panasas.com> Mon, 10 July 2006 16:17 UTC
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1FzySA-0006Ca-Av; Mon, 10 Jul 2006 12:17:46 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1FzyS9-0006CV-6E for nfsv4@ietf.org; Mon, 10 Jul 2006 12:17:45 -0400
Received: from gw-e.panasas.com ([65.194.124.178] helo=cassoulet.panasas.com) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FzyS6-0001ZM-2V for nfsv4@ietf.org; Mon, 10 Jul 2006 12:17:45 -0400
Received: from barrule.panasas.com (localhost.localdomain [127.0.0.1]) by cassoulet.panasas.com (8.12.10/8.12.10) with ESMTP id k6AGH3ST016204; Mon, 10 Jul 2006 12:17:03 -0400
Received: from 172.17.1.104 ([172.17.1.104] helo=barrule.panasas.com) by ASSP-nospam; 10 Jul 2006 12:17:03 -0400
Received: from [127.0.0.1] (dynamic-vpn36.panasas.com [172.17.19.36]) by barrule.panasas.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id LQD470WR; Mon, 10 Jul 2006 12:17:02 -0400
Message-ID: <44B27D5F.90604@panasas.com>
Date: Mon, 10 Jul 2006 12:16:31 -0400
From: Benny Halevy <bhalevy@panasas.com>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Black_David@emc.com
Subject: Re: [nfsv4] Issue 21: pnfs EOF handling
References: <F222151D3323874393F83102D614E05502B66F5B@CORPUSMX20A.corp.emc.com>
In-Reply-To: <F222151D3323874393F83102D614E05502B66F5B@CORPUSMX20A.corp.emc.com>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2409bba43e9c8d580670fda8b695204a
Cc: nfsv4@ietf.org
X-BeenThere: nfsv4@ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: NFSv4 Working Group <nfsv4.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/nfsv4>, <mailto:nfsv4-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/nfsv4>
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>
Errors-To: nfsv4-bounces@ietf.org
Black_David@emc.com wrote: > The simplest fix may be to only issue CB_SIZECHANGED for an explicit > SETATTR, > and never for any implicit EOF change (write or commit). A more > comprehensive > approach would be to add a "why" flag to CB_SIZECHANGED to distinguish > implicit extension from explicit length set, although I can't immediately > figure out why a pNFS client needs to see an implicit EOF change for file > extension. [snip] David, In the objects case, when the file is striped over multiple objects and the client gets a read beyond its notion of the EOF it has to go read from storage to determine the current file length or issue a GETATTR to the MDS. If the file is holey and was sparsely written by another client beyond this client's notion of the EOF it is possible that the client will get a short read from one of the objects but there's more data in higher offsets on other objects. In order to make this data visible the client needs to know the new EOF. Benny _______________________________________________ nfsv4 mailing list nfsv4@ietf.org https://www1.ietf.org/mailman/listinfo/nfsv4
- RE: [nfsv4] Issue 21: pnfs EOF handling Noveck, Dave
- [nfsv4] Issue 21: pnfs EOF handling fridella_stephen
- Re: [nfsv4] Issue 21: pnfs EOF handling Garth Goodson
- RE: [nfsv4] Issue 21: pnfs EOF handling fridella_stephen
- Re: [nfsv4] Issue 21: pnfs EOF handling Garth Goodson
- RE: [nfsv4] Issue 21: pnfs EOF handling Everhart, Craig
- RE: [nfsv4] Issue 21: pnfs EOF handling fridella_stephen
- RE: [nfsv4] Issue 21: pnfs EOF handling Everhart, Craig
- RE: [nfsv4] Issue 21: pnfs EOF handling Black_David
- RE: [nfsv4] Issue 21: pnfs EOF handling Everhart, Craig
- RE: [nfsv4] Issue 21: pnfs EOF handling Black_David
- Re: [nfsv4] Issue 21: pnfs EOF handling Benny Halevy
- Re: [nfsv4] Issue 21: pnfs EOF handling Garth Goodson
- Re: [nfsv4] Issue 21: pnfs EOF handling Benny Halevy
- Re: [nfsv4] Issue 21: pnfs EOF handling Garth Goodson
- RE: [nfsv4] Issue 21: pnfs EOF handling fridella_stephen
- RE: [nfsv4] Issue 21: pnfs EOF handling Trond Myklebust
- Re: [nfsv4] Issue 21: pnfs EOF handling Garth Goodson
- Re: [nfsv4] Issue 21: pnfs EOF handling Trond Myklebust
- Re: [nfsv4] Issue 21: pnfs EOF handling Benny Halevy
- Re: [nfsv4] Issue 21: pnfs EOF handling Trond Myklebust
- Re: [nfsv4] Issue 21: pnfs EOF handling Garth Goodson
- Re: [nfsv4] Issue 21: pnfs EOF handling Trond Myklebust