getrudri at yahoo.com
Wed Dec 22 04:05:57 EST 2004
Thanx for the reply.
I have couple of questions.
1) How JFFS2 will take care of Updating the same page
in the block.
2) How does the logical addr to physical addr of block
--- Estelle HAMMACHE <estelle.hammache at st.com> wrote:
> JFFS2 write pages sequentially from the start of an
> block to the end of the block. The current
> write block is in c->nextblock. The current write
> in this block is c->nextblock->offset.
> There is a write buffer (see file wbuf.c) to ensure
> only full pages are written, even though data nodes
> overlap a page boundary.
> Data nodes may not overlap an erase block boundary:
> if there
> is no more room in the current block, a new (empty)
> is selected (and the page buffer is flushed in the
> old block
> previously to writing to the new block). The new
> selection and the write address selection happen in
> nodemgmt.c (jffs2_do_reserve_space).
> Does this answer your question ?
> Rudresh NB wrote:
> > Hi All,
> > Iam using samsung Nand flash (k9f2g08u0m).
> > that there is restriction of random page program.
> > heard that jffs2 takes care. but iam unable to
> > where exactly (In which file ) it is taken care.
> > Brief explanation is appreciated.
> > Thanx in advance
> > Rgds
> > NBR
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
More information about the linux-mtd