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 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 423B7C433EF for ; Tue, 19 Oct 2021 13:04:16 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2513261378 for ; Tue, 19 Oct 2021 13:04:16 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235816AbhJSNG1 (ORCPT ); Tue, 19 Oct 2021 09:06:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:50174 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230097AbhJSNG0 (ORCPT ); Tue, 19 Oct 2021 09:06:26 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id DFD0C61372; Tue, 19 Oct 2021 13:04:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1634648653; bh=y4bwIP99bgP7Ml+JufuaLWJMSFCpFb2IgDQsVZrKASk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=bCpjhUh1VcXA9BupCXm2ZZIsAfA8v60rDCJCENAgyUd5lCl3+Xh1Qq5gGs02IAK4f HxvuxGpmjCgp6U260CCqlBEdvmMQu0PYJ71NGSLMwjx4ozStUNNQ9aTLCiFohPX8fc yLMbN8r33Bb2WrtgQgmkXvZJ1c7Aav2zZr+6JS/OdLRDgf8p+xnX0bFMOYuZrFXt+3 G25b1BglnnHmAu/ZOGUXw2sWnUd0vpIJ7gYzyNpN/aUnLaZtRD9oU5FuVjGCAFhX6x Tre/X9bbk+IWoVgQo+i5milRvsGdiEYeyAqoW5Kg9cqhW6dEgvjFVMCQk5SqRX8AAO wPMvlSz9YaD1A== Message-ID: Date: Tue, 19 Oct 2021 21:04:09 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101 Thunderbird/91.2.0 Subject: Re: [PATCH 7/7] erofs: lzma compression support Content-Language: en-US To: Gao Xiang , linux-erofs@lists.ozlabs.org, LKML Cc: Lasse Collin , Andrew Morton , Greg KH , Linus Torvalds , Gao Xiang References: <20211010213145.17462-1-xiang@kernel.org> <20211010213145.17462-8-xiang@kernel.org> From: Chao Yu In-Reply-To: <20211010213145.17462-8-xiang@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021/10/11 5:31, Gao Xiang wrote: > From: Gao Xiang > > Add MicroLZMA support in order to maximize compression ratios for > specific scenarios. For example, it's useful for low-end embedded > boards and as a secondary algorithm in a file for specific access > patterns. > > MicroLZMA is a new container format for raw LZMA1, which was created > by Lasse Collin aiming to minimize old LZMA headers and get rid of > unnecessary EOPM (end of payload marker) as well as to enable > fixed-sized output compression, especially for 4KiB pclusters. > > Similar to LZ4, inplace I/O approach is used to minimize runtime > memory footprint when dealing with I/O. Overlapped decompression is > handled with 1) bounced buffer for data under processing or 2) extra > short-lived pages from the on-stack pagepool which will be shared in > the same read request (128KiB for example). > > Signed-off-by: Gao Xiang Acked-by: Chao Yu Thanks,