@ Stefan, I was able to confirm the workaround.  I modified my dd to use
sync and direct(o_sync and o_direct):

strace -o /tmp/strace.dd.joe.out dd if=/dev/zero of=/nfs_mount/syncfile
bs=1k count=5 oflag=sync,direct

I confirmed the file was opened with both those flags(From strace):
open("/nfs_mount/syncfile", O_WRONLY|O_CREAT|O_TRUNC|O_SYNC|O_DIRECT, 0666) = 3

I captured a tcpdump and reviewed the trace in wireshark.  I can confirm
that there are FILE_SYNC writes instead of UNSTABLE.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/709392

Title:
  NFS client does not submit "nfs_file_sync" write requests when the
  file open call includes O_SYNC.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to