[Rpm-maint] [rpm-software-management/rpm] Add macro to force fsync() on close() (#187)
notifications at github.com
Fri Apr 14 20:11:33 UTC 2017
Grrr 32 * 8 = 256Kb ...
I can post an updated patch if that helps merging. The amount of code involved is quite small (and is perfectly obvious: move fdatasync out of the loop, perform before advise()).
I doubt that better than fallocate -> Fwrite-in-loop -> fdatasync+fadvise+fsync is possible since a single fdatasync seems better than fdatasync after every write.
Note that 17x is much better than 50x slower from a naive "opt-in" fsync
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Rpm-maint