Date: Sat, 7 Jul 2007 15:58:19 GMT From: Ulf Lilleengen <lulf@FreeBSD.org> To: Perforce Change Reviews <perforce@FreeBSD.org> Subject: PERFORCE change 123061 for review Message-ID: <200707071558.l67FwJ6l022452@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=123061 Change 123061 by lulf@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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200707071558.l67FwJ6l022452>