Why restrict to page aligned writes in nand_write_ecc() ?
Jasmine Strong
jasmine at regolith.co.uk
Fri Dec 5 18:00:13 EST 2003
On Fri, 5 Dec 2003, Howard, Michael (MED) wrote:
> My nand flash has a 2k page size. This restriction causes all JFFS2 writes
> to fail. Cleanmarkers can't be written (12 bytes) and inodes that come in
> at 68 bytes are also rejected. In order to get JFFS2 working, is it better
> to remove this restriction at the driver level or must all nodes be padded
> out to 2048 bytes in JFFS2?
For jffs2 to work properly it's pretty much essential to support partial
page writing. You also need to support subsequent writes to the same
partially-written page.
-Jasmine.
More information about the linux-mtd
mailing list