From owner-freebsd-current@FreeBSD.ORG Sat Feb 3 12:35:09 2007 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 8491F16A405; Sat, 3 Feb 2007 12:35:09 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from ls405.t-com.hr (ls405.t-com.hr [195.29.150.135]) by mx1.freebsd.org (Postfix) with ESMTP id 0867B13C481; Sat, 3 Feb 2007 12:35:08 +0000 (UTC) (envelope-from ivoras@fer.hr) Received: from ls248.t-com.hr (ls248.t-com.hr [195.29.150.237]) by ls405.t-com.hr (Postfix) with ESMTP id 4E517144449; Sat, 3 Feb 2007 13:35:06 +0100 (CET) Received: from ls248.t-com.hr (localhost.localdomain [127.0.0.1]) by ls248.t-com.hr (Qmlai) with ESMTP id 317905D82A8; Sat, 3 Feb 2007 13:35:06 +0100 (CET) Received: from ls248.t-com.hr (localhost.localdomain [127.0.0.1]) by ls248.t-com.hr (Qmlai) with ESMTP id 0B50C5D827E; Sat, 3 Feb 2007 13:35:05 +0100 (CET) X-Envelope-Sender-Info: PPNxY8En3dcmVUp3NnTfFz0sO21BKZWqwM/sq9n6Fs5AdcXuvHY/9pt47skoogJP X-Envelope-Sender: ivoras@fer.hr Received: from [10.0.0.101] (89-172-45-56.adsl.net.t-com.hr [89.172.45.56]) by ls248.t-com.hr (Qmali) with ESMTP id 74E1D2007B; Sat, 3 Feb 2007 13:35:03 +0100 (CET) Message-ID: <45C48175.5060704@fer.hr> Date: Sat, 03 Feb 2007 13:35:01 +0100 From: Ivan Voras User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: Pieter de Goeje References: <45C336D7.2060109@fer.hr> <20070202133055.GB21290@garage.freebsd.pl> <200702031238.52771.pieter@degoeje.nl> In-Reply-To: <200702031238.52771.pieter@degoeje.nl> X-Enigmail-Version: 0.94.1.2 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig8C7E44CD954588796B742E31" Cc: freebsd-current@freebsd.org, Pawel Jakub Dawidek , freebsd-geom@freebsd.org Subject: Re: First steps towards importing gvirstor into -current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 03 Feb 2007 12:35:09 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig8C7E44CD954588796B742E31 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Pieter de Goeje wrote: > GEOM_VIRSTOR[1]: All physical space allocated for test > GEOM_VIRSTOR[5]: Failed to allocate physical chunk for virstor/test > g_vfs_done():virstor/test[WRITE(offset=3D103153664, length=3D131072)]er= ror =3D 28 > It spitted out these messages in a tight loop (100% sys load). I was un= able to=20 Yes, it turns out the file system gets confused if the device reports a certain size and then returns ENOSPC (error 28) when it shouldn't. Unfortunately, yanking the device from under the file system would panic the kernel. Returning EIO could either panic it or "just" end up with a corrupted file system. Any ideas from the more VFS-savvy? The "tight loop" seems to be VFS retrying, inserting the requests to GEOM layer over and over... > Also, no warning was issued when it aproached 0% free physical space. > I would expect the system to simply abort the write operation (possibly= =20 > needing a background fsck after adding another component to make more s= pace). It should - are you sure the message didn't get lost/overflown in the log= ? --------------enig8C7E44CD954588796B742E31 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.4.4 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFxIF1ldnAQVacBcgRAkBWAJ4ya8upiFMd5Np+y5l6Gk6YSp9HkQCeI0qT 4JO8juuu/dfD5WTjEEJsGNg= =7B2D -----END PGP SIGNATURE----- --------------enig8C7E44CD954588796B742E31--