Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1847116lqo; Sun, 12 May 2024 23:08:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXsVKszMg4fsDSLSo0pOuNGQnwE2bEADge5LFOQPI8Xv4mLqMpaHArO3GeRFfCEnacqIAbgzCGutKz2IhoA8CDPwel8S7mw/d0Jb0kt6Q== X-Google-Smtp-Source: AGHT+IFeQZ//W8ekmxTZs47UKcz6wU/BHFIdde0sfGCY/3p+2WbOEEp4/V/KZ+O1eJPF0Do8oQuO X-Received: by 2002:a50:8757:0:b0:572:cfa4:3ccb with SMTP id 4fb4d7f45d1cf-5734d5c1352mr6017594a12.8.1715580533334; Sun, 12 May 2024 23:08:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715580533; cv=pass; d=google.com; s=arc-20160816; b=oLc7GhvwWZKS4VJYduWkGrfxcAl1xexJGq/IDR3CIg9vGYeOqLu2mSZHUmo2pyrcrf LzSOy5PeaB2B+YzD+rb3gJOk6XSNkmriAGr8dF/+nd+zB6uxOH+GXH8fXFcyp6klAw+X ik/Q3GlZ888eNnD4wTpW68x71cHU2pIazaKOCY7hOETXkrB8LerExyxqKyz7SnEiFAMv C733w4KEGj0T49S6ZtPGUgnKWom7wKPaxNHO1PAMuNACzwffb6nU9w7guFQXctqxvJjz F0cp6d8F/1LnzFUYyDD5jXyP6aiwvbdCVViK78zY9bZsCv3mABSr3duPbKGGZEdh2QJc R9pQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-disposition:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:mail-followup-to:message-id:subject:cc:to:from :date:dkim-signature; bh=NlC2MDLKghziOb6tB9Z4at/jNdwA+XwtEggVcXS9LEo=; fh=rAoe63YBK7W7yOcJ88kLq5qf3xIYaF/GQZUUDZd91+w=; b=TAazGIy8RiX9szCNjm/T8OdOOhIMYxVvokfoaqnt8zt8pfhje6Hbg8Yftgqu5+dNxa BIehWNpfPnjSA90MWMsHDRmVQLqyDWgDA2+38aqpxf42+iJyY4gYXPbylsE6s3ZNte5Y P1gOgBAknt9rGzcZW9/oRP4iBwIcbuqku9DwUDxG2riqdI/xeoHwsPoK2aPleIC7VPy5 bnPjKykzC5bUFPV3doStwtN7102kSAeE3vzswtxlI55jEnFM2izxOTEULFZ9R8Yk+DR1 9fNLdSJJ29JNa0265Niwjlr6CtM/SKQxRBvYAvBVUoiMv2v8BGjNgDBBpt8P1x914tYT WH2w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="iNrlbj/5"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177185-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177185-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id 4fb4d7f45d1cf-5733c36288dsi4576265a12.497.2024.05.12.23.08.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 23:08:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-177185-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="iNrlbj/5"; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-177185-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-177185-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id D96A71F21379 for ; Mon, 13 May 2024 06:08:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id EB34D146595; Mon, 13 May 2024 06:08:46 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="iNrlbj/5" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 215C850280 for ; Mon, 13 May 2024 06:08:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715580526; cv=none; b=mvmc1suc8gYCdiWwRxd3QfnOuhG0wwXNxsriCQKYRvi6lgQSPZFsYVCXW5oNcXlW7ZLIfwgR5G7gHiNwpnu1qa9bmcOERyGP8H1CknbhfXi/ZGxlxUZQPGYInDIjWfjO904YFUEIUYqc05A8OG1JFDVSiS/jSODYgRWQQXdgMBU= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715580526; c=relaxed/simple; bh=CEN/6ECcGbhwsoH3ZfDaw9JNq/DjakjQX74isPF0xJg=; h=Date:From:To:Cc:Subject:Message-ID:MIME-Version:Content-Type: Content-Disposition; b=FlmKrupBXRaKxW4L9L14VkDF4WjH2nCaTbhaYyTEv5o1I6dsoOOcbmsNCDvlHKF34eG4nGucwEW8obFhrnrjPqn4Cqq+R4Haoy7f2NAacc7+ytfE/bELLtweuUhoJcV4qubDvtRD79PUw9yODBxjZuTTcShYBtRNJXXXG/Xt9S8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=iNrlbj/5; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2B2A9C113CC; Mon, 13 May 2024 06:08:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1715580525; bh=CEN/6ECcGbhwsoH3ZfDaw9JNq/DjakjQX74isPF0xJg=; h=Date:From:To:Cc:Subject:From; b=iNrlbj/5wnalJExrDBpuEoPN/Tx3Otd2wPPyk/4NyA7nw/OMt4iQMf/ZRpOly+tJV gEoX1aA6VYDKrOzYPn78jk1M5B09FxS9n3F80tdqSvP3o75QuraWF2bdBtSVKUJHyQ /+eIQQi9sa5iTHFK4YiVRNXaZX63lfjP7Pn3JHFaBOhUpa+9LCnSbeXrE6423XZXly YzfShQQRw4ZagQseT9DUaz0duWDI6NcA0X0cO8o0RDarBPthC1+fwTkxWRzd1vFrV+ J1HnnjKaMwVfzZ2BBAi89tYmw0HZBzBAypcwqzrqsW9d5eVOZqOjqANIeBhVyVgDlm CfPDtV9tn4tOw== Date: Mon, 13 May 2024 14:08:39 +0800 From: Gao Xiang To: Linus Torvalds Cc: linux-erofs@lists.ozlabs.org, LKML , Chunhai Guo , Hongzhen Luo , Chao Yu , Jingbo Xu Subject: [GIT PULL] erofs updates for 6.10-rc1 Message-ID: Mail-Followup-To: Linus Torvalds , linux-erofs@lists.ozlabs.org, LKML , Chunhai Guo , Hongzhen Luo , Chao Yu , Jingbo Xu Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Hi Linus, Could you consider this pull request for 6.10-rc1? In this cycle, LZ4 global buffer count is now configurable instead of the previous per-CPU buffers, which is useful for bare metals with hundreds of CPUs. A reserved buffer pool for LZ4 decompression can also be enabled to minimize the tail allocation latencies under the low memory scenarios with heavy memory pressure. In addition, Zstandard algorithm is now supported as an alternative since it has been requested by users for a while. There are some random cleanups as usual. All commits have been in -next and no potential merge conflict is observed. Thanks, Gao Xiang The following changes since commit dd5a440a31fae6e459c0d6271dddd62825505361: Linux 6.9-rc7 (2024-05-05 14:06:01 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs.git tags/erofs-for-6.10-rc1 for you to fetch changes up to 7c35de4df1056a5a1fb4de042197b8f5b1033b61: erofs: Zstandard compression support (2024-05-09 07:46:56 +0800) ---------------------------------------------------------------- Changes since last update: - Make LZ4 global buffers configurable instead of per-CPU buffers; - Add a reserved buffer pool for LZ4 decompression for lower latencies; - Support Zstandard compression algorithm as an alternative; - Derive fsid from on-disk UUID for .statfs() if possible; - Minor cleanups. ---------------------------------------------------------------- Chunhai Guo (4): erofs: rename utils.c to zutil.c erofs: rename per-CPU buffers to global buffer pool and make it configurable erofs: do not use pagepool in z_erofs_gbuf_growsize() erofs: add a reserved buffer pool for lz4 decompression Gao Xiang (2): erofs: clean up z_erofs_load_full_lcluster() erofs: Zstandard compression support Hongzhen Luo (1): erofs: derive fsid from on-disk UUID for .statfs() if possible fs/erofs/Kconfig | 15 +++ fs/erofs/Makefile | 5 +- fs/erofs/compress.h | 4 + fs/erofs/decompressor.c | 15 ++- fs/erofs/decompressor_zstd.c | 279 ++++++++++++++++++++++++++++++++++++++++++ fs/erofs/erofs_fs.h | 15 ++- fs/erofs/internal.h | 28 +++-- fs/erofs/pcpubuf.c | 148 ---------------------- fs/erofs/super.c | 28 +++-- fs/erofs/zmap.c | 24 ++-- fs/erofs/{utils.c => zutil.c} | 206 ++++++++++++++++++++++++++++--- 11 files changed, 555 insertions(+), 212 deletions(-) create mode 100644 fs/erofs/decompressor_zstd.c delete mode 100644 fs/erofs/pcpubuf.c rename fs/erofs/{utils.c => zutil.c} (58%)