Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp2055265rwp; Thu, 13 Jul 2023 23:15:22 -0700 (PDT) X-Google-Smtp-Source: APBJJlE01ayWTKu9v9ptcPPCKRkrgGtw2HCDLvD8ZClP4ekMATPc+5xj7bc7YuiD21Ax56H9LQDQ X-Received: by 2002:a17:906:ad5:b0:992:345e:8319 with SMTP id z21-20020a1709060ad500b00992345e8319mr2734317ejf.58.1689315322689; Thu, 13 Jul 2023 23:15:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689315322; cv=none; d=google.com; s=arc-20160816; b=sY9NZudT22fq16bIIYsi4gZBvCzAhT0KopeUt+vPI69xX+kCC2IUwT1ZjaMT8mDZuv 7tUUq2/wrVRy8g02DgFSGuPsb3mP+yBszXFWBj6e6bHMxTb2f4AizMlJY/euvSioB45e u6fpLZsMpBDsIg/h7XytNLjZ+8RIE9ZH6qiyB+FNiR+CAmvFTT6dxkq5DUdP5hE2Ma14 5Gqapn+ainCZP+5yQqkYCkQIAQqFDfOXH3hWKa7EkaK2Bq+mbXejAHWrbpoFGbfXCSC+ dZ0lE2rJk63AN8oz9pHx48WvOf67HrCKfot8p39DLO7fUuBX/6qkhvOTT5NaCQyNp+Zv nJzw== 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=eV4StuLFcRBMHIOxRwt3BxmnqolxXzFt10j2Wm4+Lrs=; fh=3jPdYIEANqOsHPIiUQyqkytK0weoxV5jXrrps2ebfQ4=; b=PLF1ba3XiLA+V257PTAZJb3PUUJ5H1e/m4cT+Wbleoy45ATgzkDIgXvU4SkY0uB6FX ECo2tbRhpipr977teK+bTQzHiEEgJA22zuFD0PJWclUwRxJeAVFPP0uqIn87pZEGrZzH WJ14j1yAtres873nLs7i4tYPJMekk6TAAT4T1yEAlrpKbc6Lw3qqqMARdwaqydHbTbQx RMRyKzUL+Ve/PfYeOiDM77ojfI+t1pFGU8Ql6mO8Pw9P8Svk2M03kLDwF69bHHwLFD9s w1w2EYPcsC/kEQHWfSwIdsgyr24RJh9lqcX66AYI5z2d6uVaHSgZTPHbUoSHXrb3QhHG cJCg== 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 q15-20020a170906b28f00b00991f5659833si9009501ejz.152.2023.07.13.23.14.58; Thu, 13 Jul 2023 23:15:22 -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 S234985AbjGNF6b (ORCPT + 99 others); Fri, 14 Jul 2023 01:58:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41968 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235062AbjGNF6W (ORCPT ); Fri, 14 Jul 2023 01:58:22 -0400 Received: from out30-110.freemail.mail.aliyun.com (out30-110.freemail.mail.aliyun.com [115.124.30.110]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A7D82D43 for ; Thu, 13 Jul 2023 22:58:17 -0700 (PDT) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R391e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018046056;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=5;SR=0;TI=SMTPD_---0VnKbmCM_1689314293; Received: from 30.97.49.6(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0VnKbmCM_1689314293) by smtp.aliyun-inc.com; Fri, 14 Jul 2023 13:58:14 +0800 Message-ID: <7b585c1b-1541-59ce-2886-0d96875bc362@linux.alibaba.com> Date: Fri, 14 Jul 2023 13:58:13 +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] 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: <20230714033832.111740-1-jefflexu@linux.alibaba.com> <8a896983-ec76-d705-b4af-b34ffe529a81@linux.alibaba.com> <82251dbb-6fb2-63a5-d15b-ba68ec75b4b2@linux.alibaba.com> From: Gao Xiang In-Reply-To: <82251dbb-6fb2-63a5-d15b-ba68ec75b4b2@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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/14 12:50, Jingbo Xu wrote: > > > On 7/14/23 12:29 PM, Gao Xiang wrote: >> >> >> On 2023/7/14 11:38, Jingbo Xu wrote: >>> Later we're going to introduce fs-verity based verification for the >>> whole image.  Make the superblock checksum feature deprecated. >> >> I'd suggest that >> >> >> "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. >> >>  Since the superblock checksum is a compatible feature, just >>  deprecate now. " >> > > Yeah, another concern is that xxhash is used in the following xattr name > filter feature [1] which is on the way. It may be redundant to use two > hashing algorithms for one filesystem. Please help add this to the commit message when the next version is sent. Thanks, Gao Xiang