Re: ZFS deadlock ?

From: Henri Hennebert <hlh_at_restart.be>
Date: Sat, 10 Nov 2007 21:30:24 +0100
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
Received on Sat Nov 10 2007 - 19:30:29 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:21 UTC