RFC: [PATCH V2 0/9 Integration of SmartMedia/xD into mtd subsystem

Maxim Levitsky maximlevitsky at gmail.com
Mon Jan 11 17:24:31 EST 2010


On Sat, 2010-01-09 at 01:26 +0100, Jörn Engel wrote: 
> On Fri, 8 January 2010 19:40:29 +0200, Maxim Levitsky wrote:
> > 
> > Btw, your cards aren't Type M, right?
> > However I use here a Type M card, and its likely to include an FTL
> > inside, thus, it might explain the low speeds I get there partially...
> 
> No, mine were the old ones before marketing invented the two types.
> 
> Jörn
> 

I finally located the source of slowdown.
It appears to be caused by too large caching I did (5 erase blocks).
If I cache one block, write speed nears 1 MB/s.
As a bonus that makes the FTL much simplified.

Another small flaw that currently exists in my FTL is that it ignores
the underlying badblock support from mtd driver and requeres it to
expose the two bad block bytes in the oob layout, I think I can avoid
that after all.

Other that that, everything is just perfect.

I post updated patchset soon.

Best regards,
Maxim Levitsky




More information about the linux-mtd mailing list