lkml.org 
[lkml]   [2002]   [May]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: PROBLEM: knfsd misses occasional writes
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:26    [W:0.064 / U:0.292 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site