Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9420498rwl; Wed, 11 Jan 2023 05:36:50 -0800 (PST) X-Google-Smtp-Source: AMrXdXsLy7n4+Rn9JRqAaFgI9XDlEYLqOUX+5NYrxWIkw87cnQN42/g4Q3Gp09a1tiGz9KUsoO6A X-Received: by 2002:a05:6a21:e30a:b0:a9:f163:3ecf with SMTP id cb10-20020a056a21e30a00b000a9f1633ecfmr88306469pzc.50.1673444210678; Wed, 11 Jan 2023 05:36:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673444210; cv=none; d=google.com; s=arc-20160816; b=n4cgxOqcxFBeKByyElA/WMR6SLYNtdHki2I4oY7A447ww2QdH0clrazUUOgfXHbGau 6jv4XpcGBydXqahkMpOh39y6W80OE8IWQ5uXlMTo6NWaWF7io+WlQ61VGn4T/KeKPw28 Kb1WoyzlPqP0wGn9PoDIIL5H2dyKEWn33rF03K772+TrsvrmlwxY0IIRO1QgiKn3awkY ACTeNgL+KGYzQ6UdecYY5l08lFpYYPdhm3kt5+1iAeJ/YJn46QpV1lyipEK4+AJjCTOp 3PD+UL6vRDFtXZ2oO3KkUyiWdlEahQz9/cXCfJ4jmLWYXRZnlZkAJflsamuWDG5foO2q rIWA== 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:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=qr9pYB2VWIIzvrDlzhJZwoGhpz8ozCcA4Sf/TUh3dII=; b=bH00hjjMB3PQJbvJMRz+kyP1M7tWf+qzhkd1tQblngPqKFWKjBu9haG1ReA7hg0r3J eYt6G2cE5oZB6WEDpEmedGF9dMHpL+3Ro8sV2ax0wkb06ajSUawQ2/jUiiKNec6QkZcJ V0/TpYmeaL8KKN9WfcwnhjkaoLAuJ4tNd7ov1I+wN5MKq6iTgGjKsSNt29ijAhXxuLdn yAoY+rvz6dtcHemW+Sjkg5Hak96D7hGJ8Ey+yV6sRms7bGgk+XOluNIlujhrazWMYF+H 5OIZ9QVAXqrw6I/G3pfEibPona1Q4R+F30L4xVXz2/bpGuXFUiWmcdVdkyF2L0rlRhDp Jlsw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oZiIJdF6; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m130-20020a633f88000000b00477c217a5eesi15376718pga.317.2023.01.11.05.36.44; Wed, 11 Jan 2023 05:36:50 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=oZiIJdF6; 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=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238706AbjAKNeE (ORCPT + 55 others); Wed, 11 Jan 2023 08:34:04 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54574 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238416AbjAKNco (ORCPT ); Wed, 11 Jan 2023 08:32:44 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D87A63881 for ; Wed, 11 Jan 2023 05:30:58 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 7158761D1C for ; Wed, 11 Jan 2023 13:30:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E321DC433EF; Wed, 11 Jan 2023 13:30:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673443857; bh=QSRDEhjQOIo+1Nf6WjkaaVUOZYxoWbLk6Ng5D63wRtk=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=oZiIJdF6H8ADKwN3l2+goyFyMDs29JZDKum+lywwyA8Oj2xnomUR/PyFk/eT6DXKl P8YYzAkKiSgXhgHLlC03Rwrl7Z36MP6RvWFDjwB8J9NnFBOgePLTw5Q7mHtphMomvo mmIl2OkjFzGS2WQzLBs6GoOKYMfQpF+xuY7LSyC6QQgjd+Z1U19nPV3T/1iwfd5+kj X+vZSdMmPCwU4zPHQKrUBMvufd0M6QwhgokNPR6d1rpClVPxleHLLZDnPWRjR/mutD w8p8cwt6N4vc5C8zpCMWS+CGrM1NzegJaSjvn24oke3G6snbbdIzmAk5klds/RVaaE i3KPExJbosgvg== Message-ID: <8d71e53b-3ca0-3c84-acf0-5e8ec0952cc3@kernel.org> Date: Wed, 11 Jan 2023 21:30:55 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.6.1 Subject: Re: [PATCH v3] f2fs: merge f2fs_show_injection_info() into time_to_inject() Content-Language: en-US To: Yangtao Li , jaegeuk@kernel.org Cc: linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org References: <20221220183904.53908-1-frank.li@vivo.com> From: Chao Yu In-Reply-To: <20221220183904.53908-1-frank.li@vivo.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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 2022/12/21 2:39, Yangtao Li wrote: > There is no need to additionally use f2fs_show_injection_info() > to output information. Concatenate time_to_inject() and > __time_to_inject() via a macro. In the new __time_to_inject() > function, pass in the caller function name and parent function. > > In this way, we no longer need the f2fs_show_injection_info() function, > and let's remove it. > > Suggested-by: Chao Yu > Signed-off-by: Yangtao Li Reviewed-by: Chao Yu Thanks,