PERFORCE change 123061 for review
Ulf Lilleengen
lulf at FreeBSD.org
Sat Jul 7 15:58:20 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=123061
Change 123061 by lulf at lulf_carrot on 2007/07/07 15:58:16
- Set correct volume size. This solves the problem with having unequal
mirrored plexes.
Affected files ...
.. //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_subr.c#17 edit
Differences ...
==== //depot/projects/soc2007/lulf/gvinum_fixup/sys/geom/vinum/geom_vinum_subr.c#17 (text+ko) ====
@@ -971,9 +971,7 @@
}
LIST_FOREACH(v, &sc->volumes, volume) {
- p = LIST_FIRST(&v->plexes);
- if (p != NULL)
- v->size = p->size;
+ v->size = gv_vol_size(v);
if (v->provider == NULL) {
g_topology_lock();
pp = g_new_providerf(sc->geom, "gvinum/%s", v->name);
More information about the p4-projects
mailing list