From owner-freebsd-current@FreeBSD.ORG Fri Jun 26 12:59:29 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9ADA81065670 for ; Fri, 26 Jun 2009 12:59:29 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from ch-smtp01.sth.basefarm.net (ch-smtp01.sth.basefarm.net [80.76.149.212]) by mx1.freebsd.org (Postfix) with ESMTP id 51BCC8FC1A for ; Fri, 26 Jun 2009 12:59:29 +0000 (UTC) (envelope-from serenity@exscape.org) Received: from c83-253-252-234.bredband.comhem.se ([83.253.252.234]:56748 helo=mx.exscape.org) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.69) (envelope-from ) id 1MKB1W-0003OW-5i; Fri, 26 Jun 2009 14:59:24 +0200 Received: from [192.168.1.5] (macbookpro [192.168.1.5]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mx.exscape.org (Postfix) with ESMTPSA id 476295D2FA; Fri, 26 Jun 2009 14:59:20 +0200 (CEST) Message-Id: From: Thomas Backman To: Stanislav Sedov In-Reply-To: <20090626164639.71a34f62.stas@FreeBSD.org> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Fri, 26 Jun 2009 14:59:18 +0200 References: <993B7B5B-1B6B-48A5-8425-6A1D071335A9@exscape.org> <20090626164639.71a34f62.stas@FreeBSD.org> X-Mailer: Apple Mail (2.935.3) X-Originating-IP: 83.253.252.234 X-Scan-Result: No virus found in message 1MKB1W-0003OW-5i. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1MKB1W-0003OW-5i aaeb0f57e0bd36fe60ddddff5d2be8c6 Cc: freebsd-current@freebsd.org, Artem Belevich Subject: Re: ZFS : panic("sleeping thread") X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 26 Jun 2009 12:59:29 -0000 On Jun 26, 2009, at 02:46 PM, Stanislav Sedov wrote: > On Thu, 18 Jun 2009 13:49:46 +0200 > Thomas Backman mentioned: > >> Anyone have any updates on this? I just got a "sleeping thread" panic >> in ZFS after doing a zfs rollback. Unfortunately, "panic" in the >> debugger resulted in "dump device too small" (despite being RAM- >> sized) >> so I don't have a BT... However the BT I got in the debugger was >> *not* >> the same as yours. There was no _sx_xlock in it, but that's pretty >> much all I know about it. :( >> > > Hi, Thomas! > > Can you, please, try with the following patch? Thanks! > > -- > Stanislav Sedov > ST4096-RIPE I could (and might, too), but unfortunately (well, I guess...) I haven't been able to reproduce this, despite writing a script to really stress test it. It's either pretty darn random, or I was simply wrong about the rollback being involved. I've only gotten it once since I started using -CURRENT in early May(?) so I don't think I could tell whether the patch helps or not. :( Regards, Thomas