From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-14.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 13B97C433ED for ; Sun, 11 Apr 2021 03:49:01 +0000 (UTC) Received: from lists.ozlabs.org (lists.ozlabs.org [112.213.38.117]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 84B52611C2 for ; Sun, 11 Apr 2021 03:49:00 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 84B52611C2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4FHyXW1k4yz3bVP for ; Sun, 11 Apr 2021 13:48:59 +1000 (AEST) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=tbc8/VSy; dkim-atps=neutral Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=kernel.org (client-ip=198.145.29.99; helo=mail.kernel.org; envelope-from=xiang@kernel.org; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=tbc8/VSy; dkim-atps=neutral Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4FHyXS54ckz30Cy for ; Sun, 11 Apr 2021 13:48:56 +1000 (AEST) Received: by mail.kernel.org (Postfix) with ESMTPSA id 53A46610E9; Sun, 11 Apr 2021 03:48:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1618112933; bh=NcWHQd5IEcqWA9Sh5By7k1kCK+WygOwiAGKoMDSRqWU=; h=From:To:Cc:Subject:Date:From; b=tbc8/VSysmsQRXn9FB1obrX1zVdhpkW7r+D3xTA2RtVQxkJw+9RT1bEcyE1kvpISi gZfi4+N9QfNnYPbKEJqQ8GT7h/tLJRU2/UkYb0O94+9qawu+tEtipB//P1YM+3MH4/ lSThYkxJA42LEG+a3uUZQMvceXqoRb5qgDe0CBEAOCx0lrGZq8yd1wO3Ncq0VswjrP zq86DszN26u5rhdLzNhv6+XrkXQUZcRxeXxf9+EXSdI21Jjz3gEPACNzTdORru808j 7tIP9DU438Xhej8iKQuj7pm2CFSe+QU7n2mM4mh5GSjxThWHs3XalNDOgKwhjkzFBK 8FGxL0UsHIFUg== From: Gao Xiang To: linux-erofs@lists.ozlabs.org Subject: [PATCH 0/8] erofs-utils: support big pcluster compression Date: Sun, 11 Apr 2021 11:48:36 +0800 Message-Id: <20210411034844.12673-1-xiang@kernel.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: linux-erofs@lists.ozlabs.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Development of Linux EROFS file system List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Gao Xiang Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" Hi folks, This matches big pcluster kernel support in for-next. I've tested together with ro_fsstress and aosp x86_64 cuttlefish boot without any problem. XXX: since LZMA hasn't been introduced yet, compression cfg generation code is still a preliminary version, will refine it with later formal LZMA support. Thanks, Gao Xiang Gao Xiang (7): erofs-utils: introduce ondisk compression cfgs erofs-utils: add -C# for the maximum size of pclusters erofs-utils: add big physical cluster definition erofs-utils: fuse: support multiple block compression erofs-utils: mkfs: support multiple block compression erofs-utils: fuse: support compact indexes for bigpcluster erofs-utils: mkfs: support compact indexes for bigpcluster Huang Jianan (1): erofs-utils: support adjust lz4 history window size include/erofs/compress.h | 2 +- include/erofs/config.h | 2 + include/erofs/internal.h | 5 ++ include/erofs_fs.h | 39 ++++++++-- lib/compress.c | 160 ++++++++++++++++++++++++++++++--------- lib/compressor_lz4.c | 5 ++ lib/compressor_lz4hc.c | 2 + lib/config.c | 1 + lib/data.c | 4 +- lib/zmap.c | 136 +++++++++++++++++++++++++++++---- mkfs/main.c | 21 ++++- 11 files changed, 317 insertions(+), 60 deletions(-) -- 2.20.1