UBIFS: always commit on unmount
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Sun, 28 Dec 2008 07:11:02 +0000 (09:11 +0200)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Mon, 5 Jan 2009 19:38:59 +0000 (21:38 +0200)
UBIFS commits on unmount to make the next mount faster. Currently,
it commits only if there is more than LEB size bytes in the
journal. This is not very good, because journal size may be
large (512KiB). And there may be few deletions in the journal
which do not take much journal space, but which do introduce
a lot of TNC changes and make mount slow.

Thus, jurt remove this condition and always commit.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>

No differences found