summaryrefslogtreecommitdiffstats
path: root/fs/Kconfig
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@openedhand.com>2007-07-10 11:28:42 +0200
committerDavid Woodhouse <dwmw2@infradead.org>2007-07-11 16:04:38 +0200
commit3b23c1f5fa7e4c99e9451958a1004ef7434a71f0 (patch)
tree2442c774918a422dee47b44d92515fcfb1897f35 /fs/Kconfig
parent[JFFS2] Add LZO compression support. (diff)
downloadlinux-3b23c1f5fa7e4c99e9451958a1004ef7434a71f0.tar.xz
linux-3b23c1f5fa7e4c99e9451958a1004ef7434a71f0.zip
[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
Tries all compressors and chooses the one which has the smallest
result.
+config JFFS2_CMODE_FAVOURLZO
+ bool "Favour LZO"
+ help
+ Tries all compressors and chooses the one which has the smallest
+ result but gives some preference to LZO (which has faster
+ decompression) at the expense of size.
+
endchoice
config CRAMFS