aboutsummaryrefslogtreecommitdiffstats
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@openedhand.com>2007-07-10 05:28:42 -0400
committerDavid Woodhouse <dwmw2@infradead.org>2007-07-11 10:04:38 -0400
commit3b23c1f5fa7e4c99e9451958a1004ef7434a71f0 (patch)
tree2442c774918a422dee47b44d92515fcfb1897f35 /fs/Kconfig
parentc799aca31bfe61ba3a91133acf5a13a0773087d4 (diff)
[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>
Diffstat (limited to 'fs/Kconfig')
-rw-r--r--fs/Kconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/fs/Kconfig b/fs/Kconfig
index a2ec0b375dff..42cfb7dc95b5 100644
--- a/fs/Kconfig
+++ b/fs/Kconfig
@@ -1364,6 +1364,13 @@ config JFFS2_CMODE_SIZE
1364 Tries all compressors and chooses the one which has the smallest 1364 Tries all compressors and chooses the one which has the smallest
1365 result. 1365 result.
1366 1366
1367config JFFS2_CMODE_FAVOURLZO
1368 bool "Favour LZO"
1369 help
1370 Tries all compressors and chooses the one which has the smallest
1371 result but gives some preference to LZO (which has faster
1372 decompression) at the expense of size.
1373
1367endchoice 1374endchoice
1368 1375
1369config CRAMFS 1376config CRAMFS