mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 08:43:19 -04:00
Add function to add spare disk to raid.
This commit is contained in:
parent
5909dab38c
commit
bdf54b2fc4
1 changed files with 4 additions and 0 deletions
|
|
@ -370,6 +370,7 @@ struct ata_cmd {
|
|||
#define ATARAIDSTATUS 11
|
||||
#define ATAENCSTAT 12
|
||||
#define ATAGMAXCHANNEL 13
|
||||
#define ATARAIDADDSPARE 14
|
||||
|
||||
union {
|
||||
struct {
|
||||
|
|
@ -391,6 +392,9 @@ struct ata_cmd {
|
|||
int interleave;
|
||||
int unit;
|
||||
} raid_setup;
|
||||
struct {
|
||||
int disk;
|
||||
} raid_spare;
|
||||
struct raid_status {
|
||||
int type;
|
||||
int total_disks;
|
||||
|
|
|
|||
Loading…
Reference in a new issue