Re:Bcachefs may be headed out of the kernel
by Quekid5 on Saturday July 05, 2025 @11:03AM
(#44473240)
I'd say it makes checksums even more important so that you know whether something got corrupted immediately and not after a year (or whatever) has gone by and you actually need it.
[ Parent
| on HN ]
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.