I am writing an application that really cares about durability of created files (a Certificate Transparency log), and... oof.

I fsync the file. I fsync the directory. Ok.

But... how do I test it? Even targeting a specific filesystem, I have to make VMs and try to race killing them?

0

If you have a fediverse account, you can quote this note from your own instance. Search https://abyssdomain.expert/users/filippo/statuses/114380861370769584 on your instance and quote it. (Note that quoting is not supported in Mastodon.)