]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
UBIFS: reserve more space for index
authorArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Fri, 25 Jul 2008 11:38:51 +0000 (14:38 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Wed, 13 Aug 2008 08:37:28 +0000 (11:37 +0300)
commitb364b41aeb0289be402be83eebca92eb90bfcb8b
tree8bec0a45617f30e24b112b66973ac3eac72da834
parent1de9415906bccab51fb74c6adf575948610f0909
UBIFS: reserve more space for index

At the moment UBIFS reserves twice old index size space for the
index. But this is not enough in some cases, because if the indexing
node are very fragmented and there are many small gaps, while the
dirty index has big znodes - in-the-gaps method would fail.

Thus, reserve trise as more, in which case we are guaranteed that
we can commit in any case.

Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
fs/ubifs/budget.c
fs/ubifs/find.c
fs/ubifs/misc.h
fs/ubifs/ubifs-media.h