logfs: max 4K writepage size

srimugunthan dhandapani srimugunthan.dhandapani at gmail.com
Thu Sep 8 09:25:40 EDT 2011


On Thu, Sep 8, 2011 at 12:47 AM, Jörn Engel <joern at logfs.org> wrote:

> You can use mtd0 instead of /dev/mtd0, similar to jffs2.

With logfs, I am a bit confused about when ultimately the data is
written to the flash and in what units it is written as.
The mtd_write() function in dev_mtd.c does writes in units of 4096 bytes.
With Nand flash writepagesize >4K, using "mklogfs mtd0 & mount mtd0" ,
won't logfs  pass non-flashpage aligned writes to the nand flash
driver?.

thanks,
mugunthan



More information about the linux-mtd mailing list