chiark / gitweb /
Allow superblock to be written without fsync.
authorDan Sheppard <dan.sheppard.circle@gmail.com>
Mon, 28 Apr 2025 12:46:22 +0000 (13:46 +0100)
committerDan Sheppard <dan.sheppard.circle@gmail.com>
Mon, 28 Apr 2025 12:46:22 +0000 (13:46 +0100)
commitab0d45e13e053e7659d5fd96a51e0948e83cbdc7
tree364d8971e726c38b7dd2030dc9774640b58504b4
parentf2b34e9f0b4e7d716eca16fb92eb98159e9defdb
Allow superblock to be written without fsync.

If we're going to store book fsync watermarks there, we need to be able not to fsync here, to avoid the cost of an unnecessary double fsync.
src/main.c
src/page.c
src/page.h
src/superblock.c
src/superblock.h