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 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 smtp.lore.kernel.org (Postfix) with ESMTPS id 86EEBC433F5 for ; Thu, 7 Apr 2022 05:08:20 +0000 (UTC) Received: from boromir.ozlabs.org (localhost [IPv6:::1]) by lists.ozlabs.org (Postfix) with ESMTP id 4KYqCQ6vPzz2ymf for ; Thu, 7 Apr 2022 15:08:18 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lists.ozlabs.org; s=201707; t=1649308098; bh=tiXPEGMJ02IDfMbTktJwv155Tq6JqYutOMaCPVS4DGE=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=gHSiiNDnXaDliA3n2ZyT2M2c2jBV1h7AfIwL7glISPOlS/2C6iwmRBBdnA513pQHq w7U11HbrhVyrrJbbkCSD1KwAlMQXW2WO+qfFqvxAZXiTYYDdNs+nqpzIyqqHIpB8Ac dcinVjjJGmvkAt8zt/vkwLzpW66j9F3EeDoyQ9tz3KcxnDamvKEDkABQ1L9YOC8lDZ XeFBkLXJK3V886rbAb3MH9lbo+Rfv1qRDS8uyFpnpCPeG9zg9LOPdmZLQkEYZPdIpE O3lTzftcrOZdB1ZD+I2lQ4nJQxfoaIaTm7OA0uxBytItTcxYNP+tYnBnK7XFPURBPp NAHzz2tDUIohw== Authentication-Results: lists.ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=coolpad.com (client-ip=101.36.218.16; helo=v01.bc.feishu.cn; envelope-from=huyue2@coolpad.com; receiver=) Authentication-Results: lists.ozlabs.org; dkim=pass (2048-bit key; unprotected) header.d=coolpad-com.20200927.dkim.feishu.cn header.i=@coolpad-com.20200927.dkim.feishu.cn header.a=rsa-sha256 header.s=s1 header.b=qNcngRxO; dkim-atps=neutral X-Greylist: delayed 201 seconds by postgrey-1.36 at boromir; Thu, 07 Apr 2022 15:08:03 AEST Received: from v01.bc.feishu.cn (v01.bc.feishu.cn [101.36.218.16]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by lists.ozlabs.org (Postfix) with ESMTPS id 4KYqC767NQz2xsW for ; Thu, 7 Apr 2022 15:08:02 +1000 (AEST) To: , Message-Id: <20220407050505.12683-1-huyue2@coolpad.com> X-Mailer: git-send-email 2.17.1 Subject: [PATCH resend] erofs: do not prompt for risk any more when using big pcluster Date: Thu, 07 Apr 2022 13:05:43 +0800 Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=935ee8ef104aa0c31a81bf49af574284f332759ce00b1850544cbca10576 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: , From: Yue Hu via Linux-erofs Reply-To: Yue Hu Cc: zhangwen@coolpad.com, linux-erofs@lists.ozlabs.org, linux-kernel@vger.kernel.org, Yue Hu Errors-To: linux-erofs-bounces+linux-erofs=archiver.kernel.org@lists.ozlabs.org Sender: "Linux-erofs" --935ee8ef104aa0c31a81bf49af574284f332759ce00b1850544cbca10576 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 The big pcluster feature has been merged for a year, it has been mostly stable now. Signed-off-by: Yue Hu --- fs/erofs/decompressor.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/fs/erofs/decompressor.c b/fs/erofs/decompressor.c index 3efa686c7644..0f445f7e1df8 100644 --- a/fs/erofs/decompressor.c +++ b/fs/erofs/decompressor.c @@ -46,8 +46,6 @@ int z_erofs_load_lz4_config(struct super_block *sb, erofs_err(sb, "too large lz4 pclusterblks %u", sbi->lz4.max_pclusterblks); return -EINVAL; - } else if (sbi->lz4.max_pclusterblks >=3D 2) { - erofs_info(sb, "EXPERIMENTAL big pcluster feature in use. Use at your o= wn risk!"); } } else { distance =3D le16_to_cpu(dsb->u1.lz4_max_distance); --=20 2.17.1 --935ee8ef104aa0c31a81bf49af574284f332759ce00b1850544cbca10576 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=UTF-8

The big pcluster feature has been merged for a year, it has been mostly
stable now.

Signed-off-by: Yue Hu
---
fs/erofs/decompressor.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/fs/erofs/decompressor.c b/fs/erofs/decompressor.c
index 3efa686c7644..0f445f7e1df8 100644
--- a/fs/erofs/decompressor.c
+++ b/fs/erofs/decompressor.c
@@ -46,8 +46,6 @@ int z_erofs_load_lz4_config(struct super_block *sb,
erofs_err(sb, "too large lz4 pclusterblks %u",
sbi->lz4.max_pclusterblks);
return -EINVAL;
- } else if (sbi->lz4.max_pclusterblks >=3D 2) {
- erofs_info(sb, "EXPERIMENTAL big pcluster feature in use. Use at yo= ur own risk!");
}
} else {
distance =3D le16_to_cpu(dsb->u1.lz4_max_distance);
--=20
2.17.1

--935ee8ef104aa0c31a81bf49af574284f332759ce00b1850544cbca10576--