Expand description
Software RAID Implementation
Supports RAID levels 0 (striping), 1 (mirroring), and 5 (striping with distributed parity). Includes stripe mapping, XOR parity computation, array health monitoring, hot-spare replacement, and rebuild.
Structs§
- Raid
Array - A RAID array composed of multiple disks.
- Raid
Disk - A physical disk member of a RAID array.
- Raid
Manager - RAID manager: manages multiple RAID arrays.
- Stripe
Map - Stripe mapping result: which disk and offset to access.
- Superblock
- mdadm v1.2-compatible superblock.
Enums§
- Array
State - RAID array operational state.
- Disk
State - State of an individual disk in a RAID array.
- Raid
Error - RAID error type.
- Raid
Level - Supported RAID levels.
Functions§
- xor_
blocks - XOR a source block into a destination block.