On Fri, Sep 08, 2017 at 01:29:23PM -0700, Nick Terrell wrote: > 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'. Adds tests > for the new features based on a prebuilt btrfs image with a zstd compressed > file. > > 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 <[email protected]> > --- > v1 -> v2: > - Allow zstd support to be disabled, defaulting to auto detection > - Print if zstd is enabled/disabled when `./configure' finishes > - Add zstd test to patch with prebuilt image`
Applied, with some changes. I've split the tests to own commit and cleaned up test.sh so it follows the coding patterns (dd instead of head, grep -q, minor things). The run_check should be used if possible, but dumping the 200k of zeros to log via run_check_stdout is OTOH not recomended. But, it's merged. -- To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
