From: Kasparek Tomas Subject: Re: NFS corruption in 2.6.18.2? Date: Sat, 25 Nov 2006 19:26:00 +0100 Message-ID: <20061125182600.GA74811@fit.vutbr.cz> References: <50e235a50d0f2b4fb34eed1c840565e3@swip.net> <20061123161738.GF40079@fit.vutbr.cz> <20061123172456.GG40079@fit.vutbr.cz> <20061123213311.GH40079@fit.vutbr.cz> <20061124064752.GI40079@fit.vutbr.cz> <1164395516.5702.53.camel@lade.trondhjem.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Return-path: Received: from sc8-sf-mx2-b.sourceforge.net ([10.3.1.92] helo=mail.sourceforge.net) by sc8-sf-list2-new.sourceforge.net with esmtp (Exim 4.43) id 1Go2FA-0003gA-9h for nfs@lists.sourceforge.net; Sat, 25 Nov 2006 10:27:16 -0800 Received: from kazi.fit.vutbr.cz ([147.229.8.12]) by mail.sourceforge.net with esmtps (TLSv1:AES256-SHA:256) (Exim 4.44) id 1Go2FA-0002qR-4O for nfs@lists.sourceforge.net; Sat, 25 Nov 2006 10:27:17 -0800 Received: from kazi.fit.vutbr.cz (localhost [127.0.0.1]) by kazi.fit.vutbr.cz (envelope-from kasparek@fit.vutbr.cz) (8.13.8/8.13.7) with ESMTP id kAPIR9jK077709 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 25 Nov 2006 19:27:09 +0100 (CET) Received: (from kasparek@localhost) by kazi.fit.vutbr.cz (8.13.8/8.13.1/Submit) id kAPIR93Q077708 for nfs@lists.sourceforge.net; Sat, 25 Nov 2006 19:27:09 +0100 (CET) (envelope-from kasparek@fit.vutbr.cz) Resent-Message-Id: <200611251827.kAPIR93Q077708@kazi.fit.vutbr.cz> To: Trond Myklebust In-Reply-To: <1164395516.5702.53.camel@lade.trondhjem.org> List-Id: "Discussion of NFS under Linux development, interoperability, and testing." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: nfs-bounces@lists.sourceforge.net Errors-To: nfs-bounces@lists.sourceforge.net On Fri, Nov 24, 2006 at 02:11:55PM -0500, Trond Myklebust wrote: > > > > On Thu, Nov 23, 2006 at 05:17:38PM +0100, Kasparek Tomas wrote: > > > > Just update: 2.6.17.14 is ok > > > > > > did git bisect between 2.6.17 and 2.6.18 and found that the commit is: > > > > > > 44b11874ff583b6e766a05856b04f3c492c32b84 > > > NFS: Separate metadata and page cache revalidation mechanisms > > > > > > will verify (with and without patch) tomorrow. > > > > 2.6.18.3 with reversed 44b11874ff583b6e766a05856b04f3c492c32b84 is OK. > > > > exact patch used included. > > If you are not using any form of synchronisation, then your test would > appear to be violating the close-to-open cache consistency rules (see > http://nfs.sourceforge.net/#faq_a8). Yes, I understand this, but with no synchronization I should get old or somewhat 'not current' data at worst, I don't expect to get some data generated by the kernel. The test is synthetic, it was constructed to be as easy as possible, but this one works well on 2.6.16 (mean no zeros, data are sometimes overwriten or mixed from several clients as a result of no locking, but that's ok for my application). I think the real bug/problem/misbehaving is somwhere else than in the patch itself I mention, this patch just enables different behaviour that ends with the real bad code having the possibility to show up. I will try to find this bad code next week. Regards -- Tomas Kasparek, PhD student E-mail: kasparek@fit.vutbr.cz CVT FIT VUT Brno, BI/140a Web: http://www.fit.vutbr.cz/~kasparek Bozetechova 2, 612 66 Fax: +420 54114-1270 Brno, Czech Republic Phone: +420 54114-1220 ICQ: 293092805 jabber: tomas.kasparek@jabber.cz GPG: 2F1E 1AAF FD3B CFA3 1537 63BD DCBE 18FF A035 53BC ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ NFS maillist - NFS@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs