News for hackers. Stuff that matters.
Re:Bcachefs may be headed out of the kernel by londons_explore on Saturday July 05, 2025 @06:32PM (#44476116)
The problem is that if the SSD suffers a power failure and reverts a 1 megabyte block of metadata to the way it was yesterday, the filesystem won't see that as corruption - since all the checksums will match.

Yet all the pointers in that metadata will point to data which no longer exists, and your filesystem will be destroyed.

Re:Bcachefs may be headed out of the kernel by Quekid5 on Tuesday July 08, 2025 @06:20PM (#44504560)
So... metadata checksums? I mean if enough data/metadata gets corrupted you're SOL either way.

For example, in ZFS the metadata is checksummed such that pointers to the data carry the checksum for that data.