[U-Boot] [PATCH v2 0/3] fs: btrfs: Add zstd decompression support
Marek BehĂșn
marek.behun at nic.cz
Mon Apr 29 20:40:42 UTC 2019
Hi, this is v2. The previous cover letter said:
zstd has been enabled in kernel btrfs driver for over a year, it is time
we support this also in U-Boot.
This xxhash and zstd library are imported from kernel with minimal changes.
This was tested on ARM target (Turris Omnia).
Marek
Changes since v1:
- changed xxhash and zstd sources to use SPDX license identifiers
Marek BehĂșn (3):
lib: Add xxhash support
lib: add Zstandard decompression support
fs: btrfs: add zstd decompression support
fs/btrfs/Kconfig | 1 +
fs/btrfs/btrfs_tree.h | 5 +-
fs/btrfs/compression.c | 59 +
include/linux/xxhash.h | 229 ++++
include/linux/zstd.h | 1147 +++++++++++++++++
lib/Kconfig | 15 +
lib/Makefile | 2 +
lib/xxhash.c | 467 +++++++
lib/zstd/Makefile | 4 +
lib/zstd/bitstream.h | 344 +++++
lib/zstd/decompress.c | 2515 +++++++++++++++++++++++++++++++++++++
lib/zstd/entropy_common.c | 213 ++++
lib/zstd/error_private.h | 43 +
lib/zstd/fse.h | 545 ++++++++
lib/zstd/fse_decompress.c | 302 +++++
lib/zstd/huf.h | 182 +++
lib/zstd/huf_decompress.c | 930 ++++++++++++++
lib/zstd/mem.h | 142 +++
lib/zstd/zstd_common.c | 65 +
lib/zstd/zstd_internal.h | 253 ++++
lib/zstd/zstd_opt.h | 1004 +++++++++++++++
21 files changed, 8465 insertions(+), 2 deletions(-)
create mode 100644 include/linux/xxhash.h
create mode 100644 include/linux/zstd.h
create mode 100644 lib/xxhash.c
create mode 100644 lib/zstd/Makefile
create mode 100644 lib/zstd/bitstream.h
create mode 100644 lib/zstd/decompress.c
create mode 100644 lib/zstd/entropy_common.c
create mode 100644 lib/zstd/error_private.h
create mode 100644 lib/zstd/fse.h
create mode 100644 lib/zstd/fse_decompress.c
create mode 100644 lib/zstd/huf.h
create mode 100644 lib/zstd/huf_decompress.c
create mode 100644 lib/zstd/mem.h
create mode 100644 lib/zstd/zstd_common.c
create mode 100644 lib/zstd/zstd_internal.h
create mode 100644 lib/zstd/zstd_opt.h
--
2.21.0
More information about the U-Boot
mailing list