diff options
author | Richard Purdie <rpurdie@openedhand.com> | 2007-07-10 05:28:42 -0400 |
---|---|---|
committer | David Woodhouse <dwmw2@infradead.org> | 2007-07-11 10:04:38 -0400 |
commit | 3b23c1f5fa7e4c99e9451958a1004ef7434a71f0 (patch) | |
tree | 2442c774918a422dee47b44d92515fcfb1897f35 /fs/Kconfig | |
parent | c799aca31bfe61ba3a91133acf5a13a0773087d4 (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/Kconfig | 7 |
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 | ||
1367 | config 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 | |||
1367 | endchoice | 1374 | endchoice |
1368 | 1375 | ||
1369 | config CRAMFS | 1376 | config CRAMFS |