ability to turn off fsync. check that closing the written file succeeds