mmap() + checksum = ?
mmap() + checksum = ?
Posted Aug 7, 2017 13:54 UTC (Mon) by abatters (✭ supporter ✭, #6932)In reply to: The NOVA filesystem by swanson
Parent article: The NOVA filesystem
> NOVA disables COW for the portions of a file that have been mapped into a process's address space, so changes are made in place.
> There are a number of self-protection measures built into NOVA, including checksumming for data and metadata.
If you mmap() the storage as memory and write to it in-place from the CPU, that would invalidate the data checksum. If the system crashes at that point, what happens to the file with invalid checksum after the system reboots?
