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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DDA9CC636CC for ; Thu, 9 Feb 2023 02:31:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232016AbjBICa6 (ORCPT ); Wed, 8 Feb 2023 21:30:58 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57416 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232014AbjBICav (ORCPT ); Wed, 8 Feb 2023 21:30:51 -0500 Received: from out30-111.freemail.mail.aliyun.com (out30-111.freemail.mail.aliyun.com [115.124.30.111]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2CBFAE059 for ; Wed, 8 Feb 2023 18:30:48 -0800 (PST) X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R171e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=ay29a033018045170;MF=jefflexu@linux.alibaba.com;NM=1;PH=DS;RN=6;SR=0;TI=SMTPD_---0VbDxLh3_1675909845; Received: from 30.221.133.91(mailfrom:jefflexu@linux.alibaba.com fp:SMTPD_---0VbDxLh3_1675909845) by smtp.aliyun-inc.com; Thu, 09 Feb 2023 10:30:46 +0800 Message-ID: <400c57ca-2804-a660-e543-42e15ac3b4a4@linux.alibaba.com> Date: Thu, 9 Feb 2023 10:30:45 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v2 1/2] erofs: update print symbols for various flags in trace Content-Language: en-US To: Gao Xiang , xiang@kernel.org, chao@kernel.org, linux-erofs@lists.ozlabs.org, huyue2@coolpad.com Cc: linux-kernel@vger.kernel.org References: <20230208112915.6543-1-jefflexu@linux.alibaba.com> <416afeb8-4385-6d8a-4b35-2c75ffaa36cc@linux.alibaba.com> From: Jingbo Xu In-Reply-To: <416afeb8-4385-6d8a-4b35-2c75ffaa36cc@linux.alibaba.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2/9/23 10:29 AM, Gao Xiang wrote: > > > On 2023/2/8 19:29, Jingbo Xu wrote: >> As new flags introduced, the corresponding print symbols for trace are >> not added accordingly.  Add these missing print symbols for these flags. >> >> Also remove the print symbol for EROFS_GET_BLOCKS_RAW as it is going to >> be removed soon. >> >> Signed-off-by: Jingbo Xu >> --- >> v2: remove print symbol for EROFS_GET_BLOCKS_RAW >> --- >>   include/trace/events/erofs.h | 13 +++++++++---- >>   1 file changed, 9 insertions(+), 4 deletions(-) >> >> diff --git a/include/trace/events/erofs.h b/include/trace/events/erofs.h >> index e095d36db939..cf4a0d28b178 100644 >> --- a/include/trace/events/erofs.h >> +++ b/include/trace/events/erofs.h >> @@ -19,12 +19,17 @@ struct erofs_map_blocks; >>           { 1,        "DIR" }) >>     #define show_map_flags(flags) __print_flags(flags, "|",    \ >> -    { EROFS_GET_BLOCKS_RAW,    "RAW" }) > > Should we remove this in the next patch? > Otherwise it looks good to me. > Okay I will update this in the next version. -- Thanks, Jingbo