2019-02-26 19:46:07

by J. Bruce Fields

[permalink] [raw]
Subject: Re: [nfsv4] file size and getattr

On Mon, Feb 25, 2019 at 10:50:21AM -0500, David Noveck wrote:
> For example, if you (or another client) read data written unstably,
> and there was been no restart you will see bytes past the eof as known
> by the metadata server.

Possibly worth noting that if there *is* a restart, all bets are off.

And how do you know there hasn't been a restart? Or if you can figure
that out (e.g. if you're using sessions), how do you know when clients
have finished retransmitting unstable write data?

I'd be curious what prompted the original question.

--b.