JFFS2 - how does the new page allocated?

David Woodhouse dwmw2 at infradead.org
Fri Nov 24 05:17:04 EST 2006


On Fri, 2006-11-24 at 18:50 +0900, Howard Yoo wrote:
> I'm currently analyzing the structure of JFFS2, for research reason.
> I have a simple question,
> 
> When JFFS2 allocates a new page to store the newly entering data, how
> does it select the new page? Does it allocate a new block for each new
> page request, or does it intelligently reuse the dirty marked page first
> to be more space efficient? I would like to get some hints on how JFFS2
> provisions pages and blocks..

I recommend you start by reading http://david.woodhou.se/jffs2.pdf

Then you should be able to ask questions which make slightly more sense
to me, and stand a better chance of getting a coherent answer :)

-- 
dwmw2





More information about the linux-mtd mailing list