barrier and fsync