Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Nov 2007 21:30:24 +0100
From:      Henri Hennebert <hlh@restart.be>
To:        Pawel Jakub Dawidek <pjd@freebsd.org>
Cc:        freebsd-current@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: ZFS deadlock ?
Message-ID:  <473614E0.8010401@restart.be>
In-Reply-To: <20071110124806.GI37371@garage.freebsd.pl>
References:  <47348CAC.5020208@restart.be>	<20071110085312.GG37371@garage.freebsd.pl>	<4735986F.5000307@restart.be> <20071110124806.GI37371@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek wrote:
> On Sat, Nov 10, 2007 at 12:39:27PM +0100, Henri Hennebert wrote:
>> Pawel Jakub Dawidek wrote:
>>> On Fri, Nov 09, 2007 at 05:37:00PM +0100, Henri Hennebert wrote:
>>>> hello
>>>>
>>>> To push zfs, I launch 2 scrub at the same time, after ~20 seconds the 
>>>> system freeze:
>>> [...]
>>>
>>> I found a deadlock too. If it's reproducable for you, can you try this
>>> patch:
>> I reproduce it after 30 minutes, si I try you patch.
>>
>>> 	http://people.freebsd.org/~pjd/patches/zgd_done.patch
>> when I try to load zfs.ko I get:
>>
>> # kldload zfs
>> link_elf: symbol kproc_create undefined
>> kldload: can't load zfs: No such file or directory
>>
>> What must I add to my config to resolve this symbol / problem
> 
> Ouch, you don't use HEAD. Try changing kproc_*() to kthread_*().
> 
It load correctly now...

Moreover, no deadlock after multiple scrub in // and some buildworld to 
make sure...

look fine for my config :-)

Just to give credit to zfs, scrub encounter 2 IO errors without impact 
on my data :)

/var/log/messages:
Nov 10 15:33:00 morzine kernel: ad6: TIMEOUT - READ_DMA48 retrying (1 
retry left) LBA=299882429
Nov 10 15:33:06 morzine kernel: ad6: TIMEOUT - READ_DMA48 retrying (0 
retries left) LBA=299882429
Nov 10 15:33:12 morzine kernel: ad6: FAILURE - READ_DMA48 timed out 
LBA=299882429
Nov 10 16:55:53 morzine kernel: ad6: WARNING - SETFEATURES SET TRANSFER 
MODE taskqueue timeout - completing request directly
Nov 10 16:55:53 morzine kernel: ad6: TIMEOUT - READ_DMA48 retrying (1 
retry left) LBA=299883325
Nov 10 16:56:06 morzine kernel: ad6: TIMEOUT - READ_DMA48 retrying (0 
retries left) LBA=299883325
Nov 10 16:56:13 morzine kernel: ad6: FAILURE - READ_DMA48 timed out 
LBA=299883325

ZFS is realy great!

I will run more test tomorrow... and keep you posted

Thanks

Henri



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