On Wed, Mar 10, 2010 at 10:24:49AM +0100, Borja Marcos wrote: > Tested. Same deadlock remains.
Ok, to track this down I need the following:
Uncomment 'CFLAGS+=-DDEBUG=1' line in sys/modules/zfs/Makefile.
Add the following lines to your kernel config:
options WITNESS
options WITNESS_SKIPSPIN
options INVARIANTS
options INVARIANT_SUPPORT
options DEBUG_VFS_LOCKS
options DEBUG_LOCKS
options KDB
options DDB
Recompile your kernel and modules and reboot.
Once the deadlock occur, enter DDB and send me the output of:
ps
show alllocks
show lockedvnods
show allchains
alltrace
Thanks.
--
Pawel Jakub Dawidek http://www.wheelsystems.com
[email protected] http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
pgpsGx4nFhsJJ.pgp
Description: PGP signature
