commit | 3ab5bec554013c655c8d7439b708ba1380c8eef8 | [log] [tgz] |
---|---|---|
author | Jeff Brown <jeffbrown@google.com> | Wed Feb 29 21:12:41 2012 -0800 |
committer | Jeff Brown <jeffbrown@google.com> | Wed Feb 29 21:26:08 2012 -0800 |
tree | 03e1c3c261d71b1f0c18a0e785cbb311de8ab0c0 | |
parent | 40a8df2afea8009142f6ff635956f05b2801dd00 [diff] |
Use fdatasync() to improve performance. Linux has a working fdatasync() so we should use it! This change alone improves performance by around 20% by reducing the number of synchronous I/O writes of irrelevant metadata changes. Change-Id: Iebe0c32a7e018ec0ced2347b7d62b2b7dc5aa376