Re: [PATCH] btrfs-progs: Add zstd support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Aug 30, 2017 at 02:53:22PM -0700, Nick Terrell wrote:
> Adds zstd support to the btrfs program, and a dependency on libzstd >=
> 1.0.0.

I'm afraid we'll have to make the build optional for now, as the distros
may not provide it and I'd like to give at least some heads-up first. My
idea is:

- check if zstd library is found, use it
- otherwise warn that's it's going to be on by default in near future

'btrfs restore' would need to be enhanced to dump what's built in (in a
similar way convert now prints the supported filesystem), and possibly
warn that there are data compressed by zstd but there's no
decrompression support.

> The patch is also available in my fork of btrfs-progs [1], which passes
> Travis-CI. I tested each command that is effected in my test script [2].

The test requires zstd kernel support, which may be not available for
some time in the testing environments. But as restore is userspace-only,
we can create and use various images with zstd compressed data.

> I haven't updated Android.mk since I have no way to test it, and am not
> certain if it is used.

The anodroid build verification will work eventually through travis and
I'm aware it could be out of sync, you don't need to care about that
right now.
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux