linux-mtd.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/3] ubifs: add lz4hc compression
@ 2017-02-28  5:16 Hyunchul Lee
  2017-02-28  5:16 ` [PATCH 1/3] ubifs: add lz4hc compressor Hyunchul Lee
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Hyunchul Lee @ 2017-02-28  5:16 UTC (permalink / raw)
  To: Richard Weinberger; +Cc: Artem Bityutskiy, linux-mtd, Hyunchul Lee

From: Hyunchul Lee <cheol.lee@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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-03-03 12:08 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-02-28  5:16 [PATCH 0/3] ubifs: add lz4hc compression Hyunchul Lee
2017-02-28  5:16 ` [PATCH 1/3] ubifs: add lz4hc compressor Hyunchul Lee
2017-02-28  5:16 ` [PATCH 2/3] ubifs: change type of ubifs_inode's compr_type to unsigend:16 Hyunchul Lee
2017-02-28 10:17 ` [PATCH 0/3] ubifs: add lz4hc compression Artem Bityutskiy
2017-03-01  1:12   ` Hyunchul Lee
2017-03-01 10:35     ` Artem Bityutskiy
2017-03-03  8:08 ` Richard Weinberger
2017-03-03 11:07   ` Hyunchul Lee
2017-03-03 12:00     ` Artem Bityutskiy
2017-03-03 12:07       ` Richard Weinberger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).