8.0-RC2: ZFS deadlock with zfs receive

Pawel Jakub Dawidek pjd at FreeBSD.org
Fri Oct 30 23:28:14 UTC 2009


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:
> 
> http://lists.freebsd.org/pipermail/freebsd-fs/2009-October/006999.html

Could you guys recompile your kernel after uncommenting line:

#CFLAGS+=-DDEBUG=1

in sys/modules/zfs/Makefile?

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

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-fs/attachments/20091030/e958d884/attachment.pgp


More information about the freebsd-fs mailing list