From owner-freebsd-geom@FreeBSD.ORG Tue Oct 23 14:46:56 2007 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3BC4F16A41B; Tue, 23 Oct 2007 14:46:56 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id BEF1813C4C8; Tue, 23 Oct 2007 14:46:55 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 53E83744006; Tue, 23 Oct 2007 14:13:57 +0300 (EEST) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CJark6ABQDCn; Tue, 23 Oct 2007 14:13:57 +0300 (EEST) Received: from [10.2.1.87] (gateway.cybervisiontech.com.ua [88.81.251.18]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id E19D7744003; Tue, 23 Oct 2007 14:13:56 +0300 (EEST) Message-ID: <471DD76F.6000402@icyb.net.ua> Date: Tue, 23 Oct 2007 14:13:51 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.6 (X11/20070803) MIME-Version: 1.0 To: Pawel Jakub Dawidek References: <4715C3D1.3070308@icyb.net.ua> <4715F4EE.9020104@freebsd.org> <47161FD1.5010501@icyb.net.ua> In-Reply-To: <47161FD1.5010501@icyb.net.ua> References: <4715C3D1.3070308@icyb.net.ua> <4715F4EE.9020104@freebsd.org> <47161FD1.5010501@icyb.net.ua> <20071017201235.GD50219@garage.freebsd.pl> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-geom@freebsd.org Subject: Re: gjournal: FLUSHCACHE timed out X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Oct 2007 14:46:56 -0000 It seems that setting switch_time to 5 helped only against small loads and I still saw timeouts in some cases. Unfortunately I lost Pavel's reply but I saw it in the web archives and I applied the patch from: http://www.freebsd.org/cgi/cvsweb.cgi/src/sys/dev/ata/ata-disk.c.diff?r1=1.201;r2=1.202 and everything is perfect now! I set switch_time back to 10 and I don't see any timeouts even under heavy loads. Thank you, Pavel! Also, according to the given advices I disabled softupdates and set async mount option. Thank you all again. -- Andriy Gapon