From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [85.21.88.2] (helo=mail.dev.rtsoft.ru) by canuck.infradead.org with smtp (Exim 4.62 #1 (Red Hat Linux)) id 1FeTQB-0004QG-Lg for linux-mtd@lists.infradead.org; Fri, 12 May 2006 04:55:14 -0400 Message-ID: <44644D79.7000903@ru.mvista.com> Date: Fri, 12 May 2006 12:55:21 +0400 From: Vitaly Wool MIME-Version: 1.0 To: Russ Dill References: <4461B7CD.9010100@ru.mvista.com> <625fc13d0605100400t458ab59enbd36f70c90e10b2e@mail.gmail.com> <4461CC8C.6010105@ru.mvista.com> <1147386362.12030.9.camel@shinybook.infradead.org> In-Reply-To: Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 7bit Cc: Linux-MTD Mailing List , Josh Boyer , David Woodhouse Subject: Re: [RFC] read-only filesystem support for NAND flash devices List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Russ Dill wrote: > True, I also realized another possible shortcut. If a blocks gets an > ECC correction on a read, rewrite it to a free block, erase the block, > rewrite it from the data written to the free block, and then erase the > free block. You'd need to put some info in the OOB so you could know > what the state is on power recovery. > Oh thanks, that's the idea I'm going to use. It's a pretty reasonable assumption that 1 byte out of OOB is available as there's not going to be anything in OOB but ECC code in case of RO filesystem. Vitaly