diff options
author | le <le@FreeBSD.org> | 2004-06-25 18:04:33 +0000 |
---|---|---|
committer | le <le@FreeBSD.org> | 2004-06-25 18:04:33 +0000 |
commit | d754d951b906e8d0c99ea9917952cdfb8c5c9378 (patch) | |
tree | 58b8d1bd65cc44a93c2827fe35cd9a28583260b3 /sys/geom/vinum/geom_vinum.c | |
parent | 1317204d7bf9cdcdd06de82024f406400388b2c1 (diff) | |
download | FreeBSD-src-d754d951b906e8d0c99ea9917952cdfb8c5c9378.zip FreeBSD-src-d754d951b906e8d0c99ea9917952cdfb8c5c9378.tar.gz |
Mark a plex as 'newborn' when it is created. This is used to indicate
that new RAID5 plexes need to be initialized first.
Diffstat (limited to 'sys/geom/vinum/geom_vinum.c')
-rw-r--r-- | sys/geom/vinum/geom_vinum.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/geom/vinum/geom_vinum.c b/sys/geom/vinum/geom_vinum.c index d4cdbaa..c4e96f4 100644 --- a/sys/geom/vinum/geom_vinum.c +++ b/sys/geom/vinum/geom_vinum.c @@ -384,6 +384,7 @@ gv_create(struct g_geom *gp, struct gctl_req *req) } p->vinumconf = sc; + p->flags |= GV_PLEX_NEWBORN; LIST_INIT(&p->subdisks); LIST_INSERT_HEAD(&sc->plexes, p, plex); } |