[PATCH] Enhancement to current 1:1 mapping handling in JFFS2

Jörn Engel joern at wohnheim.fh-wedel.de
Mon Sep 26 04:44:19 EDT 2005


On Mon, 26 September 2005 16:32:20 +0800, zhao forrest wrote:
> >
> >This could become a limit already.  Block devices going through a
> >translation usually have 4k as erase size.  Any USB key above 128KiB
> >will be a problem.
> >
> >Not sure what we want to do about this.
> 
> I agree with you that my patch is not a perfect solution to the
> problem. But at least it's a further step of current 1:1 mapping
> handling in JFFS2. I think someone can give better patch if he
> meets the limit in the future. Does it make sense to you? Or 
> do you agree to check in this patch after I finish revising it?

Maybe you can just keep the current logic from Ferenc for the pointer
array.  People can already meet the limit today, so we need some
solution today.

Jörn

-- 
Data dominates. If you've chosen the right data structures and organized
things well, the algorithms will almost always be self-evident. Data
structures, not algorithms, are central to programming.
-- Rob Pike




More information about the linux-mtd mailing list