Re: PROBLEM: knfsd misses occasional writes

Neil Brown
2002-05-17T02:32:39Z

On Thursday May 16, Sverker.Wiberg@uab.ericsson.se wrote:
> Neil Brown wrote:
> >
> > On Thursday May 16, Sverker.Wiberg@uab.ericsson.se wrote:
>
> [on soft mount timeouts]
> > > But shouldn't those timeouts become errors over at the clients?
> >
> > Yes... but "write" won't see an error. Only 'fsync' or maybe 'close',
> > and many applications ignore errors from these operations.
>
> How come? Isn't the client side innately synchronous (as RPC clients in
> general)?

Now way! That would kill performance.

The application writes into the pagecache. The nfs client, possibly
using the helper thread like rpciod write asynchronously to the
server. Data is only flushed on close or fsync or memory presure
or...
I have only a passing knowledge of this stuff though. I trust Trond
will correct me is I say anything really silly.

> Or is this one of thost thing that are now done differently?

I think it was always this way.

NeilBrown