From owner-freebsd-fs@FreeBSD.ORG Tue Mar 27 23:42:18 2007 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9BE5016A402 for ; Tue, 27 Mar 2007 23:42:18 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 591DF13C469 for ; Tue, 27 Mar 2007 23:42:18 +0000 (UTC) (envelope-from freebsd-fs@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HWLIp-0001TH-1T for freebsd-fs@freebsd.org; Wed, 28 Mar 2007 01:42:11 +0200 Received: from 83-131-174-33.adsl.net.t-com.hr ([83.131.174.33]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Mar 2007 01:42:11 +0200 Received: from ivoras by 83-131-174-33.adsl.net.t-com.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 28 Mar 2007 01:42:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-fs@freebsd.org From: Ivan Voras Date: Wed, 28 Mar 2007 01:42:02 +0200 Lines: 37 Message-ID: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC1CEE51A83E1EC8CD91ACF76" X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 83-131-174-33.adsl.net.t-com.hr User-Agent: Thunderbird 1.5.0.10 (Windows/20070221) X-Enigmail-Version: 0.94.1.2 Sender: news Subject: gvirstor & UFS X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Mar 2007 23:42:18 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC1CEE51A83E1EC8CD91ACF76 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I'm having trouble recovering from "ENOSPC" situation in gvirstor - when there's enough space on the virtual device, but not enough physical space. No matter what I return to the upper layers (UFS), including EIO, it seems to keep on retrying, spitting enormous amounts of messages to the kernel log in g_vfs_done (and during this the console is stuck). This is the same problems reported by testers some time ago. Maybe the solution is as simple as sticking a check for ENOSPC somewhere in UFS code to make it a special case, but I doubt it's that simple. The required behaviour is to, if this condition is reached, drop the current IO request (returning appropriate errno to the application) and stop retrying (or at least ignore further error messages) until the condition is cleared. Any suggestions? --------------enigC1CEE51A83E1EC8CD91ACF76 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 iD8DBQFGCavKldnAQVacBcgRAqScAKComZ5PWje39yVP7j4OLL+Kjr1vzgCgkaRE jIiann3K4V3ugbw8jyH0Ngo= =ZSzl -----END PGP SIGNATURE----- --------------enigC1CEE51A83E1EC8CD91ACF76--