Re:Writing a SQLite clone from scratch in C
by valarauca1 on Monday September 04, 2017 @11:53AM
(#15169014)
This is why msync is for. You can sync page by page and ensure ordering yourself.
[ Parent
| on HN ]
Re:Writing a SQLite clone from scratch in C
by drfuchs on Monday September 04, 2017 @12:37PM
(#15169283)
You think you can, but you can't! Linux always sync's the whole file; see https://lwn.net/Articles/502612/ for a discussion of why fixing this horrible bug is too dangerous.