[JFFS2] Add a "favourlzo" compression mode
authorRichard Purdie <rpurdie@openedhand.com>
Tue, 10 Jul 2007 09:28:42 +0000 (10:28 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 11 Jul 2007 14:04:38 +0000 (15:04 +0100)
commit3b23c1f5fa7e4c99e9451958a1004ef7434a71f0
tree2442c774918a422dee47b44d92515fcfb1897f35
parentc799aca31bfe61ba3a91133acf5a13a0773087d4
[JFFS2] Add a "favourlzo" compression mode

Add a "favourlzo" compression mode to jffs2 which tries to
optimise by size but gives lzo an advantage when comparing sizes.
This means the faster lzo algorithm can be preferred when there
isn't much difference in compressed size (the exact threshold can
be changed).

Signed-off-by: Richard Purdie <rpurdie@openedhand.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
fs/Kconfig
fs/jffs2/compr.c
fs/jffs2/compr.h