From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-bw0-f49.google.com ([209.85.214.49]) by bombadil.infradead.org with esmtp (Exim 4.72 #1 (Red Hat Linux)) id 1P0UAQ-000616-Kp for linux-mtd@lists.infradead.org; Tue, 28 Sep 2010 06:59:59 +0000 Received: by bwz19 with SMTP id 19so5427790bwz.36 for ; Mon, 27 Sep 2010 23:59:57 -0700 (PDT) Subject: Re: RE : UBI/UBIFS interrupted write page handling From: Artem Bityutskiy To: Matthieu Castet In-Reply-To: <1285523911.1776.9.camel@brekeke> References: <4C88DDD5.4060507@parrot.com> <1284054669.11335.21.camel@brekeke> <1285006478.1762.1.camel@brekeke> <4C9B7CD8.4070806@parrot.com>,<1285266914.1766.1.camel@brekeke> <1285523911.1776.9.camel@brekeke> Content-Type: text/plain; charset="UTF-8" Date: Tue, 28 Sep 2010 09:58:08 +0300 Message-ID: <1285657088.2437.23.camel@localhost> Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Cc: "linux-mtd@lists.infradead.org" Reply-To: dedekind1@gmail.com List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On Sun, 2010-09-26 at 20:58 +0300, Artem Bityutskiy wrote: > > The test is still running, but because for each boot we got this slow > > dump (take near 1 min), I expect others errors to take longer to > > appear. > > Your PEB 20 contains almost all 0xFFs, but not quite, and NAND pages are > read with ECC errors. I think this is a result of power cut during > erasure. > > My new patch-set is trying to detect situations when we have a PEB which > contains important data, but its VID header is corrupted. We try to > preserve such PEBs instead of erasing. UBI would not spam so much if > debugging was disabled. Matthieu, thanks for testing the latest UBI changes. I wonder, do you have issues with the follow-up fix I sent you. I just wonder if it is ok for me to put these patches to linux-next or it is better to wait a little? -- Best Regards, Artem Bityutskiy (Артём Битюцкий)