Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels >= 2.6.20

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Aaron Straus
Date: Monday, September 8, 2008 - 3:02 pm

Hi Chuck,

On Sep 08 05:15 PM, Chuck Lever wrote:

Yes.  Sorry.   I stopped the writer once the reader saw the NULL bytes.


I think fp.flush() in Python is equivalent to fflush() i.e. it only
flushes the stdio buffer.  It doesn't actually call fsync or fdatasync
or anything like that.

We can pretty easily change the Python code to use the syscall
write()/etc methods.


I've exported them on the server as sync e.g. in exports:

  /export		192.168.0.0/24(rw,sync)

However I don't give any special options when mounting e.e. on the
client:

  mount machine:/export  mntpnt

Anyway thanks for looking at this and let me know if I can do anything
else!


					=3Da=3D


--=20
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
Aaron Straus
aaron@merfinllc.com
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels ..., Aaron Straus, (Mon Sep 8, 3:02 pm)
Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels ..., Hans-Peter Jansen, (Mon Sep 22, 9:05 am)
Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels ..., Trond Myklebust, (Mon Sep 22, 10:29 am)
Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels ..., Hans-Peter Jansen, (Mon Sep 22, 11:45 am)
Re: [NFS] blocks of zeros (NULLs) in NFS files in kernels ..., Hans-Peter Jansen, (Mon Sep 22, 11:45 am)