News for hackers. Stuff that matters.
Re:Bcachefs – A general purpose COW filesystem by throwaway7767 on Friday August 21, 2015 @12:06PM (#10098391)
Well, scrubbing and self-healing are really just the user-facing operations enabled by the erasure coding, so it's really the same thing.
Re:Bcachefs – A general purpose COW filesystem by usefulcat on Friday August 21, 2015 @03:42PM (#10099772)
AFAIK zfs doesn't use erasure coding. It has a checksum for each block. Together with redundant storage of blocks, this allows it to determine which block is corrupt when two copies of the same block have different contents.
Re:Bcachefs – A general purpose COW filesystem by jamesblonde on Friday August 21, 2015 @04:01PM (#10099875)
Redundant storage of the meta data - not the actual blocks. But at least you know they're corrupted if the become corrupted ;)
Re:Bcachefs – A general purpose COW filesystem by usefulcat on Friday August 21, 2015 @04:37PM (#10100061)
Nope, all blocks, unless wikipedia is wrong or I am completely misunderstanding the following:

"When a block is accessed, regardless of whether it is data or meta-data, its checksum is calculated and compared with the stored checksum value of what it "should" be. If the checksums match, the data are passed up the programming stack to the process that asked for it; if the values do not match, then ZFS can heal the data if the storage pool provides data redundancy (such as with internal mirroring), assuming that the copy of data is undamaged and with matching checksums."

https://en.wikipedia.org/wiki/ZFS

Re:Bcachefs – A general purpose COW filesystem by wmf on Friday August 21, 2015 @06:46PM (#10100724)
"ZFS can heal the data IF the storage pool provides data redundancy"

You can configure ZFS either with or without redundancy.

Re:Bcachefs – A general purpose COW filesystem by usefulcat on Sunday August 23, 2015 @02:50PM (#10106382)
Yes, which is why I said "Together with redundant storage of blocks" in my original comment.