Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp217477ybl; Wed, 21 Aug 2019 17:57:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqwX67l7jEGFIvWJeP+H1yfcMFmX2nWDLfNsMyOFiSMSZgqRG0hL8ytO9c2uYR7zEF7OcQCN X-Received: by 2002:a17:90a:17aa:: with SMTP id q39mr2748854pja.106.1566435450545; Wed, 21 Aug 2019 17:57:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566435450; cv=none; d=google.com; s=arc-20160816; b=MdCULzFsn2tSbsApIYVfsxO9uCKNm1nOdHknObP7FYk5qKV6TkSO0Kj4oysyQopPP+ M6I+skQANRCLIvCaOLjXj5K+UV6c4ojU6vS9DwJt1FAmg6ocq2I5Fsoo70B3CrgbooKp hILDvgBYtAax9C7qrfpoSwybW+Sr/d1SiJTotSb1373TWgPts26K0Ysq+TMgEnJaibSz sEsCTSOqmr7Vw4oSTSwtARQ4Nc/DT3Z10cXATDZ91psIfqj2S+RTuMq/3LE2uR/ir0lA e3NqxaREsSvLxJ51FRv/soD4wyFq5knKWswcCReKsCxHgcHuEAT/7CuWP/LbYE/G72kv 0/og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=CGamQBqn1keeDQN/dGpkbx0uGpXlzGw+M6ZDH31XElA=; b=ah6KEgwZyf7xZpANxIpHCmsRnDI/Zu6B/UZG8GQkRUUnJNATU3nQD9lnEUjiZPC7kY RTD0dJSj8ucMs8uno9Fw7ktTIZjVkkzLUt6toTxp0eExD1Lz6SO1hAylJcm5aFiJK8rl 7EAPxCDEFy0s7mWRwwyGqVGIJLh1cgsiui5lVnI34XZlswPumxv6sWn09t3rTTFIgHln 0Qq1WGE4sPXVkATx3B5RK6rHavo74dyaXCB+DivqyBf5kX8/Qv5TqTN87tIzfHFUvGiK G2f/cX/1lOwgPEK6YZpGLjY3osIUQjxQ0k1L0xITo/bnxoTKoryXjHqBY/G5KTXjwoWO +DhA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RbBqg9V8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f8si16665808pfn.43.2019.08.21.17.57.15; Wed, 21 Aug 2019 17:57:30 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RbBqg9V8; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729905AbfHUVho (ORCPT + 99 others); Wed, 21 Aug 2019 17:37:44 -0400 Received: from mail-wm1-f67.google.com ([209.85.128.67]:36364 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727291AbfHUVhn (ORCPT ); Wed, 21 Aug 2019 17:37:43 -0400 Received: by mail-wm1-f67.google.com with SMTP id g67so3618397wme.1; Wed, 21 Aug 2019 14:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CGamQBqn1keeDQN/dGpkbx0uGpXlzGw+M6ZDH31XElA=; b=RbBqg9V8SrwdXevvHNV0QKavqk/28xEtPZ3W/OlWlz8+aKGa9kG5/6fWjPax/AByHW 6mYDCOBP2FfikHJCKQZ1o8qe5bpRJMZkibEAZTCohh1gbMxJJp1VlYMfoAwcgbKsz1Iv CeXTP4sT9dAup43HxREz/U1SvMxD0fW/dUdFRqSRuNMA4Flc+ya5pwFtjR3Ulbk05IHk dYsUAg3Ahqp3d6sCv28s3axERBLG+O982Co8NF5XSCkK7I1KbqKpypTuhODD9VOlI+pu Q+ltJtwjnlVEwd+AUU0UuKUCX6ei/l6y28QyKzzzkPcqzmNH6MzlBRh128CzrxtHExgA noLQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CGamQBqn1keeDQN/dGpkbx0uGpXlzGw+M6ZDH31XElA=; b=nWsLzqiKLF7HSfrKil9fkYGl7VNBQRoi7T8tO+97OkpW4ZGhPag5+3XRRPBiG1f0sr iZTLskGoCcMQZYvIZcxreMZFT5nx5Zn9qHVe9odMZzDal7XqRmsa7UT8TF/CuJNfmNUv kqpAawnTQjp9rqWLU9bOF+yhpDmdYqz9AqJWP4yzdQlGkQ9Gez+M+FRidebWJ2aHStHH gyu4h2MZ5/mLnGFzyfwjHpLaRmLDA3hTMkZtAZt0ng4+ZAP4agrLniKvAZOY85nK1SUF nZ5KCCZI+APR7MU/FyJ052o/PR5Lvzhpf8ONEBjYABUozn46gLcbr9TEC3XkLwRYQllM DgRg== X-Gm-Message-State: APjAAAVmR1f9HiLqom04M+fbBvQxUZ7ngoK/sh7EO9v2hK7xJs4ExLJ4 lf0e8/Y4194YXQC1pl8C3NnXb6641CwnGTMtJwQ= X-Received: by 2002:a7b:c155:: with SMTP id z21mr2225753wmi.137.1566423461598; Wed, 21 Aug 2019 14:37:41 -0700 (PDT) MIME-Version: 1.0 References: <1323459733.69859.1566234633793.JavaMail.zimbra@nod.at> <20190819204504.GB10075@hsiangkao-HP-ZHAN-66-Pro-G1> In-Reply-To: <20190819204504.GB10075@hsiangkao-HP-ZHAN-66-Pro-G1> From: Richard Weinberger Date: Wed, 21 Aug 2019 23:37:30 +0200 Message-ID: Subject: Re: erofs: Question on unused fields in on-disk structs To: Gao Xiang Cc: Richard Weinberger , linux-fsdevel , linux-erofs@lists.ozlabs.org, linux-kernel Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Gao Xiang, On Mon, Aug 19, 2019 at 10:45 PM Gao Xiang via Linux-erofs wrote: > > struct erofs_super_block has "checksum" and "features" fields, > > but they are not used in the source. > > What is the plan for these? > > Yes, both will be used laterly (features is used for compatible > features, we already have some incompatible features in 5.3). Good. :-) I suggest to check the fields being 0 right now. Otherwise you are in danger that they get burned if an mkfs.erofs does not initialize the fields. -- Thanks, //richard