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

John Ogness john.ogness at linutronix.de
Fri Jan 21 06:28:36 EST 2011


On 2011-01-21, Artem Bityutskiy wrote:
> I need to look why there are still erases after mount.  Probably
> this is actually part of mounting, not part of the first sync.  But
> otherwise it sounds like you are satisfied, right?

Yes, it is definately a big improvement. Thanks!

> But I also have to do power cut tests emulation before really
> pushing this forward.

OK.

BTW: The return value description for the function nothing_to_commit()
is backwards. It says that it returns 1 if there is something to
commit, but actually it returns 1 if there is nothing to commit.

John Ogness



More information about the linux-mtd mailing list