UBIFS: improve znode splitting rules
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Fri, 5 Sep 2008 08:56:05 +0000 (11:56 +0300)
committerArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
Tue, 30 Sep 2008 08:12:57 +0000 (11:12 +0300)
commit2242c689ecc390fb4719f595751351d1ecc5c409
treef6116b867d6c65c924e67d9b53024e103d65e207
parent2953e73f1ce4b3284b409aefb9d46bbde6515c37
UBIFS: improve znode splitting rules

When inserting into a full znode it is split into two
znodes.  Because data node keys are usually consecutive,
it is better to try to keep them together.  This patch
does a better job of that.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
fs/ubifs/tnc.c