From owner-freebsd-stable@FreeBSD.ORG Sat Dec 29 13:30:37 2012 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 726B91A9 for ; Sat, 29 Dec 2012 13:30:37 +0000 (UTC) (envelope-from gorshkov.pavel@gmail.com) Received: from imp01.mtu.ru (imp01.mtu.ru [62.5.255.10]) by mx1.freebsd.org (Postfix) with ESMTP id ADB5B8FC08 for ; Sat, 29 Dec 2012 13:30:36 +0000 (UTC) Received: from lifebook ([91.79.89.14]) by imp01.mtu.ru with bizsmtp id hRWZ1k01Y0JaWa301RWaFo; Sat, 29 Dec 2012 17:30:34 +0400 X-Spam-Flag: NO Received: from localhost (localhost [127.0.0.1]) by lifebook (8.14.5/8.14.5) with ESMTP id qBTDUYFq043193; Sat, 29 Dec 2012 17:30:34 +0400 (MSK) (envelope-from gorshkov.pavel@gmail.com) Date: Sat, 29 Dec 2012 17:30:34 +0400 From: Pavel Gorshkov To: Konstantin Belousov Subject: Re: FS hang with suspfs when creating snapshot on a UFS + GJOURNAL setup Message-ID: <20121229133034.GA43182@localhost> References: <50DC30F6.1050904@incore.de> <20121227133355.GI82219@kib.kiev.ua> <50DC8999.8000708@incore.de> <20121227194145.GM82219@kib.kiev.ua> <50DD6423.5090305@incore.de> <20121228112724.GR82219@kib.kiev.ua> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20121228112724.GR82219@kib.kiev.ua> X-Operating-System: FreeBSD 9.1-RELEASE amd64 X-Editor: Vim-703 http://www.vim.org User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-stable@freebsd.org X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Dec 2012 13:30:37 -0000 On Fri, Dec 28, 2012 at 01:27:24PM +0200, Konstantin Belousov wrote: > Please try the following patch. It is against HEAD, might need some > adjustments for 8. I do the resume and write accounting atomically, > not allowing other suspension to intervent between. So is this only limited to snapshot creation, or can it happen during some other relatively heavy disk activity, e.g. trying to build/install two ports simultaneously? Because I have just experienced a very similar hang - not sure about 'suspfs' though (couldn't run top).