Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp57949pxk; Wed, 16 Sep 2020 18:48:15 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzKjkcR8ECYQaqqxj2wQlGrgJC25HufEymGnkbOuhlFInFEg6vq0DGu5fiHWHTxcChW7AST X-Received: by 2002:a05:6402:156:: with SMTP id s22mr29917548edu.372.1600307294783; Wed, 16 Sep 2020 18:48:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600307294; cv=none; d=google.com; s=arc-20160816; b=cXCc5ObDw/UAGMHQZzans0fq7cOeXk5miFHfvkfQ1Yy/iguvIYar+RYIkNHRldt6dk 9MTFUCx9/E8LFG55UtOUSRYAbrxKYEONIb5s72/tbYMLY79BWDnJj3uR9yFx79bYHxqw yNxxKBzbulQq/HYWaN4hl58kgZ7AUuCZgHfPLyEa/wcRSjtSXmVMJwk66YXRYvkY0cxE 3S9mahN/zj9Z6qx7eFF5v9jFfeqRJTJbhZjld+DNfeCUNhi1eADzx+mJqHQgaDq3R1so 3GUpriMm9Jm+IXqH1ZOE/dhkFdJOBF2gg5naJE1Qkn8HaIyodt7nLq3Hi/BfJGWlkcEb haFA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:references:in-reply-to :date:cc:to:from:subject:message-id; bh=3YjeYfQ/7yAV+aG2Qtf4MVpPWBORlCGreokiNDdgatc=; b=oKkUDs9QBeQhPzzo4tghsGv4o11p5xvz7yM/vW3YedyKZy7utEbRmeIkoanwlSn/PE YlqiLNhv3HUOs95g2u1rEY8Rg+OAkxsP/2BY2XcC4+nKRAMqihf9VU3c7e/ng91FfBwa n0wWSYesBnXzZV/e5pxJDrRU3L85tJD6TjpDM5rogb3HzSYKOHZegvHIKO91QjZJEB4E iIz9m3psPPoaz6KbhDZ5lYep8U07Qlw75oPSGojDPhtIli+6xu5VvQFU5U2S96Gb+NAn +ITH6jiED+vSWoNx2jmllEtZuq9PMBWHKi2i5ZeBIPY+/8NNQdjRHXlb8mld83/vJ1O6 SCVQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id df4si12623082edb.378.2020.09.16.18.47.37; Wed, 16 Sep 2020 18:48:14 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-crypto-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-crypto-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726007AbgIQBqn (ORCPT + 99 others); Wed, 16 Sep 2020 21:46:43 -0400 Received: from shelob.surriel.com ([96.67.55.147]:56590 "EHLO shelob.surriel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726072AbgIQBqm (ORCPT ); Wed, 16 Sep 2020 21:46:42 -0400 X-Greylist: delayed 626 seconds by postgrey-1.27 at vger.kernel.org; Wed, 16 Sep 2020 21:46:41 EDT Received: from imladris.surriel.com ([96.67.55.152]) by shelob.surriel.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94) (envelope-from ) id 1kIiqF-00061g-DK; Wed, 16 Sep 2020 21:36:07 -0400 Message-ID: Subject: Re: [PATCH 5/9] btrfs: zstd: Switch to the zstd-1.4.6 API From: Rik van Riel To: Nick Terrell , Christoph Hellwig Cc: Chris Mason , Nick Terrell , Herbert Xu , "linux-crypto@vger.kernel.org" , Btrfs BTRFS , "squashfs-devel@lists.sourceforge.net" , "linux-f2fs-devel@lists.sourceforge.net" , "linux-kernel@vger.kernel.org" , Kernel Team , Petr Malat , Johannes Weiner , Niket Agarwal , Yann Collet Date: Wed, 16 Sep 2020 21:35:51 -0400 In-Reply-To: <4D04D534-75BD-4B13-81B9-31B9687A6B64@fb.com> References: <20200916034307.2092020-1-nickrterrell@gmail.com> <20200916034307.2092020-7-nickrterrell@gmail.com> <20200916084958.GC31608@infradead.org> <20200916143046.GA13543@infradead.org> <1CAB33F1-95DB-4BC5-9023-35DD2E4E0C20@fb.com> <20200916144618.GB16392@infradead.org> <4D04D534-75BD-4B13-81B9-31B9687A6B64@fb.com> Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-00l4H219Xi95l7myD8I0" User-Agent: Evolution 3.34.4 (3.34.4-1.fc31) MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org --=-00l4H219Xi95l7myD8I0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, 2020-09-16 at 15:18 -0400, Nick Terrell wrote: > The zstd version in the kernel works fine. But, you can see that the > version > that got imported stagnated where upstream had 14 released versions. > I > don't think it makes sense to have kernel developers maintain their > own copy > of zstd. Their time would be better spent working on the rest of the > kernel. > Using upstream directly lets the kernel profit from the work that we, > the zstd > developers, are doing. And it still allows kernel developers to fix > bugs if any > show up, and we can back-port them to upstream. I can't argue with that. > One possibility is to have a kernel wrapper on top of the zstd API to > make it > more ergonomic. I personally don=E2=80=99t really see the value in it, si= nce > it adds > another layer of indirection between zstd and the caller, but it > could be done. Zstd would not be the first part of the kernel to come from somewhere else, and have wrappers when it gets integrated into the kernel. There certainly is precedence there. It would be interesting to know what Christoph's preference is. --=20 All Rights Reversed. --=-00l4H219Xi95l7myD8I0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQEzBAABCAAdFiEEKR73pCCtJ5Xj3yADznnekoTE3oMFAl9ivXcACgkQznnekoTE 3oOPpggAtolHgM9baGGYRypnu9M14qxIuWCs0R5dsHUAIeaf3t58BwsYiat23RYs FzWV01KQfvBTe9eQUKM/m9u+p3kqegVy3tIrE+4VCx1PxWpjlnB42ep6+02SXLzz P82Z4KvkyvwRw8jF7ixqa4vQN2G3pTOUejb9hN/BULrYZxijOR9/MoYXo2xGXZP7 7rX/7LiqVYGommGQxYE5dEsVlXLSKdBdkV5690AwVUVky/eaYM4oxhp0882DscYy 3BB1f4yAkmBlDATmTucb5dLpQM/1l2RMrpg9bMUNO/tmVmeq7LIszs/ymSXhi21U iIiPectvPTSs+UZiD7oxuK0x3OBzoA== =wqCT -----END PGP SIGNATURE----- --=-00l4H219Xi95l7myD8I0--