From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.nokia.com ([192.100.105.134] helo=mgw-mx09.nokia.com) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1LpLyx-0001OY-H7 for linux-mtd@lists.infradead.org; Thu, 02 Apr 2009 12:25:26 +0000 Subject: Re: ubifs error when do bonnie++ test From: Artem Bityutskiy To: Jason Liu In-Reply-To: References: <49D47252.3020701@nokia.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 02 Apr 2009 15:25:05 +0300 Message-Id: <1238675105.20906.95.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: Linux mtd , Adrian Hunter Reply-To: dedekind@infradead.org List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Thu, 2009-04-02 at 17:49 +0800, Jason Liu wrote: > 2009/4/2 Adrian Hunter : > > Jason Liu wrote: > >> > >> I'm working on the 2.6.26 with ubifs enabled, but after some stress > >> test, ubifs give some err. The following is the steps to reproduce. > > > > Please apply all recent UBIFS patches and enable debugging and try > > again. > > > > You could also enable debugging checks, but that will really slow it down. > > > > > After apply all the patches from users/dedekind/ubifs-v2.6.26.git > I still get errors with bonnie++ test and only run 3times compared 390 > times without the patch > > Using uid:0, gid:0. > Writing with putc()...done > Writing intelligently...done > Rewriting...done > Reading with getc()...done > Reading intelligently...done > start 'em...done...done...done... > Create files in sequential order...done. > Stat files in sequential order...Expected 16384 files but only got 16385 > Cleaning up test directory after error. > > Could you please help on this?Does this means UBIFS has some bugs? Your eraseblock size is rather not-typical. We did not test UBIFS on such big eraseblocks, so yes, there may be bugs. Please, enable UBIFS extra checks and run the tests. Then when it fails, type dmesg and send the messages please. -- Best regards, Artem Bityutskiy (Битюцкий Артём)