Re: ext2 on flash memory

From: Juergen Beisert
Date: Tue Jun 12 2007 - 03:53:20 EST


On Tuesday 12 June 2007 02:35, Kevin Bowling wrote:
> All of the posts fail to address the question here: what is the
> correct file system, or does one exist yet, for wear leveling flash
> storage.
> JFFS2 and logfs are nice for MTD, but for better flash
> memories that are likely to be used in the future like solid state
> hard disks, what is the answer?

As long the device itself does the wear leveling, there could no specific
answer here!
On MTD its the job of the filesystem to do the wear leveling because it works
on the bare flash. But memory sticks, CFs and so on emulate a block device. I
don't know a device where you could switch off its internal wear leveling
mechanism. So it makes no sense to find the best filesystem for such a case.
There is no best one.

Its the same discussion about protecting essential data on CF by using more
than one partition. A first partition for read only (system), a second one
also for writing (data). And everyone hopes in the case of a crash the read
only partition survives. But CFs internal wear leveling does not know
partitions and continuous to use *all* blocks on the CF for its job.

Juergen
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/