8.0-RC2: ZFS deadlock with zfs receive

Borja Marcos borjam at sarenet.es
Mon Nov 2 08:28:50 UTC 2009


On Oct 31, 2009, at 12:28 AM, Pawel Jakub Dawidek wrote:

> 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.

Aye aye, Sir!

What do you want me to collect? Just an alltrace? Anything else?

If you want the VMWare images to examine the panic by yourself just  
let me know.





Borja.



More information about the freebsd-fs mailing list