Gmane
Picon Picon Favicon
From: Trond Myklebust <trond.myklebust <at> fys.uio.no>
Subject: Re: nfs/mmap/rename file corruption
Newsgroups: gmane.linux.nfs
Date: 2003-08-28 01:37:38 GMT (4 years, 37 weeks, 3 days, 8 hours and 23 minutes ago)
>>>>> " " == Martin Pool <mbp <at> sourcefrog.net> writes:

     > - ccache runs distcc with output to a temporary file
     >  - distcc opens, mmaps, writes to, munmaps, and closes the temporary
     >    file
     > - distcc exits
     >  - ccache renames the temporary file to its proper location in the
     >    ccache
     > - ccache opens the file read only, and reads from it

Is this a rename from one directory to the other? If so, are you using
the 'no_subtree_check' option on the server? Without the latter option
enabled, I would indeed expect the behaviour that you describe.

Cheers,
  Trond

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist  -  NFS <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs