Originally posted by PuckPoltergeist
View Post
1. Add journal entry
2. Write an extent
3. Calculate and write the checksum
4. Close journal entry
Now what happens if the system crashes between steps 2 and 3? Upon reboot, the extent written has no valid checksum, so the FS safety guarantees go out thr window. And we also can't just recalculate it, precisely because in the absence of a valid checksum in the first place, there is no way to tell if the data have been corrupted or not.
Comment