Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5809972rwp; Mon, 17 Jul 2023 09:44:12 -0700 (PDT) X-Google-Smtp-Source: APBJJlHKkVMcpD9EaOiGpT2lTUGh5i73u+dHmd9PSC+Pe8iTyh5x936YKdn9g1BnSIaIQsS+lrXi X-Received: by 2002:aa7:c902:0:b0:51d:df35:3818 with SMTP id b2-20020aa7c902000000b0051ddf353818mr12339649edt.5.1689612252666; Mon, 17 Jul 2023 09:44:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689612252; cv=none; d=google.com; s=arc-20160816; b=IuHmr5uZDjMngPeZjgEgg4g5Sno6SV9d0sgYmyMd6MbzxDD7A1ukGUrNR3Qt0Y+LSZ WFFtvaPm6x+6+xjpE/qtmsZky5A0d3MoAND02knl7jtZoebgZCgvKykCSbKV5X3zCn7z ldFSCHsSn2k6nY8EkFGqkPCWYeYVaYOumuOYO/NFoJUqPzIAVokslCTxp7/AzXQMYy3X 9B6yTVbZnS/3+exv4StzpsG/OXlMoPbO5VytgBujidM8V2Qvid/ql0uE21kXORMj+kbq NqkTGgV+fpTIg2mUcK/0KT1MIFKRNoErydLVhfsuuvdRnyawkKoE9+KynqhtqQIkYL1W 3kPA== 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:subject:user-agent:mime-version:date:message-id; bh=WRbGIZ7NhcmEDK5Je4xS3jrtnI5LpXhI3UE4FyXLZHo=; fh=3jPdYIEANqOsHPIiUQyqkytK0weoxV5jXrrps2ebfQ4=; b=htPbKYoJ6s6qcYcQOVm+cy2A3R79ttYi0Wloz47Sm3xQ7PbWp8VBQXDK+11Ja0NOmX 6afMYrhYO2UoWLLETWu63BYPQsIodmIgn/tFSfVhcJJvYs24dr7UBCqwvEtj1NeALSyB xOTwpAWj1B87nWVjuYevqZAknxjkIV8BPGou8oD2PnBZN2ipbRi9mGdS40g4vjSCYx5u eprLzKga3mi5nqIP5hEuI0ax9UdE1YlQaLZL6GHGWObvJdo2GAN1Pap99SN6fZEM63+P LoFiOVsp7j3hDd6xls0dhvqNDp+teRD7QunG7pZwvF6xm8AMfK1iVNQL1PzBOOyrqfkA aXdA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b10-20020aa7cd0a000000b0051df52adbfasi15370222edw.154.2023.07.17.09.43.47; Mon, 17 Jul 2023 09:44:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231624AbjGQQRA (ORCPT + 99 others); Mon, 17 Jul 2023 12:17:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33756 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229630AbjGQQQ6 (ORCPT ); Mon, 17 Jul 2023 12:16:58 -0400 Received: from out30-131.freemail.mail.aliyun.com (out30-131.freemail.mail.aliyun.com [115.124.30.131]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A632BB9 for ; Mon, 17 Jul 2023 09:16:55 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R571e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046059;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VneLyKX_1689610607; Received: from 30.25.237.231(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VneLyKX_1689610607) by smtp.aliyun-inc.com; Tue, 18 Jul 2023 00:16:51 +0800 Message-ID: <548cb723-6bce-4360-75f3-b4ec822bbf2c@linux.alibaba.com> Date: Tue, 18 Jul 2023 00:16:46 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: [PATCH v2] erofs: deprecate superblock checksum feature To: Jingbo Xu , chao@kernel.org, huyue2@coolpad.com, linux-erofs@lists.ozlabs.org Cc: linux-kernel@vger.kernel.org References: <20230717112703.60130-1-jefflexu@linux.alibaba.com> From: Gao Xiang In-Reply-To: <20230717112703.60130-1-jefflexu@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-10.0 required=5.0 tests=BAYES_00, ENV_AND_HDR_SPF_MATCH,NICE_REPLY_A,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,UNPARSEABLE_RELAY,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2023/7/17 19:27, Jingbo Xu wrote: > Later we're going to try the self-contained image verification. > The current superblock checksum feature has quite limited > functionality, instead, merkle trees can provide better protection > for image integrity. > > xxhash is also used in the following xattr name filter feature. It is > redundant for one filesystem to rely on two hashing algorithms at the > same time. > > Since the superblock checksum is a compatible feature, just deprecate > it now. > > Signed-off-by: Jingbo Xu I tend to agree on this since it slightly impacts mount time too: Reviewed-by: Gao Xiang Thanks, Gao Xiang