From patchwork Wed Nov 23 06:03:56 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kemeng Shi X-Patchwork-Id: 24716 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:f944:0:0:0:0:0 with SMTP id q4csp2614583wrr; Tue, 22 Nov 2022 22:05:13 -0800 (PST) X-Google-Smtp-Source: AA0mqf5IxmplFsta4HkTDdh6D81KiV7vdDv6fyB5P5HdYUPr2oXd5R6D8BjjpXhgbBzr1+pwMxjP X-Received: by 2002:a17:902:d40a:b0:189:1890:77df with SMTP id b10-20020a170902d40a00b00189189077dfmr7708308ple.132.1669183513208; Tue, 22 Nov 2022 22:05:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669183513; cv=none; d=google.com; s=arc-20160816; b=wrBt6ve6guWMFDfJgKfjJqAU369gRXInE3fvPQ5CsnauAstmHk0RNsvraZgAChi/sx FxZh+4CNMZMtEDADcjHuBl3qBKjhZ+XsKPLEm1f6Pe8C5uY8miPAjmgALyZPQObYb90h 6TEmaT04fDS/P0o/Kr2d/dJ093JpWLzHq4C8RfDELBseKG+qRIQ+rDM3U6Ga1BR1ghBf Nm+t3yHxloRMY8CgygWN7EeX7234YPihqfIUc+SYCPat6Isa6ObiMGVxkFGioD5tGYe0 vxmoZ2y7B6I7AhbNKId3LMrp10exYC5q4ApXpWJmre6AOODIVK86RYoc9QadHuMSF/I6 ulMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from; bh=JVr24QinAz6d63U3nVb56T217eys6AyH859kJk+MdqE=; b=lc83uDs5YLeQrkTHXVymRwwwlN7pLxVZj84HJhUPMlfTzLwBvbP3ZT0PALYpyy9m6J PI1voO3aTfe+bl8Lezy0LvjFGtd4vNDmi2diCEVoi+EipcLt8/rOBjDtdnAc3NxP92RC fxKt3/lc2dQ660UFoeke9H22m7ydzwH/encCBiYLFKsTotc3tQX2Xdw0J3vFqpcSn7XN xzPqqQqiOkk94fxdACsCk0Gy2qAmD4xAjGMnhXT0a8kRDL9f61tbX2e5s/kLnfJllCZo bGYSRWGdwcvzp8Ypu5wp6gxHo/NOB9tagGRBPuDZnad+v2gfCJiIszb/SLd9o/t19BsJ kCCQ== 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 q8-20020a17090311c800b00176ab3bdffdsi17862195plh.536.2022.11.22.22.05.00; Tue, 22 Nov 2022 22:05:13 -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 S235892AbiKWGEb (ORCPT + 99 others); Wed, 23 Nov 2022 01:04:31 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235612AbiKWGEK (ORCPT ); Wed, 23 Nov 2022 01:04:10 -0500 Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CEECEF2C0A; Tue, 22 Nov 2022 22:04:09 -0800 (PST) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.56]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4NH9Y54pTXz15Mq3; Wed, 23 Nov 2022 14:03:37 +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:07 +0800 From: Kemeng Shi To: , , CC: , , , Subject: [PATCH 06/11] blk-throttle: fix typo in comment of throtl_adjusted_limit Date: Wed, 23 Nov 2022 14:03:56 +0800 Message-ID: <20221123060401.20392-7-shikemeng@huawei.com> X-Mailer: git-send-email 2.14.1.windows.1 In-Reply-To: <20221123060401.20392-1-shikemeng@huawei.com> References: <20221123060401.20392-1-shikemeng@huawei.com> 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?1750265771835004745?= X-GMAIL-MSGID: =?utf-8?q?1750265771835004745?= lapsed time -> elapsed time Signed-off-by: Kemeng Shi Acked-by: Tejun Heo --- block/blk-throttle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-throttle.c b/block/blk-throttle.c index 322a6ee38fb6..0aa21832cb96 100644 --- a/block/blk-throttle.c +++ b/block/blk-throttle.c @@ -129,7 +129,7 @@ static struct throtl_data *sq_to_td(struct throtl_service_queue *sq) /* * cgroup's limit in LIMIT_MAX is scaled if low limit is set. This scale is to * make the IO dispatch more smooth. - * Scale up: linearly scale up according to lapsed time since upgrade. For + * Scale up: linearly scale up according to elapsed time since upgrade. For * every throtl_slice, the limit scales up 1/2 .low limit till the * limit hits .max limit * Scale down: exponentially scale down if a cgroup doesn't hit its .low limit