]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
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>
Wed, 31 Dec 2008 12:13:24 +0000 (14:13 +0200)
commit26d05777b0a23062a39e83c369c0a3583918f164
tree1e5f86365d63b81c4f0641c63c14e6d9b623c251
parentcb5c6a2b2be59b480a3746c5113cb3411c053bff
UBIFS: always commit on unmount

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>
fs/ubifs/super.c