Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp27228rda; Fri, 20 Oct 2023 19:02:26 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHyyH0zPByk6VhYtYJe52GdIDGxLOfujaeyL7GdhJdQOsmaTNOniSkjr7+8p3gTd0jfmvh8 X-Received: by 2002:a05:6870:4615:b0:1d0:e372:6c2d with SMTP id z21-20020a056870461500b001d0e3726c2dmr4395491oao.0.1697853746350; Fri, 20 Oct 2023 19:02:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697853746; cv=none; d=google.com; s=arc-20160816; b=yF5K+igunA3avJN+hFUe7Qi4F6/Ch5r1RDymI6k18DjSmP34hKVUKdMcb4TERJnlYQ GOp5UlS7O2tASrKPfJL5/RcaYa2ONcCNxBDYS8yiWKJ+9TVY1bRjUx9cHQF0EPUgrou5 wN8h80wDcmjZl2UvcllIerfD+Xv/ZjAssru9w7upoikN5SRLDOOd/7EbLQH5T81DAWt1 GxbDpUa3F6jakYfPECm5RRXXVzeLeg4QiVdVrMuIRiNQIa9EkH3BuXvUIbKbLh9R8vss S1kZaJNlmDOIYkGtgBwE+bu2eeejK+OchZpFQFViE36ZcVNKBjPrut0S1j1KA46vfJcP n8GQ== 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 Return-Path: Received: from agentk.vger.email (agentk.vger.email. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id b6-20020a056a000cc600b00690d8405fe2si3122694pfv.60.2023.10.20.19.02.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Oct 2023 19:02:26 -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 210CD82ABAAA; Fri, 20 Oct 2023 19:02:24 -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 S231192AbjJUCBu (ORCPT + 99 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 Content-Transfer-Encoding: 8bit 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:24 -0700 (PDT) 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 --- 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); -- 2.39.3