diff options
author | mav <mav@FreeBSD.org> | 2012-04-19 12:30:12 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2012-04-19 12:30:12 +0000 |
commit | fdb56713f24f9603c0b1d9d04f819a450c247a91 (patch) | |
tree | c52f9a1d2117f93577e84485d022a8663b182fd4 /sys/geom/raid/g_raid.h | |
parent | a1620c99050bae85bb7454bbd11131f9502802c6 (diff) | |
download | FreeBSD-src-fdb56713f24f9603c0b1d9d04f819a450c247a91.zip FreeBSD-src-fdb56713f24f9603c0b1d9d04f819a450c247a91.tar.gz |
Add to GEOM RAID class module for reading non-degraded RAID5 volumes and
some environment to differentiate 4 possible RAID5 on-disk layouts.
Tested with Intel and AMD RAID BIOSes.
MFC after: 2 weeks
Diffstat (limited to 'sys/geom/raid/g_raid.h')
-rw-r--r-- | sys/geom/raid/g_raid.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/geom/raid/g_raid.h b/sys/geom/raid/g_raid.h index 1c14ad6..6b67e8c 100644 --- a/sys/geom/raid/g_raid.h +++ b/sys/geom/raid/g_raid.h @@ -227,6 +227,10 @@ struct g_raid_subdisk { #define G_RAID_VOLUME_RL_UNKNOWN 0xff #define G_RAID_VOLUME_RLQ_NONE 0x00 +#define G_RAID_VOLUME_RLQ_R5RA 0x00 +#define G_RAID_VOLUME_RLQ_R5RS 0x01 +#define G_RAID_VOLUME_RLQ_R5LA 0x02 +#define G_RAID_VOLUME_RLQ_R5LS 0x03 #define G_RAID_VOLUME_RLQ_UNKNOWN 0xff struct g_raid_volume; |