Minimum/optimal sector_size for jffs2

Jörn Engel joern at wohnheim.fh-wedel.de
Sun Sep 25 11:15:50 EDT 2005


On Fri, 23 September 2005 13:30:33 +0200, Peter Menzebach wrote:
>
> I was not precise in terms. When I talked about erasesize, I mean 
> mtd_info.erasesize.
> 
> As far as I see in the code, for jffs2 the erase vloack size (used by 
> jeb) is jffs2_sb_info.sector_size.

Hmm.  "sector_size" is a confusing name.  It reminds people of a disk
sector, which is semantically similar to the writesize (or pagesize,
if NAND people prefer).  But JFFS2 uses sector_size as erasesize.

Oh well, just another one.

Jörn

-- 
Don't patch bad code, rewrite it.
-- Kernigham and Pike, according to Rusty




More information about the linux-mtd mailing list