ubifs: add lz4hc compression
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 7 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | ubifs: add lz4hc compressorfs/ fs/ fs/ +1 more | +38 | 0 replies | |
| 2/3 | ubifs: change type of ubifs_inode's compr_type to unsigend:16fs/ | +1 | 0 replies | |
| 3/3 | ubifs: add "compr=lz4hc" into ubifs.txtDocumentation/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/3] ubifs: add lz4hc compression
From: Hyunchul Lee <[email protected]>
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(-)
Signature · 1 line
1.9.1