HomeSoftware Heritage

pathslicing: Make sure data is flushed to disk before renaming the tempfile

This commit no longer exists in the repository. It may have been part of a branch which was deleted.

Description

pathslicing: Make sure data is flushed to disk before renaming the tempfile

Use fdatasync by default, unless it's not available on the platform, in which
case use the less efficient fsync.

Close T1823

Details

Provenance
olasdAuthored on Jun 17 2019, 3:22 PM
olasdPushed on Jun 19 2019, 4:11 PM
Differential Revision
D1611: pathslicing: Make sure data is flushed to disk before renaming the tempfile
Tasks
T1823: make DB/FS transactions nest properly
Build Status
Buildable 6350
Build 8803: test-and-build

Commit No Longer Exists

This commit no longer exists in the repository.