Files
neon/libs/utils/src
Erik Grinaker 05381a48f0 utils: remove unnecessary fsync in durable_rename() (#9686)
## Problem

WAL segment fsyncs significantly affect WAL ingestion throughput.
`durable_rename()` is used when initializing every 16 MB segment, and
issues 3 fsyncs of which 1 was unnecessary.

## Summary of changes

Remove an fsync in `durable_rename` which is unnecessary with Linux and
ext4 (which we currently use). This improves WAL ingestion throughput by
up to 23% with large appends on my MacBook.
2024-11-12 18:57:31 +01:00
..
2024-10-18 10:27:50 +01:00
2022-08-16 18:49:22 +03:00
2024-09-16 18:45:19 +00:00
2024-09-08 21:47:57 +03:00
2024-10-18 10:27:50 +01:00
2024-10-18 10:27:50 +01:00
2024-01-23 11:17:15 +00:00
2024-09-19 11:57:10 +03:00