mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-03 12:35:02 +00:00
Add function to add spare disk to raid.
This commit is contained in:
parent
5909dab38c
commit
bdf54b2fc4
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=114528
@ -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 New Issue
Block a user