From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail2.shareable.org ([80.68.89.115]) by bombadil.infradead.org with esmtps (Exim 4.69 #1 (Red Hat Linux)) id 1LuA05-0003te-N6 for linux-mtd@lists.infradead.org; Wed, 15 Apr 2009 18:38:34 +0000 Date: Wed, 15 Apr 2009 19:38:06 +0100 From: Jamie Lokier To: Nicolas Pitre Subject: Re: UBIFS Corrupt during power failure Message-ID: <20090415183806.GA8669@shareable.org> References: <1239383500.3390.76.camel@localhost.localdomain> <1239689500.3390.82.camel@localhost.localdomain> <20090414180010.GC32311@shareable.org> <1239775237.3390.144.camel@localhost.localdomain> <20090415160921.GA4325@shareable.org> <20090415164416.GD4325@shareable.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Cc: Adrian Hunter , Eric Holmberg , linux-mtd@lists.infradead.org, Urs Muff List-Id: Linux MTD discussion mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Nicolas Pitre wrote: > On Wed, 15 Apr 2009, Jamie Lokier wrote: > > > Unrelated to this chip: I vaguely remember, aren't there some flash > > chips which can do more than one block write in parallel, or a write > > in parallel with an erase to a different block? > > Some NOR flash parts can do a write _or_ an erase in one block while > performing any amount of reads in other blocks. At least that's what we > support. If some parts allow for concurrent writes we currently don't > support that. I don't remember if it was NOR, NAND or something else, but I remember reading about some flash which supports 1 concurrent write and 1 erase, and thinking "oh that's clever, it means you can do streaming writes or rapid fsync/database commits without long pauses for erasing". Of course you can do that with two flash chips side by side :-) Can MTD and/or UBI join two chips to look like a single partition in that way and avoid pauses for erase by writing to the other part? Thanks, -- Jamie