summaryrefslogtreecommitdiffstats
path: root/sys/dev/vinum
diff options
context:
space:
mode:
authorgrog <grog@FreeBSD.org>2000-05-11 07:23:16 +0000
committergrog <grog@FreeBSD.org>2000-05-11 07:23:16 +0000
commit9bda0c7cd14bca1abdcd419fbaf1adfc72401210 (patch)
treec0ec870bfc4d757f97e3776ce37044a2a8f3b723 /sys/dev/vinum
parent9be8013c4da1fb129059640045eda6a4c680b23c (diff)
downloadFreeBSD-src-9bda0c7cd14bca1abdcd419fbaf1adfc72401210.zip
FreeBSD-src-9bda0c7cd14bca1abdcd419fbaf1adfc72401210.tar.gz
Change parity maintenance ioctls.
Add fields to vinum_ioctl_msg.
Diffstat (limited to 'sys/dev/vinum')
-rw-r--r--sys/dev/vinum/vinumio.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/vinum/vinumio.h b/sys/dev/vinum/vinumio.h
index 63286f7..cca47b8 100644
--- a/sys/dev/vinum/vinumio.h
+++ b/sys/dev/vinum/vinumio.h
@@ -33,7 +33,7 @@
* otherwise) arising in any way out of the use of this software, even if
* advised of the possibility of such damage.
*
- * $Id: vinumio.h,v 1.17 1999/10/12 04:35:01 grog Exp grog $
+ * $Id: vinumio.h,v 1.19 2000/04/26 04:17:33 grog Exp grog $
* $FreeBSD$
*/
@@ -81,9 +81,10 @@ struct vinum_ioctl_msg {
int index;
enum objecttype type;
enum objectstate state; /* state to set (VINUM_SETSTATE) */
+ enum parityop op; /* for parity ops */
int force; /* do it even if it doesn't make sense */
int recurse; /* recurse (VINUM_REMOVE) */
- int verify; /* verify (initsd) */
+ int verify; /* verify (initsd, rebuildparity) */
int otherobject; /* superordinate object (attach),
* replacement object (replace) */
int rename; /* rename object (attach) */
@@ -153,6 +154,5 @@ struct vinum_rename_msg {
#define VINUM_FINDDAEMON _IOC(0, L, 93, 0) /* check for presence of Vinum daemon */
#define VINUM_SETDAEMON _IOW(L, 94, int) /* set daemon flags */
#define VINUM_GETDAEMON _IOR(L, 95, int) /* get daemon flags */
-#define VINUM_CHECKPARITY _IOWR(L, 96, struct _ioctl_reply) /* check RAID-4/5 parity */
-#define VINUM_REBUILDPARITY _IOWR(L, 97, struct _ioctl_reply) /* rebuild RAID-4/5 parity */
+#define VINUM_PARITYOP _IOWR(L, 96, struct _ioctl_reply) /* check/rebuild RAID-4/5 parity */
#define VINUM_MOVE _IOWR(L, 98, struct _ioctl_reply) /* move an object */
OpenPOWER on IntegriCloud