From patchwork Sat Oct 21 02:01:37 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gao Xiang X-Patchwork-Id: 156382 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce89:0:b0:403:3b70:6f57 with SMTP id p9csp77416vqx; Fri, 20 Oct 2023 19:02:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFmU3tCc9yp8TnXwQ+ByWlHpCKLL0GxVaxBxJbvOYLbleQXCFsehh7hUyg/fVgzuqUL/tyo X-Received: by 2002:a92:d8cf:0:b0:34f:739d:9bec with SMTP id l15-20020a92d8cf000000b0034f739d9becmr3367251ilo.31.1697853755895; Fri, 20 Oct 2023 19:02:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697853755; cv=none; d=google.com; s=arc-20160816; b=0PCsDMBv3+8LfsgmEqx/n/g3mBpjbt/v5Ai+5wOE3AHVbP2IloitaErVuqtk3DDLMl 8OB/HGiifL9NbNHCavdynMqgStRYg3qErtqnbSKxAEzkNpGhMAGiLo3kuooEZBRpzus9 ArruiTnlBRgEEOHYlctkPg6CymvOb2Y+HmFYpLovDDJxpr0B2u7tuo8WJuh1LSYB0BWi FSbUaZxspSQD/3NbNeH34FoQaTkwSfjTswXc+s9BcLrNoVdebm06FJNFw8YDVhgTwO7M 9SDNradOCf2lSkvp8eB6jk6oE+rS9kr1eVPQ8kwFF/yvBMGIMPJ7T+MTr+yZnB9v+COz YAUQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=Np/jj8FdvkKUc5pLXD5k1YxlEMXw3BtWkD0ufDAf2MA=; fh=O78HJmpL5F5vEBJ7fj5QgOSmUhamGk6jv8eSOg+ntqY=; b=J3JUWTELS/Tl2Ei4JGoh2pbCKbY9v2+KYQQsdrtlaZbgmT/OhYruJtxH5/JXgIN8Ly K8eo4SL9ESuFQkrOmhC8sMIXM3ls8l2fUVP/hvVqwbyf5G7ohDyTZy7CnYtxF3S7roaA nbtRtniw/VdFyxWldrpAwit4edYY6cjonO00PC3Ag6HfZ4x5y6NP0wUq+BSFYHQjpFZc I6XYKWDOeLtPaZ2fef+eEwGJbMeoK0AIwzP4dxcqRACRHBYvq9fOeqFaRJu2a0EAMoxN Q1fBNe1CHTe1d04C71+Hka6YsWcUugIn5pgn9j77iE81oJi7M5008O7YKeBNE3hgI0aC Ofyg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id c7-20020a633507000000b0057744d09d1bsi2958331pga.251.2023.10.20.19.02.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 19:02:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id F1BFA82ABAB3; Fri, 20 Oct 2023 19:02:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231201AbjJUCBu (ORCPT + 26 others); Fri, 20 Oct 2023 22:01:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231175AbjJUCBr (ORCPT ); Fri, 20 Oct 2023 22:01:47 -0400 Received: from out30-124.freemail.mail.aliyun.com (out30-124.freemail.mail.aliyun.com [115.124.30.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5CC32D7F for ; Fri, 20 Oct 2023 19:01:44 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R131e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046060;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=3;SR=0;TI=SMTPD_---0VuYG-.I_1697853700; Received: from e69b19392.et15sqa.tbsite.net(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VuYG-.I_1697853700) by smtp.aliyun-inc.com; Sat, 21 Oct 2023 10:01:41 +0800 From: Gao Xiang To: linux-erofs@lists.ozlabs.org Cc: LKML , Gao Xiang Subject: [PATCH] erofs: don't warn MicroLZMA format anymore Date: Sat, 21 Oct 2023 10:01:37 +0800 Message-Id: <20231021020137.1646959-1-hsiangkao@linux.alibaba.com> X-Mailer: git-send-email 2.39.3 MIME-Version: 1.0 X-Spam-Status: No, score=-0.7 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,UNPARSEABLE_RELAY autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Fri, 20 Oct 2023 19:02:34 -0700 (PDT) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1780328699711796935 X-GMAIL-MSGID: 1780328699711796935 The LZMA algorithm support has been landed for more than one year since Linux 5.16. Besides, the new XZ Utils 5.4 has been available in most Linux distributions. Signed-off-by: Gao Xiang Reviewed-by: Chao Yu --- fs/erofs/Kconfig | 7 ++----- fs/erofs/decompressor_lzma.c | 2 -- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/fs/erofs/Kconfig b/fs/erofs/Kconfig index f6dc961e6c2b..e540648dedc2 100644 --- a/fs/erofs/Kconfig +++ b/fs/erofs/Kconfig @@ -91,13 +91,10 @@ config EROFS_FS_ZIP_LZMA select XZ_DEC_MICROLZMA help Saying Y here includes support for reading EROFS file systems - containing LZMA compressed data, specifically called microLZMA. it - gives better compression ratios than the LZ4 algorithm, at the + containing LZMA compressed data, specifically called microLZMA. It + gives better compression ratios than the default LZ4 format, at the expense of more CPU overhead. - LZMA support is an experimental feature for now and so most file - systems will be readable without selecting this option. - If unsure, say N. config EROFS_FS_ZIP_DEFLATE diff --git a/fs/erofs/decompressor_lzma.c b/fs/erofs/decompressor_lzma.c index ba4ec73f4aae..852dd8eac5df 100644 --- a/fs/erofs/decompressor_lzma.c +++ b/fs/erofs/decompressor_lzma.c @@ -96,8 +96,6 @@ int z_erofs_load_lzma_config(struct super_block *sb, return -EINVAL; } - erofs_info(sb, "EXPERIMENTAL MicroLZMA in use. Use at your own risk!"); - /* in case 2 z_erofs_load_lzma_config() race to avoid deadlock */ mutex_lock(&lzma_resize_mutex);