Message ID | pull.1076.v3.git.git.1631590725.gitgitgadget@gmail.com (mailing list archive) |
---|---|
Headers | show |
Series | Implement a batched fsync option for core.fsyncObjectFiles | expand |
On Tue, Sep 14, 2021 at 03:38:39AM +0000, Neeraj K. Singh via GitGitGadget wrote: > NOTE: Based on Christoph Hellwig's comments, the 'batch' mode is not correct > on Linux, since sync_file_range does not provide data integrity guarantees. > There is currently no kernel interface suitable to achieve disk flush > batching as is, but he suggested that he might implement a 'syncfs' variant > on top of this patchset. This code is still useful on macOS and Windows, and > the config documentation makes that clear. If this series lands I can give the syncfs variant a spin. It might not be the best option for gt hosting services, but I think it will be very helpful for typical developer workstations.