From owner-freebsd-arm@FreeBSD.ORG Fri Dec 18 13:31:24 2009 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D714B106566B for ; Fri, 18 Dec 2009 13:31:24 +0000 (UTC) (envelope-from bounces@nabble.com) Received: from kuber.nabble.com (kuber.nabble.com [216.139.236.158]) by mx1.freebsd.org (Postfix) with ESMTP id B87DD8FC08 for ; Fri, 18 Dec 2009 13:31:24 +0000 (UTC) Received: from isper.nabble.com ([192.168.236.156]) by kuber.nabble.com with esmtp (Exim 4.63) (envelope-from ) id 1NLcvU-0003eO-AN for freebsd-arm@freebsd.org; Fri, 18 Dec 2009 05:31:24 -0800 Message-ID: <26843272.post@talk.nabble.com> Date: Fri, 18 Dec 2009 05:31:24 -0800 (PST) From: RuiDC To: freebsd-arm@freebsd.org In-Reply-To: <200912162143.nBGLhbva038162@casselton.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: ruidc@yahoo.com References: <26803523.post@talk.nabble.com> <4B28C608.1070802@gmail.com> <4B28CFCD.3000401@semihalf.com> <26811801.post@talk.nabble.com> <200912162143.nBGLhbva038162@casselton.net> Subject: Re: fetch data corruption on local fs X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Dec 2009 13:31:24 -0000 Mark Tinguely wrote: > > Sounds like you are using preload. > > Looks like sys/dev/md/md.c could use a cpu_flush_dcache() for the > BIO_WRITE cases in mdstart_[malloc|preload] cases. Though from just > mdstart_preload, I don't see an obvious reason the "-o sync" is > helping. > > The pmap_kremove() patch for sf_buf_free() should help for the BIO_WRITE > in the mdstart_swap case. > Thanks for your reply, I'm not quite sure what you mean in your reply, but presume that your suggestions may workaround this problem when performing fetch operations against an md filesystem? if so, then this may be the case, but my real target is UFS filesystem, I was just using md as an alternative to the NFS-mounted filesystem suggested to test problem and workaround. If I have misunderstood, then please forgive me. -- View this message in context: http://old.nabble.com/problem-setting-up-ports-tp26803523p26843272.html Sent from the freebsd-arm mailing list archive at Nabble.com.