From: David Shaw <dshaw@ja...> - 2006-11-22 15:13:22
We've run into a odd problem with file sizes over NFS. The problem
manifests itself like this: a regular NFS client (on kernel 2.6.11)
mounts a FUSE filesystem from a NFS server. The server is kernel
2.6.15 and fuse 2.6.0. The client writes a 10 byte file to the
mounted filesystem. The file that arrives on the server, however, is
4096 bytes (occasionally other sizes, but always a multiple of 1024).
The first 10 bytes of this file are correct, but the other bytes look
like garbage (uninitialized memory, perhaps).
This does not seem to be a flaw in the userspace filesystem program:
The program gets called to write 4096 bytes, not 10.
I wish I had more information, but we're still researching at this