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 1Lu0uy-0002Z0-UU for linux-mtd@lists.infradead.org; Wed, 15 Apr 2009 08:56:35 +0000 Subject: Re: ubifs error when do bonnie++ test From: Artem Bityutskiy To: Jason Liu In-Reply-To: References: <49D47252.3020701@nokia.com> <1239366421.3390.12.camel@localhost.localdomain> Content-Type: text/plain; charset="UTF-8" Date: Wed, 15 Apr 2009 11:55:59 +0300 Message-Id: <1239785759.3390.175.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 Mon, 2009-04-13 at 14:50 +0800, Jason Liu wrote: > 2009/4/10 Artem Bityutskiy : > > 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. > > > > So have you tried to enable UBIFS extra checks? > Yes, The test is in progress. It's really slow after enable UBIFS > debug and extra checks.It will cost half hour for one test.And the > test case failed without debug off after 600 round of test.So it will > cost 600 * 0,5 = 300 hours with debug on, longer than 10 days. BTW, I guess you could try to look where the problem happens, and then make the test go straight to that? This would save time? -- Best regards, Artem Bityutskiy (Битюцкий Артём)