Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp439909pxb; Tue, 19 Oct 2021 06:07:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyuDGcmZUaYihwbXStVW6ovbpwCWHsXIT+pT6pzxUAdnDOyYXZuFnOvBgxYZCJfFALuyOfJ X-Received: by 2002:a2e:8687:: with SMTP id l7mr6734705lji.263.1634648855164; Tue, 19 Oct 2021 06:07:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634648855; cv=none; d=google.com; s=arc-20160816; b=OftoJC87jVWAESOk5NBeeRlAbXhiV9pxSrHppxT7LtyDsj11yqmEayAUPb18iChcon SblvcwQ39Y+/pYX0hm3RfqmAjKwyvoUk8gPezouDwF2dUi0Q/TKX3yAjSwcNy0dN7ewp pDmW4uD7dBg/LTxXhVwHtvAgp3JdetVLRzLRnqmc6QAfqoJ1uZzq6qhSOttOYxb6Ywul keOAq9WubUzorBJF9zduxMglIotvb6ce7ZDzZzVHX2m8AU3Nax/YmIw/Ekw8LStOmtuR PO6DzmGA+OhjribcuEE4VgqL0qMkzhBIYoemwzrlNjQ4ihIariONa/SvjXydrRwndmRX Ehdg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=XlVbkhqxbd0cHD+fN+QEiH7JSh09tW27v1wh6VjUry4=; b=gCQph+OB1pJxENHpXbA90e92v5t8dA/E4F6gwxG3rdLhZqGJqNiAha32/Rq0GgOA4d Scv6a/ttTn7o2bzvn6t8a4wSNGZWgFUpmNIIf32dvHMlyQukuNMsTfooVrbWGRxfK+SV lDzTJGzcBvfSTyZHdwvlXSIz8/HIUgYV00ah5uaFLTYFYdfhK9SQv22dEiT4vAL1/ljk SZ52LX8g6VskKVBBRlU+1fGJbUHEy9XIB5WZvPUgzHY0nzNJiUkb3FShDksj5LFcysHj scW9L8Qw1NGFF9fZYQOKWgJKFXVnkhhx3UmH1SiU/19G4Vn6qkaIwltiw5kDa95swhrz i4wg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bCpjhUh1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id qf32si17799010ejc.47.2021.10.19.06.07.08; Tue, 19 Oct 2021 06:07:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=bCpjhUh1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235732AbhJSNG1 (ORCPT + 99 others); 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,