Should we put jffs2_sum_marker into eraseblock_header?

Ferenc Havasi havasi at inf.u-szeged.hu
Tue Sep 13 07:59:21 EDT 2005


zhao forrest wrote:
> When writing the eraseblock_header patch, I found the current
> summary patch in MTD CVS place jffs2_sum_marker at the end of
> each erase block. Since jffs2_sum_marker is a per-eraseblock
> structure, should we put it into eraseblock_header when the
> eraseblock_header patch is ready in the future?

The information which is stored in the sum_marker is avaiable only at 
the time when the the erase block is under closing. (it is the time when 
we store the summary infromation and we know its size)

If the eraseblock_header can be changed at that time than OK, otherwise 
it is not helpfull for summary purposes.

Ferenc




More information about the linux-mtd mailing list