Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4822923pxj; Wed, 12 May 2021 14:10:13 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw07iJyDgyMx41ohEmh6h8PenR2YkaKG4lzEQUh6NCo017E0hKS1mlnHom1GVGZf5RwwazQ X-Received: by 2002:a9d:8a7:: with SMTP id 36mr2595259otf.287.1620853813183; Wed, 12 May 2021 14:10:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620853813; cv=none; d=google.com; s=arc-20160816; b=V0xs83hZVGPZifI/Ahw/CfvQB9YsNpXVEQa4jP3MSEH1pfZ4UDSraT0Gu9SEZBElKR ytOn98PuYJBxT26u60bglXguPvPR9Eko2PePHmz2bApCrNnrSL8zs0T/Ley9CtHoGHyN PgTmyfXpnILPRXuiITJroAezpi3YZ/k1GpMJquJbgDo0XztebpZhp1GIM0p4OwHvIoRq WHOefABE952ZHwk6JKYySpcO73dLbL4P7T0B03NokEQQ7+5lceiRbZFKF5M8Q3FqiBEl SPD5heVKeTv5N1B8awfoFAdLT4FTMbXndgozIyD9A8UFtcEwJPqynLvkIUg5oN/NtT6U GY8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:mail-followup-to:reply-to:message-id :subject:cc:to:from:date; bh=JB9l6qReFLdsHsK92QdKe/F6qjY3MdO6bXxgB7TRwU4=; b=CceducsfiFzt2lkAfGN5PDtobEDxofEFRGi3Ekc7H1Ka6XPj+RkCV979Hr6gaXI3DV wd7xEcVHtYkthsN2CbKbPErY4pUswIGnC8SBATK/i2EZRB43vsldRJn6iQ4q+H3Eenny fjoPRUgPnR3LuSHl/mVhsLRL35vg6pfMucCCtxU8wp1HxekydDOlBME/v88gJeUhc0+I TAKchuNMWTTkxkygKo2B0A3oGNHTYs68S3CCkpHy/IfsUwzZcbWWrpfru0d1yKdIGtM3 uQzo1Xv1kiYZ3NC8i4sqmr3kFrfN+cTC9Fwo6eZ7brBmrmSf5Xzc7MzOYS7rVqCJIZdy pA1g== 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 r1si966155otc.270.2021.05.12.14.09.50; Wed, 12 May 2021 14:10:13 -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 S237180AbhELVIG (ORCPT + 99 others); Wed, 12 May 2021 17:08:06 -0400 Received: from mx2.suse.de ([195.135.220.15]:54670 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1383634AbhELTxS (ORCPT ); Wed, 12 May 2021 15:53:18 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 178B9AC6A; Wed, 12 May 2021 19:52:07 +0000 (UTC) Received: by ds.suse.cz (Postfix, from userid 10065) id D4311DA7B0; Wed, 12 May 2021 21:49:35 +0200 (CEST) Date: Wed, 12 May 2021 21:49:35 +0200 From: David Sterba To: Nick Terrell Cc: Nick Terrell , Herbert Xu , "linux-crypto@vger.kernel.org" , Btrfs BTRFS , "squashfs-devel@lists.sourceforge.net" , "linux-f2fs-devel@lists.sourceforge.net" , LKML , Kernel Team , Chris Mason , Petr Malat , Johannes Weiner , Niket Agarwal , Yann Collet , Christoph Hellwig , =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , David Sterba , Oleksandr Natalenko , Felix Handte , Eric Biggers , Randy Dunlap , torvalds@linux-foundation.org Subject: Re: [GIT PULL][PATCH v11 0/4] Update to zstd-1.4.10 Message-ID: <20210512194935.GY7604@twin.jikos.cz> Reply-To: dsterba@suse.cz Mail-Followup-To: dsterba@suse.cz, Nick Terrell , Nick Terrell , Herbert Xu , "linux-crypto@vger.kernel.org" , Btrfs BTRFS , "squashfs-devel@lists.sourceforge.net" , "linux-f2fs-devel@lists.sourceforge.net" , LKML , Kernel Team , Chris Mason , Petr Malat , Johannes Weiner , Niket Agarwal , Yann Collet , Christoph Hellwig , =?utf-8?B?TWljaGHFgiBNaXJvc8WCYXc=?= , Oleksandr Natalenko , Felix Handte , Eric Biggers , Randy Dunlap , torvalds@linux-foundation.org References: <20210430013157.747152-1-nickrterrell@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23.1-rc1 (2014-03-12) Precedence: bulk List-ID: X-Mailing-List: linux-crypto@vger.kernel.org On Tue, May 11, 2021 at 08:53:41PM +0000, Nick Terrell wrote: > Pinging this series. Is there anything I should do to help get this > merged? > > The use of zstd in the kernel is continuously increasing over time, > both in terms of number of use cases, and number of users that > actually enable zstd compression in production. E.g. Fedora is > making btrfs with zstd compression enabled the default. > > I would love to see the zstd code updated to the latest upstream > and be kept up to date. The latest upstream brings bug fixes, and > significant performance improvements. Additionally, the latest > upstream code is continuously fuzzed. The btrfs community and I in particular have interest to get zstd updated but also there's the patch 3 that goes against what kernel requires regarding patch size and logical split of changes. That the update is so large shouldn't have happened, it covers 3 years of development, the syncs should have happened more often, but here we are. Other points that have been raised in the past: * new wrappers - there are new wrappers changing users of the API, the new names are more conforming, eg ZSTD_decompressDCtx -> zstd_decompress_dctx, sounds like an improvement to me * high stack usage - mentioned in patch 3, slight increase but bounded and upstream now monitors that so it does not increase Other points that are worth mentioning: * bisectability - the version switch happens in one patch, so the effects before/after the patch are only runtime as there's no change in format etc, so ok * will be maintained - no such huge update should happen again So I suggest to merge in current form. I'm not sure what was the original plan if it was supposed to go via Herbert's crypto tree, but that was before Nick added himself as maintainer. I think that Nick can send the pull request to Linus, perhaps with acks to all changes that are in the non-zstd code (patch 1). Cover letter v11: https://lore.kernel.org/linux-btrfs/20210430013157.747152-1-nickrterrell@gmail.com/