This patch from Sami Farin lets you specify --fsync if you want fsync() to be called on every file we write. To use this patch, run these commands for a successful build: patch -p1