I did a test to write 100 blocks using dd with and without oflag="sync"
and saw the same result in wireshark, namely of getting a WRITE-COMMIT
sequence. However it seems to me that this sequence is because of the
nfs writeback code rather than vfs_write(). In Lucid, it appears that
vfs_write() does not explicitly wait on a COMMIT to finish nor does it
send stable=FILE_SYNC for a WRITE operation. So, I think that the
expected synchronous behavior of O_SYNC flag or sync mounts is not seen
in Lucid.

-- 
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