From patchwork Wed Nov 23 06:03:50 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kemeng Shi X-Patchwork-Id: 2088 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2614322wrr; Tue, 22 Nov 2022 22:04:34 -0800 (PST) X-Google-Smtp-Source: AA0mqf7bHg2EtiqAa5f97dRyCZMpf0inAAJvDa4K9a8E7AUi8KGOWcVcOSMi8LbvLOZzrR8KepII X-Received: by 2002:a63:c41:0:b0:46f:81cc:5ecb with SMTP id 1-20020a630c41000000b0046f81cc5ecbmr6408333pgm.459.1669183474413; Tue, 22 Nov 2022 22:04:34 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669183474; cv=none; d=google.com; s=arc-20160816; b=PA3hkqIFhuoqq4dIvgiXYHv4Q58ZqQnWFzRUY50U6gqP5MZ802T+BOY+8Erq1tlCIU IeKq+25FvOyBHHUwWN3SQczR01O5yMBf6C6im1UobAk6Tj4ZI/9yI/G+CGPBXgDnJpfp 7QJSPOyWMh7YdJihHnyJlmv3Z27VBPdkwGEF6MPL8+v19Lc7dw3fEzu0F5A2A215//ao em6/yvMQnvnUxzg3O4gwvo50DI2LaiJn01jN63hSCNfohLxXf2VRHy8VkCSLlOjbNVw9 DHrZkcovbEgXPjh5YFLIc6Qk0Lnw/wF3h6zXEPAUmQVBkLezod7JuqwiRbfahLhEKXMx iw6g== 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=diPuMb+C8kFEcvtT3rEXpKjklknIrbFG1jmnVZZfpAM=; b=PbzCVTzNmr+MQDk64+Rcxhe9+qIFQhHnX3+Rn8Ip2GQo83CYY/ZQtsTvQ0R8NpdwRo R5H6SaQKi0bPEAQIJ45OHcZ4d6KiyQNwv2OZDmS4DdIjOV1TW7rZCnY9TzzLwoqZDRRc FTU+DFEwhhRYn/Uq8e3189kbcitDZXdEreBVOg0UyS9FsEWNLNeivyQ+NwTuVraUS6xP mtHwyH54brKOuhIFZNvOH3m4UQECugAlpqdheCmddcl6rooRNNPs33PuyzQR2uv4MlxL Hfwz2sHEQCNwKOG56IjA3Y1Vc/GaWJTKCQmamqVsztHTl4KpSDWMEk3JK4EZMjCC3WqW JxTg== 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 x17-20020a170902ec9100b001870dc9ef5asi17642173plg.285.2022.11.22.22.04.21; Tue, 22 Nov 2022 22:04:34 -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; 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 S235778AbiKWGEN (ORCPT + 99 others); Wed, 23 Nov 2022 01:04:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235555AbiKWGEK (ORCPT ); Wed, 23 Nov 2022 01:04:10 -0500 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 29893F2C05; Tue, 22 Nov 2022 22:04:07 -0800 (PST) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.56]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4NH9Xv5ywQzHw5S; Wed, 23 Nov 2022 14:03:27 +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; Wed, 23 Nov 2022 14:04:03 +0800 From: Kemeng Shi To: , , CC: , , , Subject: [PATCH 00/11] A few bugfix and cleanup patches for blk-throttle Date: Wed, 23 Nov 2022 14:03:50 +0800 Message-ID: <20221123060401.20392-1-shikemeng@huawei.com> X-Mailer: git-send-email 2.14.1.windows.1 MIME-Version: 1.0 X-Originating-IP: [10.174.178.129] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1750265731009768302?= X-GMAIL-MSGID: =?utf-8?q?1750265731009768302?= Hi, this series contain a few patches to fix problem when on the default hierarchy, corrent comment and so on. More detail can be found in respective changelogs. Thanks. Kemeng Shi (11): blk-throttle: Limit whole system if root group is configured when on the default hierarchy blk-throttle: Fix that bps of child could exceed bps limited in parent blk-throttle: ignore cgroup without io queued in blk_throtl_cancel_bios blk-throttle: correct calculation of wait time in tg_may_dispatch blk-throttle: simpfy low limit reached check in throtl_tg_can_upgrade blk-throttle: fix typo in comment of throtl_adjusted_limit blk-throttle: remove incorrect comment for tg_last_low_overflow_time blk-throttle: remove repeat check of elapsed time from last upgrade in throtl_hierarchy_can_downgrade blk-throttle: remove unnecessary check for validation of limit index blk-throttle: remove unused variable td in tg_update_has_rules blk-throttle: Use more siutable time_after check for update slice_start block/blk-throttle.c | 98 ++++++++++++++++++-------------------------- 1 file changed, 39 insertions(+), 59 deletions(-)