Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp9907540rwl; Wed, 11 Jan 2023 11:39:05 -0800 (PST) X-Google-Smtp-Source: AMrXdXv/LPfkTgZm0SrZ+opSfI/1dL6TWla+A+ibr0LDL8XfTsGn4opuQq6L2Yr7jZVjmN7sLnlU X-Received: by 2002:a17:906:3f97:b0:83f:41a2:a68b with SMTP id b23-20020a1709063f9700b0083f41a2a68bmr61970036ejj.30.1673465945115; Wed, 11 Jan 2023 11:39:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1673465945; cv=none; d=google.com; s=arc-20160816; b=P93yYulMkRwrvrx/AaAXBDFJCt3F56WLJZhgaYqOwPPgQJbpKV6LrIAgF8sANKALBS HSzem6J8BVfIol0U6LbbhjnU4zUPivCcMEro6btBaujyz+aACZw/rn249O23ARcpAPUf W1RjSymmeQojNTCN6LJiEQOcesePGZvpplo0Q1AnUc/w9KMy5j+ntt8NhneEBa7yXsav Svin4bxCIfl5KKE5l6Qx9xlS5SuBpHNVVP0/ZAo4sArxqmy6HDo8Ug69CRaTqvqjY3+l xkTIhh+paqyIVl1zDtVbo7MkamTcdQaZPN85qSgscRmUnOmSKtBuWoLm8o5KCgcac2lW /aJA== 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:dkim-signature; bh=r71nc4cOkD3E1SuBRi0K/GfeHn0iHXbyDHStAL21L+A=; b=OfZGEd5N48x4rZDT7KzX+9erZfTCmI9EIEpX/nmINB6xnG7o26H644j90JeSGtemec t5dxbT58drzWl6lWvuI3lMUPKjj34vosVdFjeoefyssVrw1bd7ftmzbj/exbNjweEAgm bIxa+i17UinRGq7/36wZX6J07B8TtrZD+Ng/THkSUDRQAQuWeGC8TtXK8oj8g/gDPF7J FinLwyJgbNFzstk1F0VttwTGQ/cGkI1yZKoIPjaD6Im6tTnKWsYMwGIw1BeZH3FAD7g0 OJJI9Ia6iNEdVeC6p5vWyC2AJhw+zpPwuGv9H9sm8nPaSCT8Lwvy1eYvITyw8OiWCgBX NUHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=jnkstjhl; 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 sc19-20020a1709078a1300b007ce3aef9498si16967895ejc.628.2023.01.11.11.38.52; Wed, 11 Jan 2023 11:39:05 -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=jnkstjhl; 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 S230055AbjAKTRu (ORCPT + 51 others); Wed, 11 Jan 2023 14:17:50 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60194 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235883AbjAKTRO (ORCPT ); Wed, 11 Jan 2023 14:17:14 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7120F15733 for ; Wed, 11 Jan 2023 11:17:13 -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 0D6BC61DF5 for ; Wed, 11 Jan 2023 19:17:13 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4DC93C433D2; Wed, 11 Jan 2023 19:17:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1673464632; bh=sRbHWzESzzQyqWDjoUMBpL3B16QI+DxrTxxVS41/8zQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jnkstjhlof3uqxsUvMvQBHcGW0Joc5n8nRCU94fH+bOz2sEQNrZdLTcuRMQNWErCe 2jHY/o6bwftD6irMTeZnOTBUxo52JyTxqx5EqKkGtYgpuvgzZwqjmFYqNkwucb51ZB cPw139UJS0UjvEIMp03OFaor2vGrSjv4CjYNFJyhwRRD/s0JnnTOx3Ljp5h4fTJlxp G3MyK/pee9aEzbQgHCpj9hvEQMFXgUx0F+V2HOt/nFpP+XRDvRSQA/WMlKQQ7WFDXT ggaLzvmDZUuZ1zmvJnltWKxUsknBngyDhSEmaMeTDuovCiAVWa9DQJkwLWgsIV5tk8 kpyofALbBt0Nw== Date: Wed, 11 Jan 2023 11:17:10 -0800 From: Jaegeuk Kim To: Chao Yu Cc: Yangtao Li , linux-f2fs-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/4] f2fs: reset iostat_count in f2fs_reset_iostat() Message-ID: References: <20230104112158.15844-1-frank.li@vivo.com> <7378f01b-3f02-a81c-7266-c743381131fb@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <7378f01b-3f02-a81c-7266-c743381131fb@kernel.org> 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,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 01/11, Chao Yu wrote: > On 2023/1/5 3:20, Jaegeuk Kim wrote: > > Hi Yangtao, > > > > These are all in dev-test branch, which means you don't need to stack up more > > patches on top of it. I just integrated most of them into two original patches. > > Could you please take a look at this? > > > > c1706cc0cd72 f2fs: add iostat support for flush > > acd6f525e01c f2fs: support accounting iostat count and avg_bytes > > +#define IOSTAT_INFO_SHOW(name, type) \ > + seq_printf(seq, "%-23s %-16llu %-16llu %-16llu\n", \ > + name":", sbi->iostat_bytes[type], \ > + sbi->iostat_count[type], \ > + iostat_get_avg_bytes(sbi, type)) \ > > '\' doesn't align in column, otherwise it looks good to me. Applied with the fix. > > Reviewed-by: Chao Yu > > Thanks,