[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mkfs.jffs2 throws away my erase size



On Thursday, 28. March 2002 09:57, Tino Keitel wrote:
> Hi folks,
>
> I created an mtdram with a size of 16 MB and an erase size of 8 KiB.
> When I create the JFFF2 filesystem using mkfs.jffs2 -e 8, it says the
> following:
> Increasing erase size to 64KiB minimum
> The souce code says that erase sizes less than 64 KiB are not allowed. Why?
> AFAIK, 8 KiB is the typical erase size of NAND flashes.
That's right, but this small erasesizes give a lot of overhead in padding of 
blocks and garbage collection. So we use 64KB erase size in JFFS2 and erase 
8 Blocks at once ,if  the chip has 8K erase size.

-- 
Thomas
_________________________________
Thomas Gleixner <gleixner@xxxxxxx.de>
autronix automation http://www.autronix.de

To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to majordomo@xxxxxxx.com