Message ID | 20221018121932.10792-1-shikemeng@huawei.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4ac7:0:0:0:0:0 with SMTP id y7csp1930736wrs; Tue, 18 Oct 2022 05:24:48 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5DWymb3bb3gFfU3RrR/p3r7h6AGnDVBZn8zE3/FnqTqYoZ6KCg0Iz7/kVILjbSk7AZGwBj X-Received: by 2002:a17:907:8a1c:b0:78d:ef44:7759 with SMTP id sc28-20020a1709078a1c00b0078def447759mr2252924ejc.441.1666095888397; Tue, 18 Oct 2022 05:24:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666095888; cv=none; d=google.com; s=arc-20160816; b=orilw2yGn0gH7AdRPntqyJjIe+PXCfYN65Z0YOW8OM5DylLTl8DbAj8ZHBRxHhJMTt Vco30W9WOxZgaPslww3jbTWsV78ddSryQZXO8GCtFCSYYplRU9R5SQGOx+67SbbLY9o1 IDbcg7hnRGG20Nvq3s7MYmK/qlwqiBFb8MNNu0IMEBrJTmuFglZbpkyw3K6uS1wJzSx4 nmX7dhgyJiyeEwLuH2UHUjbFvisoliB0d1pwYQSLgCnKtAWZzhEeIocMKQTSse3ffgpw 3NDF9KbWVWIZCV1Exz0KeoNeTQ2FIwGxkWHUv6FbMzuEi1lOtVPHdy+ax7DhcuWPcomw HE8g== 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=3I39pXkrkHY6ShOQB6ogSY9fGMj9rFhZqUOqZlilnvc=; b=MBQTgR21Auj0aE8apH+rCA5uGYNUtdVGVBVWBsNsluR2Dp0zPi/Mws0FUhfb1XWnwb Q7rhpBTFnNbw6FQv4GpureuIGC7345jMS4XP4aXeBoJrXGGSZ24r4FCMA6+u1NIbDIwl 57eyKXoChAe5seCvqfwjIvD//uPQC7gocXk3Wn4qCMOqgtdgBGe28Akp8gfoXD1IqSNw BvR6B4XIr6U9sik2ZVq3Y+7tgf4Onxg3jtO/lpoyiV9LGucQG/SCVuGhf03/coYgtQbb 1HL3MkAfTiX4kMkMpM5T3UGI5GhLINlncJhk4lfs3fb0X+wIuvuw/oReZQ8vF/KttZct vy2g== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cs19-20020a170906dc9300b0072fb108db55si7251998ejc.895.2022.10.18.05.23.59; Tue, 18 Oct 2022 05:24:48 -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 S229890AbiJRMTq (ORCPT <rfc822;carlos.wei.hk@gmail.com> + 99 others); Tue, 18 Oct 2022 08:19:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55380 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229604AbiJRMTi (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 18 Oct 2022 08:19:38 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 367962E6; Tue, 18 Oct 2022 05:19:36 -0700 (PDT) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MsCWj2dWHzpVhF; Tue, 18 Oct 2022 20:16:17 +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; Tue, 18 Oct 2022 20:19:34 +0800 From: Kemeng Shi <shikemeng@huawei.com> To: <tj@kernel.org>, <josef@toxicpanda.com>, <axboe@kernel.dk> CC: <cgroups@vger.kernel.org>, <linux-block@vger.kernel.org>, <linux-kernel@vger.kernel.org>, <shikemeng@huawei.com> Subject: [PATCH v2 0/5] A few cleanup and bugfix patches for blk-iocost Date: Tue, 18 Oct 2022 20:19:27 +0800 Message-ID: <20221018121932.10792-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: dggems703-chm.china.huawei.com (10.3.19.180) 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: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1747028162326525153?= X-GMAIL-MSGID: =?utf-8?q?1747028162326525153?= |
Series |
A few cleanup and bugfix patches for blk-iocost
|
|
Message
Kemeng Shi
Oct. 18, 2022, 12:19 p.m. UTC
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. --- v2: Thanks Tejun for review and comment! Add Acked-by tag from Tejun. Correct description in patch 3/5 and 4/5. Drop "blk-iocost: Avoid to call current_hweight_max if iocg->inuse == iocg->active" Drop "blk-iocost: Remove redundant initialization of struct ioc_gq" Drop "blk-iocost: Get ioc_now inside weight_updated" --- Kemeng Shi (5): 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 block/blk-iocost.c | 16 +++++++++------- include/trace/events/iocost.h | 4 ++-- 2 files changed, 11 insertions(+), 9 deletions(-)
Comments
Friendly ping on 10/18/2022 8:19 PM, Kemeng Shi wrote: > 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. > > --- > v2: > Thanks Tejun for review and comment! > Add Acked-by tag from Tejun. > Correct description in patch 3/5 and 4/5. > Drop "blk-iocost: Avoid to call current_hweight_max if iocg->inuse > == iocg->active" > Drop "blk-iocost: Remove redundant initialization of struct ioc_gq" > Drop "blk-iocost: Get ioc_now inside weight_updated" > --- > > Kemeng Shi (5): > 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 > > block/blk-iocost.c | 16 +++++++++------- > include/trace/events/iocost.h | 4 ++-- > 2 files changed, 11 insertions(+), 9 deletions(-) >
Hi jens, on 10/18/2022 8:19 PM, Kemeng Shi wrote: > 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. > > --- > v2: > Thanks Tejun for review and comment! > Add Acked-by tag from Tejun. > Correct description in patch 3/5 and 4/5. > Drop "blk-iocost: Avoid to call current_hweight_max if iocg->inuse > == iocg->active" > Drop "blk-iocost: Remove redundant initialization of struct ioc_gq" > Drop "blk-iocost: Get ioc_now inside weight_updated" > --- > > Kemeng Shi (5): > 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 > > block/blk-iocost.c | 16 +++++++++------- > include/trace/events/iocost.h | 4 ++-- > 2 files changed, 11 insertions(+), 9 deletions(-) Could you apply this patchset? By the way, my apply for an cloud variant of email was just passed a few days ago. Is this mail still in spam? Thanks.
On 11/30/22 6:45?PM, Kemeng Shi wrote: > > Hi jens, > on 10/18/2022 8:19 PM, Kemeng Shi wrote: >> 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. >> >> --- >> v2: >> Thanks Tejun for review and comment! >> Add Acked-by tag from Tejun. >> Correct description in patch 3/5 and 4/5. >> Drop "blk-iocost: Avoid to call current_hweight_max if iocg->inuse >> == iocg->active" >> Drop "blk-iocost: Remove redundant initialization of struct ioc_gq" >> Drop "blk-iocost: Get ioc_now inside weight_updated" >> --- >> >> Kemeng Shi (5): >> 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 >> >> block/blk-iocost.c | 16 +++++++++------- >> include/trace/events/iocost.h | 4 ++-- >> 2 files changed, 11 insertions(+), 9 deletions(-) > Could you apply this patchset? > By the way, my apply for an cloud variant of email was just passed > a few days ago. Is this mail still in spam? This one wasn't, but I've seen the huaweicloud.com emails fail the same origination checks in the past.
On Tue, 18 Oct 2022 20:19:27 +0800, Kemeng Shi wrote: > 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. > Applied, thanks! [1/5] blk-iocost: Fix typo in comment commit: e12d34fce7652a870fac62e9749a6623883d6fd8 [2/5] blk-iocost: Reset vtime_base_rate in ioc_refresh_params commit: c81d97a61c8c3c25a576c3db4c4dd34316256f05 [3/5] blk-iocost: Trace vtime_base_rate instead of vtime_rate commit: 0c0d362dc97d19d898219c13a357e167a9ee77ee [4/5] blk-iocost: Remove vrate member in struct ioc_now commit: f44ed8722034ef7d214fa121ae2402100a3590e1 [5/5] blk-iocost: Correct comment in blk_iocost_init commit: b4c0482bfe89cd6c4f030314c86aae35642c44a5 Best regards,
on 12/1/2022 9:46 AM, Jens Axboe wrote: > On 11/30/22 6:45?PM, Kemeng Shi wrote: >> >> Hi jens, >> on 10/18/2022 8:19 PM, Kemeng Shi wrote: >>> 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. >>> >>> --- >>> v2: >>> Thanks Tejun for review and comment! >>> Add Acked-by tag from Tejun. >>> Correct description in patch 3/5 and 4/5. >>> Drop "blk-iocost: Avoid to call current_hweight_max if iocg->inuse >>> == iocg->active" >>> Drop "blk-iocost: Remove redundant initialization of struct ioc_gq" >>> Drop "blk-iocost: Get ioc_now inside weight_updated" >>> --- >>> >>> Kemeng Shi (5): >>> 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 >>> >>> block/blk-iocost.c | 16 +++++++++------- >>> include/trace/events/iocost.h | 4 ++-- >>> 2 files changed, 11 insertions(+), 9 deletions(-) >> Could you apply this patchset? >> By the way, my apply for an cloud variant of email was just passed >> a few days ago. Is this mail still in spam? > > This one wasn't, but I've seen the huaweicloud.com emails fail > the same origination checks in the past. I'm not sure if was there any fix to huaweicloud.com email. I will use this huaweicloud emails to minimize the trouble before any better solution is found. Sorry for the inconvenience.
On 11/30/22 7:20 PM, Kemeng Shi wrote: > > > on 12/1/2022 9:46 AM, Jens Axboe wrote: >> On 11/30/22 6:45?PM, Kemeng Shi wrote: >>> >>> Hi jens, >>> on 10/18/2022 8:19 PM, Kemeng Shi wrote: >>>> 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. >>>> >>>> --- >>>> v2: >>>> Thanks Tejun for review and comment! >>>> Add Acked-by tag from Tejun. >>>> Correct description in patch 3/5 and 4/5. >>>> Drop "blk-iocost: Avoid to call current_hweight_max if iocg->inuse >>>> == iocg->active" >>>> Drop "blk-iocost: Remove redundant initialization of struct ioc_gq" >>>> Drop "blk-iocost: Get ioc_now inside weight_updated" >>>> --- >>>> >>>> Kemeng Shi (5): >>>> 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 >>>> >>>> block/blk-iocost.c | 16 +++++++++------- >>>> include/trace/events/iocost.h | 4 ++-- >>>> 2 files changed, 11 insertions(+), 9 deletions(-) >>> Could you apply this patchset? >>> By the way, my apply for an cloud variant of email was just passed >>> a few days ago. Is this mail still in spam? >> >> This one wasn't, but I've seen the huaweicloud.com emails fail >> the same origination checks in the past. > I'm not sure if was there any fix to huaweicloud.com email. I will > use this huaweicloud emails to minimize the trouble before any > better solution is found. Sorry for the inconvenience. Thanks, I'll let you know if I run into issues with the cloud email.