Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jan 2010 13:46:39 +0000 (UTC)
From:      Alexander Motin <mav@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r201579 - stable/8/sys/geom/stripe
Message-ID:  <201001051346.o05Dkdpt013506@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mav
Date: Tue Jan  5 13:46:39 2010
New Revision: 201579
URL: http://svn.freebsd.org/changeset/base/201579

Log:
  MFC r200933:
  Make geom_stripe report it's stripe size to upper layers.

Modified:
  stable/8/sys/geom/stripe/g_stripe.c
Directory Properties:
  stable/8/sys/   (props changed)
  stable/8/sys/amd64/include/xen/   (props changed)
  stable/8/sys/cddl/contrib/opensolaris/   (props changed)
  stable/8/sys/contrib/dev/acpica/   (props changed)
  stable/8/sys/contrib/pf/   (props changed)
  stable/8/sys/dev/xen/xenpci/   (props changed)

Modified: stable/8/sys/geom/stripe/g_stripe.c
==============================================================================
--- stable/8/sys/geom/stripe/g_stripe.c	Tue Jan  5 13:25:12 2010	(r201578)
+++ stable/8/sys/geom/stripe/g_stripe.c	Tue Jan  5 13:46:39 2010	(r201579)
@@ -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?201001051346.o05Dkdpt013506>