Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752218AbdF3Qry (ORCPT ); Fri, 30 Jun 2017 12:47:54 -0400 Received: from mail-qt0-f180.google.com ([209.85.216.180]:33435 "EHLO mail-qt0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751668AbdF3Qrv (ORCPT ); Fri, 30 Jun 2017 12:47:51 -0400 MIME-Version: 1.0 In-Reply-To: <20170629194108.1674498-1-terrelln@fb.com> References: <20170629194108.1674498-1-terrelln@fb.com> From: Timofey Titovets Date: Fri, 30 Jun 2017 19:46:54 +0300 Message-ID: Subject: Re: [PATCH v2 0/4] Add xxhash and zstd modules To: Nick Terrell Cc: kernel-team@fb.com, Chris Mason , Yann Collet , Adam Borowski , David Sterba , squashfs-devel@lists.sourceforge.net, linux-btrfs , Linux Kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 372 Lines: 13 Hi Nick Terrell, If i understood all correctly, zstd can compress (decompress) data in way compatible with gzip (zlib) Do that also true for in kernel library? If that true, does that make a sense to directly replace zlib with zstd (configured to work like zlib) in place (as example for btrfs zlib decompression/compression code)? Thanks! -- Have a nice day, Timofey.