[PATCH 0/3] ubifs: add lz4hc compression
Hyunchul Lee
hyc.lee at gmail.com
Mon Feb 27 21:16:46 PST 2017
From: Hyunchul Lee <cheol.lee at lge.com>
This patch set is for adding support for lz4hc compression. lz4hc's
compression ratio is comparable to zlib, but its compression/decompression
speed is faster than zlib[1].
Another compression type cannot be added any more in respect that type of
ubifs_inode's compr_type is "unsigned:2" and there are 4 compression
types. There may be overflow in assignment to compr_type, and prevision
version of ubifs is trying to decompress file with wrong compression type.
[1] https://github.com/lz4/lz4
Brent Taylor (1):
ubifs: add lz4hc compressor
Hyunchul Lee (2):
ubifs: change type of ubifs_inode's compr_type to unsigend:16
ubifs: add "compr=lz4hc" into ubifs.txt
Documentation/filesystems/ubifs.txt | 1 +
fs/ubifs/Kconfig | 10 ++++++++++
fs/ubifs/compress.c | 25 ++++++++++++++++++++++++-
fs/ubifs/super.c | 2 ++
fs/ubifs/ubifs-media.h | 2 ++
fs/ubifs/ubifs.h | 2 +-
6 files changed, 40 insertions(+), 2 deletions(-)
--
1.9.1
More information about the linux-mtd
mailing list