Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp4480620rwd; Tue, 23 May 2023 08:14:31 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6gKswxOlHm9GIndYF8C023OruXn8wVTknU6shTCnupGmOBe9dYcg4odnWagrAfy28wiWvh X-Received: by 2002:a17:90b:364e:b0:255:2cee:62c8 with SMTP id nh14-20020a17090b364e00b002552cee62c8mr11051870pjb.19.1684854871560; Tue, 23 May 2023 08:14:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684854871; cv=none; d=google.com; s=arc-20160816; b=Zl98dLU6mIPKuom8U67xDSaFmM58+L7sGv0gk1kN/4Do0xwlWS3o0fUdbMAJbYLGF4 9QqvtxNReCJ0mRUu/N8CoFLxJkJmJKZjB4Q82H5018tSqHDJfQs3y/pJTFdWFSZO898I 83X1I+luH5K8JC/KRsEEANIjMQ1xdHczrJ5p3UVA1nX0iGhq7lYUWB1f1622bWrnobn4 w88ZlN7pYeR30knLNjV00N57Zq5Fr1lxXMUstwnPGzgGVmMIaFM3SVMUEu24EQtGW/7p IEXqkGqIJdawWwYKFTbewDpfVQpvZECq4OADVcC7HnCsJdiYOXWf0Vf/Yvg62NdYG9LB ou5A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=HMdRs4EVy6NjSK7M+XtSG8loeq8D7L+FTyQAmHNRI6I=; b=qyi7eE+YiK152Lh8swdkzATxAvEST2lD077gLe13MmPG5vdeAJUvg7iJi6wIJvnIKV CkTjYig+yKeWHDGRSW391EyahygxmpN6OLx+4t4T/wkngXcPiVVIjx7yxPL4DMIoJhv5 KJzkVZ4fV2FhXcRXvIpM4EXa6aCl9+E+R1BgDztMlG/ysy+lpRdf8Xz2qetI5mMbrh7i rsr1vHj6dh/fsexpkP6yHaX9hnoQY4IIFpMIqJaHjDmearka6NiHNLkhG/KkIi2P8jro I0+0mLgxWhGgWe8kkvUpGgZWEVQeqhWFCRCjCcbUKVGN4p2VohdaBh7ABHqJEn/DMD17 C8vw== 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id bb12-20020a17090b008c00b00250a6b87c76si6744559pjb.142.2023.05.23.08.14.10; Tue, 23 May 2023 08:14:31 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236726AbjEWOnx (ORCPT + 99 others); Tue, 23 May 2023 10:43:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39938 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231848AbjEWOnv (ORCPT ); Tue, 23 May 2023 10:43:51 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B9DBFE9; Tue, 23 May 2023 07:43:50 -0700 (PDT) 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 4FB0062747; Tue, 23 May 2023 14:43:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id E08C9C433D2; Tue, 23 May 2023 14:43:48 +0000 (UTC) Date: Tue, 23 May 2023 10:43:47 -0400 From: Steven Rostedt To: Jaegeuk Kim Cc: Daejun Park , "chao@kernel.org" , "mhiramat@kernel.org" , "linux-f2fs-devel@lists.sourceforge.net" , "linux-kernel@vger.kernel.org" , "linux-trace-kernel@vger.kernel.org" , Seokhwan Kim , Yonggil Song , beomsu kim Subject: Re: [PATCH v6] f2fs: add async reset zone command support Message-ID: <20230523104347.61149ecd@rorschach.local.home> In-Reply-To: References: <20230508081042epcms2p8a637deae7de1829f54614e09d5fde5e5@epcms2p8> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.0 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_MED,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE 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 Tue, 9 May 2023 11:53:35 -0700 Jaegeuk Kim wrote: > On 05/08, Daejun Park wrote: > > v5 -> v6 > > Added trace_f2fs_iostat support for zone reset command. > > > > v4 -> v5 > > Added f2fs iostat for zone reset command. > > > > v3 -> v4 > > Fixed build error caused by unused function. > > > > v2 -> v3 > > Modified arguments to be correct for ftrace parameter. > > Changed __submit_zone_reset_cmd to void return. > > Refactored the f2fs_wait_discard_bio function. > > Fixed code that was previously incorrectly merged. > > > > v1 -> v2 > > Changed to apply the optional async reset write pointer by default. > > Don't add the history in the patch description. Well, you can (and should) ... > > > > > This patch enables submit reset zone command asynchornously. It helps > > decrease average latency of write IOs in high utilization scenario by > > faster checkpointing. > > > > Signed-off-by: Daejun Park > > --- But it must go below the three dashes above. That will keep 'git am' from adding it to the change log. -- Steve > > fs/f2fs/f2fs.h | 1 + > > fs/f2fs/iostat.c | 1 + > > fs/f2fs/segment.c | 84 +++++++++++++++++++++++++++++++++++-- > > include/trace/events/f2fs.h | 24 +++++++++-- > > 4 files changed, 104 insertions(+), 6 deletions(-) > > > > diff --git a/fs/f2fs/f2fs.h b/fs/f2fs/f2fs.h > > index d211ee89c158..51b68a629814 100644 > > --- a/fs/f2fs/f2fs.h > > +++ b/fs/f2fs/f2fs.h > > @@ -1175,6 +1175,7 @@ enum iostat_type { > > /* other */ > > FS_DISCARD_IO, /* discard */ > > FS_FLUSH_IO, /* flush */ > > + FS_ZONE_RESET_IO, /* zone reset */ > > NR_IO_TYPE, > > }; > >