Hi Joseph, it depends on how you define write operation. If it is the
dd, then yes. For the single write requests, which you see in the
tcpdump, no. That is the v3 semantics. Which means write with unstable,
the server returns before it is actually written to disk. But the commit
request which follows each write will only complete (commit reply) when
all previous writes are on disk (which in the dumps I see can only be
one). When the client sends the write request with FILE_SYNC, the reply
to the write request itself will be delayed until the data is on the
disk of the server. So doing it with unstable writes and commits for
each of them is behaving the same way from the applications point of
view. But you send twice as many tcp packets.

-- 
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
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to