Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp3805841rwi; Sun, 16 Oct 2022 19:01:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6zNsxSXaCS0F6mnU79TDE2wRMDe5KGG9HFdRyZYZgoiLBPRi4WoMqj/tOv0yrdbX0eX1cq X-Received: by 2002:aa7:9d11:0:b0:563:9272:b659 with SMTP id k17-20020aa79d11000000b005639272b659mr9955642pfp.86.1665972096996; Sun, 16 Oct 2022 19:01:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665972096; cv=none; d=google.com; s=arc-20160816; b=s2xHE/h9Od+UusSa9cWVnJ+eOP7qYChRtHJPbB0cOCBa9wCBpAT/GWorplPliH/pbB GSO8ugOTGbHR2GQu0qaOwBML8IuuCiC/9lwcuKw5WJxFH+UTvMsmRM1lub5Dx9DxripD BHQaxjO8jJIWCRDtPBCCp/X/JGSGlKv2hSsh5wBnzUEBtGuszuaCjI0gcx7y5bhjQINq c5n+yhvdHvzX2fGPIExGj2CFgSG6XxW/YXY4OeI7y4aVjVxyqAg0QmGLpJiTUPUm8OZU nR3+IcLvrtq6LRwtms1Xgn6ZTMkvdsXwag51K5+3SxW0hWrYtWIhKV8yyGQcHrQ1V1i/ uzdw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=0YDxPAGklR1AwVAhmnNxHyxXWA2bRL8RhUAmSOmbuyU=; b=v48BiPe7WxvHmpwha9364O5IoDnWKU8zjpxorZQT+gC3BRqlkF6tW5+0aMW14XYXj6 4I0QtA0pvoQ87mk04hBHiywUicpHjprgHmqT1SjAyqoj1JpWn0dSTA05E+86yMUHs9+U x91VnGtkxbVoGZdNfn4xopkJqXzovm5+DgpuzySoNS2/GEBUJgDDuhBr60j5Wz2wiRGP DoT8BaXPe4rSfaHyIoa8UBnjlAE/YfJHAjjZWpPk1hKTlhcyjBLG46+h6jk2FWFotvwQ CnCGrlWt+ggGgvSD2u2MW7UaZNt2zNjO1kfT3CHihIJD9SCe4Y3+m4MNwCJ5aq0YAnfB ViAw== 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id 197-20020a6306ce000000b0043961d06a20si10804996pgg.592.2022.10.16.19.01.24; Sun, 16 Oct 2022 19:01:36 -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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230090AbiJQCAW (ORCPT + 99 others); Sun, 16 Oct 2022 22:00:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57800 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230059AbiJQCAS (ORCPT ); Sun, 16 Oct 2022 22:00:18 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E4CABDE2; Sun, 16 Oct 2022 19:00:16 -0700 (PDT) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.57]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MrKp45gw1zVjDh; Mon, 17 Oct 2022 09:55:40 +0800 (CST) Received: from huawei.com (10.174.178.129) by kwepemi500016.china.huawei.com (7.221.188.220) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 17 Oct 2022 10:00:13 +0800 From: Kemeng Shi To: , , , CC: Subject: [PATCH 0/8] A few cleanup and bugfix patches for blk-iocost Date: Mon, 17 Oct 2022 10:00:03 +0800 Message-ID: <20221017020011.25016-1-shikemeng@huawei.com> X-Mailer: git-send-email 2.14.1.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.178.129] X-ClientProxiedBy: dggems701-chm.china.huawei.com (10.3.19.178) To kwepemi500016.china.huawei.com (7.221.188.220) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 This series contain a few patch to correct comment, correct trace of vtime_rate and so on. More detail can be found in the respective changelogs. Thanks! Kemeng Shi (8): blk-iocost: Fix typo in comment blk-iocost: Reset vtime_base_rate in ioc_refresh_params blk-iocost: Trace vtime_base_rate instead of vtime_rate blk-iocost: Remove vrate member in struct ioc_now blk-iocost: Correct comment in blk_iocost_init blk-iocost: Avoid to call current_hweight_max if iocg->inuse == iocg->active blk-iocost: Remove redundant initialization of struct ioc_gq blk-iocost: Get ioc_now inside weight_updated block/blk-iocost.c | 45 +++++++++++++++++------------------ include/trace/events/iocost.h | 4 ++-- 2 files changed, 24 insertions(+), 25 deletions(-) -- 2.30.0