Re: [nfsv4] Issue 21: pnfs EOF handling

Trond Myklebust <trond.myklebust@fys.uio.no> Tue, 11 July 2006 13:12 UTC

Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com) by megatron.ietf.org with esmtp (Exim 4.43) id 1G0I2D-0005SM-GQ; Tue, 11 Jul 2006 09:12:17 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org) by megatron.ietf.org with esmtp (Exim 4.43) id 1G0I2C-0005SH-F3 for nfsv4@ietf.org; Tue, 11 Jul 2006 09:12:16 -0400
Received: from pat.uio.no ([129.240.10.4]) by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1G0I2B-0005A7-4K for nfsv4@ietf.org; Tue, 11 Jul 2006 09:12:16 -0400
Received: from mail-mx3.uio.no ([129.240.10.44]) by pat.uio.no with esmtp (Exim 4.43) id 1G0I27-0006ku-Tc; Tue, 11 Jul 2006 15:12:12 +0200
Received: from [132.219.27.135] (helo=h1b87-net84db.lab.risq.net) by mail-mx3.uio.no with esmtpsa (SSLv3:RC4-MD5:128) (Exim 4.43) id 1G0I24-0003zy-7T; Tue, 11 Jul 2006 15:12:08 +0200
Subject: Re: [nfsv4] Issue 21: pnfs EOF handling
From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Garth Goodson <goodson@netapp.com>
In-Reply-To: <44B39A99.4000702@netapp.com>
References: <6CCEAEDF4D06984A83F427424F47D6E4E1ED20@CORPUSMX40A.corp.emc.com> <1152585568.10156.11.camel@lade.trondhjem.org> <44B31E6C.4020403@netapp.com> <1152595836.10156.21.camel@lade.trondhjem.org> <44B37F83.3040202@panasas.com> <1152619040.5745.13.camel@lade.trondhjem.org> <44B39A99.4000702@netapp.com>
Content-Type: text/plain
Date: Tue, 11 Jul 2006 09:12:04 -0400
Message-Id: <1152623524.6194.4.camel@lade.trondhjem.org>
Mime-Version: 1.0
X-Mailer: Evolution 2.6.1
Content-Transfer-Encoding: 7bit
X-UiO-Spam-info: not spam, SpamAssassin (score=-5, required 12, autolearn=disabled, UIO_MAIL_IS_INTERNAL -5.00)
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0bc60ec82efc80c84b8d02f4b0e4de22
Cc: Benny Halevy <bhalevy@panasas.com>, Black_David@emc.com, 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

On Tue, 2006-07-11 at 05:33 -0700, Garth Goodson wrote:

> While the semantics may seem better than NFS I don't think they really 
> are.  Basically you are getting what pretty much any NFS server gives 
> you --- the ability for a client that issued a read to see the latest 
> data comitted at the NFS server.  I agree this is better than 
> open-close, but it is what you get today.  Also, since the EOF callback 
> was proposed for blocks, we thought we could make use of it.

What you get today is that the client read will see whatever the server
sees. That is pretty much what you get without a callback at all.

Why does blocks need it?

> You are correct that it would be justifiable to return EOF to the 
> reader.  But as I mentioned earlier, it is slightly harder for the 
> reader to obtain the new EOF (it can't piggyback getattr calls on the 
> read).
> 
> I think we are arguing a minor point here.  The EOF callback is an 
> optimization.

My question is whether or not we need this type of optimisation at all.
If it doesn't add anything useful to the protocol, I'd vote to kill it.

Cheers,
  Trond


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