[Gluster-devel] Moratorium on new patch acceptance
Jeff Darcy
jdarcy at redhat.com
Tue May 19 12:14:20 UTC 2015
> * fdatasync is issued only once at the end of all writes when conv=fdatasync
> * for some strange reason no fsync or fdatasync is issued at all when
> conv=sync
That's because of my typo. I meant oflag=sync, not conv=sync. Sorry.
> So, using conv=fdatasync in the test cannot prevent write-parallelism induced
> by write-behind. Parallelism would've been prevented only if dd had issued
> fdatasync after each write or opened the file with O_SYNC.
See above. I just checked with strace, and oflag=sync does cause the output
file to be opened with O_SYNC.
More information about the Gluster-devel
mailing list