From owner-freebsd-fs@FreeBSD.ORG Thu Apr 4 15:40:02 2013 Return-Path: Delivered-To: freebsd-fs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 108EB530 for ; Thu, 4 Apr 2013 15:40:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx1.freebsd.org (Postfix) with ESMTP id 03698AEF for ; Thu, 4 Apr 2013 15:40:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.6/8.14.6) with ESMTP id r34Fe10A057205 for ; Thu, 4 Apr 2013 15:40:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.6/8.14.6/Submit) id r34Fe1Ka057203; Thu, 4 Apr 2013 15:40:01 GMT (envelope-from gnats) Date: Thu, 4 Apr 2013 15:40:01 GMT Message-Id: <201304041540.r34Fe1Ka057203@freefall.freebsd.org> To: freebsd-fs@FreeBSD.org Cc: From: Andriy Gapon Subject: Re: kern/177536: zfs livelock (deadlock) with high write-to-disk load X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Andriy Gapon List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 04 Apr 2013 15:40:02 -0000 The following reply was made to PR kern/177536; it has been noted by GNATS. From: Andriy Gapon To: Martin Birgmeier Cc: bug-followup@FreeBSD.org Subject: Re: kern/177536: zfs livelock (deadlock) with high write-to-disk load Date: Thu, 04 Apr 2013 18:31:39 +0300 on 02/04/2013 21:07 Martin Birgmeier said the following: > Thanks for the pointer - which I knew about, but unfortunately found out > too late that the kernel needs to be compiled with options STACK and/or > options DDB/KDB for this to work. > > Could this information be added to that page? Well, I do not see any reason for people to not include at least STACK in their kernel. It's in GENERIC too. you are the first one to run into this kind of an issue :-) > I already recompiled the kernel, but are ambivalent about whether I > should now hope to see the deadlock again... ;-) > > One more thing: Could you point me to the SVN revision in head and/or > stable/9 which presumably contains the (partial) fix? I believe that with r244626 from 2012-12-23 you should not experience hang on shutdown. > On 04/01/13 22:51, Andriy Gapon wrote: >> Two points: >> - the problem may be (partially) fixed in stable/9 >> - https://wiki.freebsd.org/AvgZfsDeadlockDebug >> > -- Andriy Gapon