|
|
|
|
|
by amtadt
695 days ago
|
|
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). |
|
Why would it need to recalculate the CRC? The correct CRC (or other hash) for the data is already stored in the metadata trees; it's how it discovered that the data was corrupted in the first place. If it writes back corrupted data, it will be detected as corrupted again the next time.