Consistency checks
tilsche opened this issue · comments
Thomas Ilsche commented
- Make sure to only perform aligned writes
- Ensure that all write sizes are checked
- Write tests
- Evaluate if checksums in the header make sense (length & checksum in header updated every so-and-so writes, dirty flag?)
Thomas Ilsche commented
This is even worse than I thought...
Paper/slides on the topic - unfortunately without NFS, but I guess it's probably worse...
https://www.usenix.org/sites/default/files/conference/protected-files/osdi14_slides_pillai.pdf
https://courses.cs.washington.edu/courses/cse551/15sp/papers/alice-osdi14.pdf
garbage during file-appends 😱
append->append (same file) reordering 😱