zfs dead lock

Andriy Gapon avg at FreeBSD.org
Thu Aug 29 10:00:42 UTC 2013


on 15/08/2013 21:36 Kuang-che Wu said the following:
> I suspect I encountered zfs deadlock yesterday.(According to
> https://wiki.freebsd.org/AvgZfsDeadlockDebug)
> Following is the report.
> 
> I have two zpool -- one is named zroot and the other is zdata. They are
> both raidz2 on same set of 6 disks.
> While zroot works well, any processes hang if they touch zdata.
> And those processes hang forever (at least more than half hours).
> 
> Before zdata hang, there are about 10 processes busy read/write to zdata.
> Their read/write patterns are linear read/write lots of large files.
> (download hundred MB files and calculate checksum)
> Average zpool write speed about 10MB/s.
> 
> In output of procstat, I found 8 processes have zio_wait + zio_done in
> stacks and this is very
> likely a ZFS deadlock according to the wiki page.
> 
> 
> System: FreeBSD kcwu.csie.org 10.0-CURRENT FreeBSD 10.0-CURRENT #5 b37d7ce:
> Tue Jul 30 21:25:46 CST 2013 root at kcwu.csie.org:/usr/obj/usr/src/sys/DESKTOP
> amd64
> 
> 
> 
> procstat log and boot dmesg are attached.
> 
> Please let me know if you need more information.

Thank you very much for the report!  And sorry for the delay.
Do you still have this locked up system?
Or are you able to reproduce the lock up?
I would like to examine some things with kgdb.

-- 
Andriy Gapon


More information about the freebsd-fs mailing list