4 ms·
You'd configure the application to write to the FUSE mount, then run it through an average workload. The FUSE module records the e.g. writes and fsyncs and can
by btrask 11y ago
You'd configure the application to write to the FUSE mount, then run it through an average workload. The FUSE module records the e.g. writes and fsyncs and can simulate a crash at any point during the run. Perhaps there'd be some sort of framework for automating the application to have it attempt to restore from each point, and do an integrity check to make sure all of the guarantees are met.
SQLite does basically the same thing using a virtual file system layer that SQLite explicitly uses.[1] With a FUSE module, any application could receive the same level of testing without needing its own VFS.
[1] https://sqlite.org/testing.html https://sqlite.org/testing.html