chiark / gitweb /
coquet.git
2 weeks agoMake superblock whole block. main
Dan Sheppard [Mon, 12 May 2025 11:14:40 +0000 (12:14 +0100)]
Make superblock whole block.

(Should help avoid curruption).

2 weeks agominor tidy
Dan Sheppard [Mon, 12 May 2025 11:13:42 +0000 (12:13 +0100)]
minor tidy

2 weeks agoBigger flags; comment ffixes.
Dan Sheppard [Mon, 12 May 2025 10:29:09 +0000 (11:29 +0100)]
Bigger flags; comment ffixes.

4 weeks agoDon't flip superblock on no sync write.
Dan Sheppard [Sat, 3 May 2025 23:47:59 +0000 (00:47 +0100)]
Don't flip superblock on no sync write.

4 weeks agoAllow superblock to be written without fsync.
Dan Sheppard [Mon, 28 Apr 2025 12:46:22 +0000 (13:46 +0100)]
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.

5 weeks agoLoad page.
Dan Sheppard [Wed, 23 Apr 2025 18:18:24 +0000 (19:18 +0100)]
Load page.

5 weeks agoStart of main section file save/load.
Dan Sheppard [Wed, 23 Apr 2025 16:28:28 +0000 (17:28 +0100)]
Start of main section file save/load.

5 weeks agoTest more fully and simply now test is fast.
Dan Sheppard [Wed, 23 Apr 2025 13:09:34 +0000 (14:09 +0100)]
Test more fully and simply now test is fast.

5 weeks agoFile size vfs method; in-memory test FS for slow tests.
Dan Sheppard [Wed, 23 Apr 2025 13:08:13 +0000 (14:08 +0100)]
File size vfs method; in-memory test FS for slow tests.

5 weeks agoFix leak during tests.
Dan Sheppard [Tue, 22 Apr 2025 23:15:31 +0000 (00:15 +0100)]
Fix leak during tests.

5 weeks agoWhy'd no one tell me about bool? :-D
Dan Sheppard [Tue, 22 Apr 2025 23:11:52 +0000 (00:11 +0100)]
Why'd no one tell me about bool? :-D

5 weeks agoTest correct behaviour with corrupt superblock.
Dan Sheppard [Tue, 22 Apr 2025 22:52:30 +0000 (23:52 +0100)]
Test correct behaviour with corrupt superblock.

5 weeks agoTest desc truncation.
Dan Sheppard [Tue, 22 Apr 2025 22:29:39 +0000 (23:29 +0100)]
Test desc truncation.

5 weeks agoDescription in superblock.
Dan Sheppard [Tue, 22 Apr 2025 17:38:27 +0000 (18:38 +0100)]
Description in superblock.

5 weeks agoBasic superblock test.
Dan Sheppard [Tue, 22 Apr 2025 17:16:12 +0000 (18:16 +0100)]
Basic superblock test.

5 weeks agoAdd sha2 tests to infra.
Dan Sheppard [Tue, 22 Apr 2025 15:10:48 +0000 (16:10 +0100)]
Add sha2 tests to infra.

5 weeks agoTest infrastructure.
Dan Sheppard [Tue, 22 Apr 2025 14:58:22 +0000 (15:58 +0100)]
Test infrastructure.

5 weeks agoOrganise files.
Dan Sheppard [Mon, 21 Apr 2025 13:04:24 +0000 (14:04 +0100)]
Organise files.

7 weeks agoMore superblock work!
Dan Sheppard [Fri, 11 Apr 2025 15:17:46 +0000 (16:17 +0100)]
More superblock work!

7 weeks agoSuperblock loading and saving.
Dan Sheppard [Fri, 11 Apr 2025 14:36:51 +0000 (15:36 +0100)]
Superblock loading and saving.

(Untested, no logging).

7 weeks agostack overflow audit.
Dan Sheppard [Fri, 11 Apr 2025 09:38:46 +0000 (10:38 +0100)]
stack overflow audit.

7 weeks agoMisc sha32 fixes.
Dan Sheppard [Fri, 11 Apr 2025 09:23:58 +0000 (10:23 +0100)]
Misc sha32 fixes.

7 weeks agosha2
Dan Sheppard [Fri, 11 Apr 2025 00:30:22 +0000 (01:30 +0100)]
sha2

7 weeks agofsync
Dan Sheppard [Fri, 11 Apr 2025 00:30:14 +0000 (01:30 +0100)]
fsync

7 weeks agodelete
Dan Sheppard [Thu, 10 Apr 2025 12:28:13 +0000 (13:28 +0100)]
delete

7 weeks agoStart of POSIX VFS layer.
Dan Sheppard [Thu, 10 Apr 2025 12:19:03 +0000 (13:19 +0100)]
Start of POSIX VFS layer.