RAID 5/6 code merged into Btrfs
RAID 5/6 code merged into Btrfs
Posted Feb 6, 2013 18:26 UTC (Wed) by butlerm (guest, #13312)In reply to: RAID 5/6 code merged into Btrfs by Jonno
Parent article: RAID 5/6 code merged into Btrfs
Correct parity (sufficient to recover from a subsequent drive failure) can be trivially regenerated using the contents of the write intent bitmap. The data on the blocks actually being written to may be still be incomplete of course, but that doesn't matter for the purpose of protecting the data on other other blocks in the same stripe.
If a drive fails and the system crashes at the same time a stripe update is in progress, it is entirely possible of course that unrelated parts of the stripe being updated may become unrecoverable, for lack of consistent parity information. You can see the attraction of the ZFS full stripe minimum block size policy.
