Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp132717pxb; Wed, 18 Aug 2021 18:04:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyQ47Tibk8x5M0yptX93pf43VxFr7wffYM+OE8RrchFSyWkxar4Li8lqaHj+yZz31+Fi/CM X-Received: by 2002:a05:6402:1908:: with SMTP id e8mr13386334edz.283.1629335069427; Wed, 18 Aug 2021 18:04:29 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629335069; cv=none; d=google.com; s=arc-20160816; b=GwBkdMdcmVD2ZHO7Hd9yy2adYu+ee9MJEv+4Q6rZfouyrEoLgvtjS0v8sgUGUXjWHZ briBDUbJLOmHyndLujksfiY5I8ZmViPCIowqohHB3mEjJHdmlVgesfdT0xm53wjGLWY+ 33b7/K2UOoe3z24Cwo9qgNEjnK+hisE2puwSnySrLYbhNlY6Bs+ZhHhrSQ82g3GmRRNM jMBTfmOJJznDu1ezoSnUHaV577ZurJctznTvUtTdi3ue9BlN48rRNUBtYC5VHexrVBEy zFX71NJWQokxG5CKVETmBd9NU2/b7JXtOaas29TgSyEoDmt1F9MzoNHneKjkBXVJMgSV Wv9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=7/uAXbPZQ1ajZtJuuuIYXHQWg5GQwe314huPO8NrxJQ=; b=Up90SakeJ2iLJ8LmFOnaG6/uc0tS7sLUixSdlnoaEsDSwup7Awk8fkugugokhwNsSn XUjddmeCIRxGKJR6kCA1UseHtpSOjf/MdFmzVGw6l4JjC0V5N4sWyDKGKqjeIlaT3lUw eQ15M2ozbagYikLXDW3wADC0dbK/CfQaAJKoDPTHrrbqUkGlDdee88mPS1gWaNBalyYu TJTpT6BsxZ4Y6iq9FBPEVKruRRAR7t2dyi3PWNMf9mHrcsj/aiHBroyBX6m9SGwNkJau axYra+E84UUdwTsjSe3jposzcTlkLErQGqct9E9jVRarjO3oSIi7hjRJ9qUDkc3a4zk0 PBCA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p1si1645458ejm.169.2021.08.18.18.04.06; Wed, 18 Aug 2021 18:04:29 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S235459AbhHSBAR (ORCPT + 99 others); Wed, 18 Aug 2021 21:00:17 -0400 Received: from out30-43.freemail.mail.aliyun.com ([115.124.30.43]:55820 "EHLO out30-43.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235658AbhHSBAC (ORCPT ); Wed, 18 Aug 2021 21:00:02 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R221e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=alimailimapcm10staff010182156082;MF=hsiangkao@linux.alibaba.com;NM=1;PH=DS;RN=8;SR=0;TI=SMTPD_---0UjtBNTL_1629334764; Received: from B-P7TQMD6M-0146.local(mailfrom:hsiangkao@linux.alibaba.com fp:SMTPD_---0UjtBNTL_1629334764) by smtp.aliyun-inc.com(127.0.0.1); Thu, 19 Aug 2021 08:59:26 +0800 Date: Thu, 19 Aug 2021 08:59:24 +0800 From: Gao Xiang To: Liu Bo Cc: linux-erofs@lists.ozlabs.org, Chao Yu , LKML , Peng Tao , Eryu Guan , Liu Jiang , Joseph Qi Subject: Re: [PATCH 1/2] erofs: introduce chunk-based file on-disk format Message-ID: References: <20210818070713.4437-1-hsiangkao@linux.alibaba.com> <20210818222804.GA73193@rsjd01523.et2sqa> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210818222804.GA73193@rsjd01523.et2sqa> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Bo, On Thu, Aug 19, 2021 at 06:28:04AM +0800, Liu Bo wrote: > On Wed, Aug 18, 2021 at 03:07:12PM +0800, Gao Xiang wrote: ... > > + EROFS_INODE_CHUNK_BASED = 4, > > EROFS_INODE_DATALAYOUT_MAX > > }; > > > > @@ -90,6 +96,19 @@ static inline bool erofs_inode_is_data_compressed(unsigned int datamode) > > #define EROFS_I_ALL \ > > ((1 << (EROFS_I_DATALAYOUT_BIT + EROFS_I_DATALAYOUT_BITS)) - 1) > > > > +/* indicate chunk blkbits, thus `chunksize = blocksize << chunk blkbits' */ > > A typo in the quotation marks. (`chunksize = ) should be ('chunksize =) Such usage is like below: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=0e389028ad75412ff624b304913bba14f8d46ec4 https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=78128fabd022240852859c0b253972147593690b I'm fine in either way. I'll update it in the next version or when submitting. > > Otherwise it looks good. > > Reviewed-by: Liu Bo Thanks for the review! Thanks, Gao Xiang > > thanks, > liubo >