Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Feb 2007 13:35:01 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        Pieter de Goeje <pieter@degoeje.nl>
Cc:        freebsd-current@freebsd.org, Pawel Jakub Dawidek <pjd@freebsd.org>, freebsd-geom@freebsd.org
Subject:   Re: First steps towards importing gvirstor into -current
Message-ID:  <45C48175.5060704@fer.hr>
In-Reply-To: <200702031238.52771.pieter@degoeje.nl>
References:  <epspv7$a9e$1@sea.gmane.org> <45C336D7.2060109@fer.hr>	<20070202133055.GB21290@garage.freebsd.pl> <200702031238.52771.pieter@degoeje.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45C48175.5060704>