summaryrefslogtreecommitdiffstats
path: root/sys/geom/geom.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/geom/geom.h')
-rw-r--r--sys/geom/geom.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sys/geom/geom.h b/sys/geom/geom.h
index 0e52892..a42721e 100644
--- a/sys/geom/geom.h
+++ b/sys/geom/geom.h
@@ -208,6 +208,12 @@ struct g_classifier_hook {
void *arg;
};
+/* BIO_GETATTR("GEOM::setstate") argument values. */
+#define G_STATE_FAILED 0
+#define G_STATE_REBUILD 1
+#define G_STATE_RESYNC 2
+#define G_STATE_ACTIVE 3
+
/* geom_dev.c */
struct cdev;
void g_dev_print(void);
OpenPOWER on IntegriCloud