diff options
author | Michele Dionisio <michele.dionisio@gmail.com> | 2019-05-15 23:02:02 +0200 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-07-08 19:43:53 +0200 |
commit | eeabb9866e4ccce55d875cad140f9bf7c7ba1d66 (patch) | |
tree | 2cb31e7a2c643f8b03a9abadb27e6fef3509c485 /fs/ubifs/ubifs-media.h | |
parent | ubifs: support offline signed images (diff) | |
download | linux-eeabb9866e4ccce55d875cad140f9bf7c7ba1d66.tar.xz linux-eeabb9866e4ccce55d875cad140f9bf7c7ba1d66.zip |
ubifs: Add support for zstd compression.
zstd shows a good compression rate and is faster than lzo,
also on slow ARM cores.
Cc: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Signed-off-by: Michele Dionisio <michele.dionisio@gmail.com>
[rw: rewrote commit message]
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'fs/ubifs/ubifs-media.h')
-rw-r--r-- | fs/ubifs/ubifs-media.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/ubifs/ubifs-media.h b/fs/ubifs/ubifs-media.h index 355d3081d882..3c9792cbb6ff 100644 --- a/fs/ubifs/ubifs-media.h +++ b/fs/ubifs/ubifs-media.h @@ -340,12 +340,14 @@ enum { * UBIFS_COMPR_NONE: no compression * UBIFS_COMPR_LZO: LZO compression * UBIFS_COMPR_ZLIB: ZLIB compression + * UBIFS_COMPR_ZSTD: ZSTD compression * UBIFS_COMPR_TYPES_CNT: count of supported compression types */ enum { UBIFS_COMPR_NONE, UBIFS_COMPR_LZO, UBIFS_COMPR_ZLIB, + UBIFS_COMPR_ZSTD, UBIFS_COMPR_TYPES_CNT, }; |