Date: Tue, 18 Aug 2009 07:41:02 +0000 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Lev Serebryakov <lev@serebryakov.spb.ru> Cc: freebsd-geom@freebsd.org Subject: Re: Difference between FreeBSD-7 and FreeBSD-8 in tasting? Message-ID: <16362.1250581262@critter.freebsd.dk> In-Reply-To: Your message of "Tue, 18 Aug 2009 11:38:33 %2B0400." <852978746.20090818113833@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <852978746.20090818113833@serebryakov.spb.ru>, Lev Serebryakov write s: > I've found problem. geom_raid5 check cp->provider->sectorsize before >g_access() call, and on boot it is zero before g_access() and 512 >(which is proper value) after this call. This is a bug in geom_raid5: The sectorsize and mediasize are only valid if you hold a proper access to the provider. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?16362.1250581262>