From owner-freebsd-geom@FreeBSD.ORG Mon Aug 13 12:13:18 2007 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 960BD16A46B for ; Mon, 13 Aug 2007 12:13:18 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 1E41713C461 for ; Mon, 13 Aug 2007 12:13:17 +0000 (UTC) (envelope-from gcubfg-freebsd-geom@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IKYn9-0002I7-Up for freebsd-geom@freebsd.org; Mon, 13 Aug 2007 14:13:04 +0200 Received: from 78-1-99-156.adsl.net.t-com.hr ([78.1.99.156]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Aug 2007 14:13:03 +0200 Received: from ivoras by 78-1-99-156.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 13 Aug 2007 14:13:03 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-geom@freebsd.org From: Ivan Voras Date: Mon, 13 Aug 2007 14:12:50 +0200 Lines: 51 Message-ID: References: <31903.4141.qm@web30306.mail.mud.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig47597366338E2A7A8FF6BBAD" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 78-1-99-156.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) In-Reply-To: <31903.4141.qm@web30306.mail.mud.yahoo.com> X-Enigmail-Version: 0.94.3.0 Sender: news Subject: Re: Gvirstor "newfs" problem - help needed X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Aug 2007 12:13:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig47597366338E2A7A8FF6BBAD Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Arne W=F6rner wrote: > Hi! >=20 > --- Ivan Voras wrote: >> cg 0: bad magic number >> > I know that message from my tests with graid5... > It was clearly caused by a bug in graid5, but I cannot remember when or= why it > happened... > I would guess, it happened because of some cache or request-sorting > mismanagement (the write didnt take place but the read was executed; or= the > second write took place before the first write)... Is that possible in > gvirstor? Does newfs create such a request-pattern (overlapping write r= equests > <-- would be a little bit astonishing)? >=20 > But I can definitely say, that it was a bug in graid5... Thanks for replying! gvirstor doesn't reorder IO and i doesn't have a cache, so it's not that. I agree that it's almost certainly a bug in gvirstor. The only "slightly unusual" thing newfs does is that it first writes a "big" block, then reads a smaller block from within the written big block and doesn't like what it gets. But this scenario is well tested by my test cases and I don't see why it fails for newfs. --------------enig47597366338E2A7A8FF6BBAD Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGwErCldnAQVacBcgRAlOzAKCsGfuSOGWvvOqpqaNuaj6P015mnQCgrK5d s/xLmtfrk0mFc2XKWS280bY= =6nYt -----END PGP SIGNATURE----- --------------enig47597366338E2A7A8FF6BBAD--