From owner-freebsd-stable@FreeBSD.ORG Thu Feb 28 05:36:32 2013 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id AB2769FB; Thu, 28 Feb 2013 05:36:32 +0000 (UTC) (envelope-from rihad@mail.ru) Received: from smtp33.i.mail.ru (smtp33.i.mail.ru [94.100.177.93]) by mx1.freebsd.org (Postfix) with ESMTP id 2F339BD6; Thu, 28 Feb 2013 05:36:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mail.ru; s=mail; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:References:Subject:CC:To:MIME-Version:From:Date:Message-ID; bh=nQHKl3uy9ECXLp96TpVuLrZaCGL6e8aQk2i+G0oJgqM=; b=czY7DtmaFWRkWgqAUL4MLzRF4s04wGS77m17sQbY4t3WlVuYhedbfMmqOPTeYRApEAw5OhJSgomrFsKY99VAnPFT35EgyTL+oGUXgIC+EWZUl57hRFzaOERdWQorOitf; Received: from [217.25.27.27] (port=20819) by smtp33.i.mail.ru with esmtpa (envelope-from ) id 1UAwAJ-0006Rt-AJ; Thu, 28 Feb 2013 09:36:23 +0400 Message-ID: <512EECD4.5080600@mail.ru> Date: Thu, 28 Feb 2013 09:36:20 +0400 From: rihad User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 MIME-Version: 1.0 To: John Baldwin Subject: Re: mfi timeouts References: <512CFF90.8080806@mail.ru> <201302261548.56253.jhb@freebsd.org> <512DA073.9090908@mail.ru> <201302271159.13424.jhb@freebsd.org> In-Reply-To: <201302271159.13424.jhb@freebsd.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam: Not detected X-Mras: Ok Cc: freebsd-stable@freebsd.org, vince@unsane.co.uk 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: Thu, 28 Feb 2013 05:36:32 -0000 On 02/27/2013 08:59 PM, John Baldwin wrote: > On Wednesday, February 27, 2013 12:58:11 am rihad wrote: >> Now about this part taken from here >> http://lists.freebsd.org/pipermail/freebsd-scsi/2011-March/004839.html >> > By issuing a dummy read operation (thus forcing a flush of data >> buffers), this issue is largely averted. >> >> Does this mean that battery-backed cache (BBU) is effectively rendered >> useless, as all write operations are forced on to the disk platters on >> every interrupt? > No, this is a very different level. This is forcing pending PCI DMA > transactions on the PCI bus to flush by doing a read, not forcing I/O > buffers to be flushed to disk. > Thanks for clarifying. After applying the "dummy read" patch mfi timeouts don't appear in dmesg output any more, but i/o stalls still occurred 2-3 times during periods of high activity, for no more than 10-20 seconds. I guess the only way to fix that is to choose another hardware RAID implementation, or try Steven Hartland's patch? Does 8.3 or 9.1 include more fixes in this area, is upgrading recommended?