misc: add fsync control