⚠️ VeridianOS Kernel Documentation - This is low-level kernel code. All functions are unsafe unless explicitly marked otherwise. no_std

Module manager

Module manager 

Source
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§

RaidArray
A RAID array composed of multiple disks.
RaidDisk
A physical disk member of a RAID array.
RaidManager
RAID manager: manages multiple RAID arrays.
StripeMap
Stripe mapping result: which disk and offset to access.
Superblock
mdadm v1.2-compatible superblock.

Enums§

ArrayState
RAID array operational state.
DiskState
State of an individual disk in a RAID array.
RaidError
RAID error type.
RaidLevel
Supported RAID levels.

Functions§

xor_blocks
XOR a source block into a destination block.