Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Apr 2005 16:48:13 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        Pawel Malachowski <pawmal-posting@freebsd.lublin.pl>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Processess running on gconcat lock in kserel or ufs state
Message-ID:  <20050403144813.GB837@darkness.comp.waw.pl>
In-Reply-To: <20050403130602.GA86317@shellma.zin.lublin.pl>
References:  <20050403130602.GA86317@shellma.zin.lublin.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

--qicme7IxPpkH/pPU
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Sun, Apr 03, 2005 at 03:06:02PM +0200, Pawel Malachowski wrote:
+> Hello,
+>=20
+> Processess runing on gconcat drive frequently lock on my machine
+> in kserele/ufs state. Could you try giving some hints/patches?

I think I found the problem. Could you try this patch:

	http://people.freebsd.org/~pjd/patches/g_concat.c.patch

There was missing g_io_deliver() in case of insufficient memory.
I also add a fix for very rare case - when we need two I/O operations
and allocation of the second bio will fail, we leaked memory.
Thanks for the report.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--qicme7IxPpkH/pPU
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFCUAItForvXbEpPzQRAgRuAKDo5DZgBIXKs9twkFnHzR3DXewQDwCg71my
GNlg7k4AIEv73hw42Cdd50I=
=2Rlt
-----END PGP SIGNATURE-----

--qicme7IxPpkH/pPU--



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