Commit 3de0df26 authored by Aaron Jacobs's avatar Aaron Jacobs

Added a note about serialization on SyncFileOp too.

parent db2100ec
......@@ -805,6 +805,11 @@ func (o *WriteFileOp) Respond(err error) {
//
// See also: FlushFileOp, which may perform a similar function when closing a
// file (but which is not used in "real" file systems).
//
// In contrast to fuse_flush (see notes on FlushFileOp), fuse_fsync does appear
// to wait for write responses before sending the sync request (cf.
// http://goo.gl/grmAVH). However careful implementers would be well-advised to
// ensure the serialization themselves.
type SyncFileOp struct {
commonOp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment