lkml.org 
[lkml]   [2000]   [Jan]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [NFS] New version of Linux NFSv3 client is out...
From
Date
>>>>> " " == David S Miller <davem@redhat.com> writes:

> From: Trond Myklebust <trond.myklebust@fys.uio.no> Date: 25
> Jan 2000 09:55:55 +0100

> Please note that the knfsd server has consistently violated
> this part of the NFSv2 protocol: knfsd acknowledges a write
> statement from the client without ensuring that data has
> been flushed to disk, thus the client is not guaranteed that
> anything it has written will survive a server failure.

> Come again? I see a nfsd_sync and a write_inode_now there in
> the knfsd write paths.

nfsd_sync is only called if the write gathering code is enabled
(which is never the case at the moment).

You have to explicitly set the 'sync' option in /etc/exports in order
for the write_inode_now() stuff to be called.

Hence, the default behaviour is to violate the NFSv2 protocol.

Cheers,
Trond

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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