Date: Thu, 24 Dec 2009 10:43:44 +0000 (UTC) From: Alexander Motin <mav@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r200933 - head/sys/geom/stripe Message-ID: <200912241043.nBOAhik8028046@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: mav Date: Thu Dec 24 10:43:44 2009 New Revision: 200933 URL: http://svn.freebsd.org/changeset/base/200933 Log: Make geom_stripe report it's stripe size to upper layers. Modified: head/sys/geom/stripe/g_stripe.c Modified: head/sys/geom/stripe/g_stripe.c ============================================================================== --- head/sys/geom/stripe/g_stripe.c Thu Dec 24 04:50:18 2009 (r200932) +++ head/sys/geom/stripe/g_stripe.c Thu Dec 24 10:43:44 2009 (r200933) @@ -675,6 +675,8 @@ g_stripe_check_and_run(struct g_stripe_s } sc->sc_provider->sectorsize = sectorsize; sc->sc_provider->mediasize = mediasize * sc->sc_ndisks; + sc->sc_provider->stripesize = sc->sc_stripesize; + sc->sc_provider->stripeoffset = 0; g_error_provider(sc->sc_provider, 0); G_STRIPE_DEBUG(0, "Device %s activated.", sc->sc_name);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200912241043.nBOAhik8028046>