Only fsync if the existing file is > 0 bytes
This means we don't sync in the case where we created an (empty) temp file and now replace it with the data. This fixes (among other things) the performance of trashing files.
parent
79a70dc8
-
mentioned in issue #1302 (closed)
-
mentioned in merge request !118 (merged)
-
mentioned in merge request !369 (closed)
Please register or sign in to comment