[PATCH v2 3/3] UBIFS: do not start the commit if there is nothing to commit

John Ogness john.ogness at linutronix.de
Tue Jan 18 07:29:25 EST 2011


Hi,

With these patches, there is no longer an erase for _every_
sync. However, there is still one erase that occurs when ubifs is
mounted. The following script will cause an erase with each sync.

while true; do
    mount -t ubifs ubi0_2 /tmp/mnt
    sync
    umount /tmp/mnt
done

John Ogness



More information about the linux-mtd mailing list