Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Oct 2009 00:28:05 +0100
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        stef@memberwebs.com
Cc:        freebsd-fs@freebsd.org
Subject:   Re: 8.0-RC2: ZFS deadlock with zfs receive
Message-ID:  <20091030232805.GA2996@garage.freebsd.pl>
In-Reply-To: <4AEA0EAD.1050302@memberwebs.com>
References:  <804B79F6-27CE-40D2-8AB8-6FC378F448FA@sarenet.es> <4AEA0EAD.1050302@memberwebs.com>

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

--a8Wt8u1KmwUX3Y2C
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 29, 2009 at 03:52:45PM -0600, Stef Walter wrote:
> Borja Marcos wrote:
> > I've been sending some alltraces to pjd about this easy to reproduce
> > problem. I am using zfs send/zfs receive to replicate a dataset from one
> > server to another. At 1 minute intervals, an incremental snapshot is
> > sent to update the dataset copy. If there is reading activity on the
> > dataset copy, a deadlock can happen rendering ZFS and all the FS
> > subsystem unusable. I've tried with 8.0RC2 and it still happens.

I was able to reproduce it, but I don't have fix yet.

> FWIW, another (or the same) zfs recv deadlock I've been trying to get to
> the bottom of:
>=20
> http://lists.freebsd.org/pipermail/freebsd-fs/2009-October/006999.html

Could you guys recompile your kernel after uncommenting line:

#CFLAGS+=3D-DDEBUG=3D1

in sys/modules/zfs/Makefile?

You should see panic on assertion instead of deadlock, I believe.

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

--a8Wt8u1KmwUX3Y2C
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.4 (FreeBSD)

iD8DBQFK63aEForvXbEpPzQRApycAJ45492n8fdkSgJqrkeTVgUouET/SwCgoj82
QwcsIo1WEIz0Q77WVm7jSAM=
=7YXH
-----END PGP SIGNATURE-----

--a8Wt8u1KmwUX3Y2C--



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