Skip to contentSkip to conversation

JFFS2 - how does the new page allocated?

DISCUSSION Howard Yoo 2 participants 2 messages Nov 24, 2006 Memory technology devices (MTD)

lore
Share & tools
lore

Howard Yoo

author
#0 lore raw

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..

begin:vcard
fn:Hyung Gook Yoo
n:Yoo;Hyung Gook
org:OARDC;Korea
adr:;;;Seoul;;;South Korea
email;internet:[email protected]
title:Member of the technical staff
tel;work:+82.2.2194.7562
note:<img src="http://photos1.blogger.com/blogger/6439/404/320/HyungGookYoo_en_400.jpg" border="0" /> x-mozilla-html:TRUE
version:2.1
end:vcard

#1 lore raw
Quoted 8 lines · Howard Yoo

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 :)

Signature · 1 line
dwmw2