[lkml]   [2002]   [Aug]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Writing files to remote storage
On Wed, 2002-08-28 at 09:17, Kevin Liao wrote:
> If I mount a remote linux partition through smb or nfs and write one file to
> that partition. How could I make sure that that file is really written to
> the remote disk successfully? I know that some cache mechanisms existed in
> linux kernel. So I guess there may be two possibilities as below:

For NFS at least do an fsync(). Fsync should ensure the data hits the
server. Whether the server commits to stable storage is protocol and
configuration dependant (NFS says yes, some implementations fudge it)

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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