diff options
author | mav <mav@FreeBSD.org> | 2013-01-12 09:35:44 +0000 |
---|---|---|
committer | mav <mav@FreeBSD.org> | 2013-01-12 09:35:44 +0000 |
commit | 2a61b082bf60afb1c45cb4c10fef641623e29664 (patch) | |
tree | ddf4fb70417fcf8b02200b24af89791f87cb93d5 /sys/geom/raid/g_raid.h | |
parent | 874cf76c76a7aaae4b28a1efd69de0089b19c920 (diff) | |
download | FreeBSD-src-2a61b082bf60afb1c45cb4c10fef641623e29664.zip FreeBSD-src-2a61b082bf60afb1c45cb4c10fef641623e29664.tar.gz |
Add basic support for Intel Rapid Recover Technology (Intel RRT).
It is alike to RAID1, but with dedicating master and recovery disks and
providing manual control over synchronization. It allows to use recovery
disk as snapshot of the master disk from the time of the last sync.
This implementation is not functionaly complete comparing to Windows,
but it is better then silent conversion to RAID1 on first boot.
Diffstat (limited to 'sys/geom/raid/g_raid.h')
-rw-r--r-- | sys/geom/raid/g_raid.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/sys/geom/raid/g_raid.h b/sys/geom/raid/g_raid.h index 20b0822..183edff6 100644 --- a/sys/geom/raid/g_raid.h +++ b/sys/geom/raid/g_raid.h @@ -140,11 +140,12 @@ struct g_raid_event { }; #define G_RAID_DISK_S_NONE 0x00 /* State is unknown. */ #define G_RAID_DISK_S_OFFLINE 0x01 /* Missing disk placeholder. */ -#define G_RAID_DISK_S_FAILED 0x02 /* Failed. */ -#define G_RAID_DISK_S_STALE_FAILED 0x03 /* Old failed. */ -#define G_RAID_DISK_S_SPARE 0x04 /* Hot-spare. */ -#define G_RAID_DISK_S_STALE 0x05 /* Old disk, unused now. */ -#define G_RAID_DISK_S_ACTIVE 0x06 /* Operational. */ +#define G_RAID_DISK_S_DISABLED 0x02 /* Disabled. */ +#define G_RAID_DISK_S_FAILED 0x03 /* Failed. */ +#define G_RAID_DISK_S_STALE_FAILED 0x04 /* Old failed. */ +#define G_RAID_DISK_S_SPARE 0x05 /* Hot-spare. */ +#define G_RAID_DISK_S_STALE 0x06 /* Old disk, unused now. */ +#define G_RAID_DISK_S_ACTIVE 0x07 /* Operational. */ #define G_RAID_DISK_E_DISCONNECTED 0x01 |