btrfs-progs: Add zstd support
authorNick Terrell <terrelln@fb.com>
Fri, 8 Sep 2017 20:29:23 +0000 (13:29 -0700)
committerDavid Sterba <dsterba@suse.com>
Mon, 25 Sep 2017 13:17:13 +0000 (15:17 +0200)
commit717a8b1e5d1ba69154ef84b35be75c9cf7730e1d
tree0f8d0e15f92171dc4cd7ed23ec789f50b83d486c
parent86529862e1ff1b1b27aafc207b75b0c851fbfd34
btrfs-progs: Add zstd support

Adds zstd support to the btrfs program. An optional dependency on libzstd
>= 1.0.0 is added. Autoconf accepts `--enable-zstd' or `--disable-zstd' and
defaults to detecting if libzstd is present using `pkg-config'.

The patch is also available in my fork of btrfs-progs [1], which passes
Travis-CI with the new tests. The prebuilt binary is available there.

I haven't updated Android.mk.

[1] https://github.com/terrelln/btrfs-progs/tree/devel

Signed-off-by: Nick Terrell <terrelln@fb.com>
Signed-off-by: David Sterba <dsterba@suse.com>
13 files changed:
Documentation/btrfs-filesystem.asciidoc
Documentation/btrfs-man5.asciidoc
Documentation/btrfs-property.asciidoc
INSTALL
Makefile
Makefile.inc.in
cmds-filesystem.c
cmds-inspect-dump-super.c
cmds-restore.c
configure.ac
ctree.h
fsfeatures.h
print-tree.c