|
|
|
|
|
by Tobu
695 days ago
|
|
> Error handling on CRC read error
> 2 or more copies of file, CRC on error, read other copy, data returned to userspace, does not correct bad copy That's been implemented; in Linux 6.11 bcachefs will correct errors on read. See > - Self healing on read IO/checksum error in https://lore.kernel.org/linux-bcachefs/73rweeabpoypzqwyxa7hl... Making it possible to scrub from userspace by walking and reading everything (tar -c /mnt/bcachefs >/dev/null). |
|
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).