Stackable file systems and NFS
From: Ranjan Sinha <hidden>
Date: 2012-08-14 10:10:07
Hi Mulyadi, On Tue, Aug 14, 2012 at 3:33 PM, Mulyadi Santosa [off-list ref] wrote:
Hi Ranjan... On Tue, Aug 14, 2012 at 2:53 PM, Ranjan Sinha [off-list ref] wrote:quoted
Hi, We are writing a stackable file system. While testing this on NFS we came across a situation where sometimes we are getting ASCII NUL bytes in the buffer read from the lower file system (NFS in this case). This happens when NFS client 1 is writing to a file and NFS client 2 is continuously reading from the same file.are you using synchronous or asynchronous mode in the NFS?
For now, /etc/export file has the following setting *(rw,sync,no_root_squash) On client side we have not specified any options explicitly. This is from /proc/mounts entry rw,vers=3,rsize=32768,wsize=32768,hard,proto=tcp,timeo=600,retrans=2,sec=sys -- Regards, Ranjan