some fixes for async fsync