amtadt's comments

amtadt | 1 year ago | on: Bcachefs, an Introduction/Exploration

Because CRC is in the on-disk data structure, not in the in-ram data structure. It is stripped upon reading to ram, and created upon writing to disk.

That's how bcachefs is designed right now.

amtadt | 1 year ago | on: Bcachefs, an Introduction/Exploration

Self healing is dangerous because it can potentially corrupt good data on disk, if RAM or other system component is flaky.

Repro: supposedly only good copy is copied to ram, ram corrupts bit, crc is recalculated using corrupted but, corrupted copy is written back to disk(s).

page 1