Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1696657

Re: [PATCH v3 3/4] btrfs: Add zstd support

From Giovanni Cabiddu <giovanni.cabiddu@intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v3 3/4] btrfs: Add zstd support
Date 2017-07-26 01:20 +0200
Message-ID <u7hhn-SP-7@gated-at.bofh.it> (permalink)
References <u5rbb-4jX-1@gated-at.bofh.it> <u5rkT-4n6-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Hi Nick,

On Thu, Jul 20, 2017 at 10:27:42PM +0100, Nick Terrell wrote:
> Add zstd compression and decompression support to BtrFS. zstd at its
> fastest level compresses almost as well as zlib, while offering much
> faster compression and decompression, approaching lzo speeds.
Can we look at integrating the zstd implementation below the acomp API
available in the crypto subsystem?
(https://github.com/torvalds/linux/blob/master/crypto/acompress.c)
Acomp was designed to provide a generic and uniform API for compression
in the kernel which hides algorithm specific details to frameworks.
In future it would be nice to see btrfs using exclusively acomp
for compression. This way when a new compression algorithm is exposed
through acomp, it will be available immediately in btrfs.
Furthermore, any framework in the kernel that will use acomp will be
automatically enabled to use zstd.
What do you think?

Here is a prototype that shows how btrfs can be integrated with
acomp: https://patchwork.kernel.org/patch/9201741/

Regards,

-- 
Giovanni

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v3 0/4] Add xxhash and zstd modules Nick Terrell <terrelln@fb.com> - 2017-07-20 23:30 +0200
  [PATCH v3 1/4] lib: Add xxhash module Nick Terrell <terrelln@fb.com> - 2017-07-20 23:30 +0200
  [PATCH v3 4/4] squashfs: Add zstd support Nick Terrell <terrelln@fb.com> - 2017-07-20 23:40 +0200
    Re: [PATCH v3 4/4] squashfs: Add zstd support Phillip Lougher <phillip.lougher@gmail.com> - 2017-07-31 04:00 +0200
      Re: [PATCH v3 4/4] squashfs: Add zstd support Phillip Lougher <phillip.lougher@gmail.com> - 2017-07-31 04:20 +0200
  [PATCH v3 3/4] btrfs: Add zstd support Nick Terrell <terrelln@fb.com> - 2017-07-20 23:40 +0200
    Re: [PATCH v3 3/4] btrfs: Add zstd support Giovanni Cabiddu <giovanni.cabiddu@intel.com> - 2017-07-26 01:20 +0200
  Re: [PATCH v3 0/4] Add xxhash and zstd modules "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2017-07-21 13:20 +0200
    Re: [PATCH v3 0/4] Add xxhash and zstd modules "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2017-07-21 13:20 +0200
  Re: [PATCH v3 0/4] Add xxhash and zstd modules "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2017-07-21 18:00 +0200
    Re: [PATCH v3 0/4] Add xxhash and zstd modules Adam Borowski <kilobyte@angband.pl> - 2017-07-22 13:40 +0200
      Re: [PATCH v3 0/4] Add xxhash and zstd modules "Austin S. Hemmelgarn" <ahferroin7@gmail.com> - 2017-07-24 15:50 +0200

csiph-web