Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1736977rwb; Thu, 29 Sep 2022 01:15:49 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4Koqjjpx2PxzNSwGnb0iR2RsFI5c5zh7o2iM3edd9Oduex9/2MAUfyROLmcSzEvVSoCZ07 X-Received: by 2002:a05:6402:51cb:b0:451:6ede:88e3 with SMTP id r11-20020a05640251cb00b004516ede88e3mr2054864edd.45.1664439348922; Thu, 29 Sep 2022 01:15:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664439348; cv=none; d=google.com; s=arc-20160816; b=RMwfFSDagFsL81sdf8xMIZpLhKoPVAf4rRH5kY1y6PE/Gs1mHsvYZJM0/sm9+Admkl vq+W6EJGvvJd4jvlPwr5w+W6/V5R87QV+vyyHyRPKNOXP5jEDnxR+/UP8lwo8Z5nVbUo HawQXwr873Bkrpr0gQoCoH5goDrAbWwI9kl67iaxlFgAeAz9rI9j4qGW4Eh8pAk8a6qj rSh1jX+e6pVoNGhCPxwXjYn21wNs5g7aJmFblyKmHXcVvf8ruThBpYAPwjwH0PaBmiR/ NFQCJFWF6X3bh4+ZeFvtSd+pqypoyeWJJGtrw8eLvdX67FVo6LH44yY2gyTE4jW6zE+N iBSg== 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=gMBYBeXPCLx4bfJzbC5fi//Ev6QYAwGGxGGIv8ikpK8=; b=LVbF0DrfbL6uJgu3XIaiZTML7B/M/CTPUGir2aU9ilmauynUUptC0Z5ITCaMYIsBe1 8LfpR9WlHTGbqenEYTHSROTRdJBdtOdr2un1nVPK8ZOGc65fSJDrfCL3ka+fhS4j1QPp 0JdcTm3Q4vNzXwriA3O113pfjYiNV+v5v0earOuT84VsbeW8YmLFi1mJamQ7hoFzIDQ0 IoK20sGuJNVgDBLo2TRElTkiPyrWhOubIfpZtXNZMOlZoQNnbcW2msUUOIk03ozCRo+F ziLRZk0Srf4/7mdrl3BbaAHDEbxrZcqg4cxTc1EUyUZd+sH1YxH6KPkWOuE88tdoqzBk ugNg== 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 l12-20020a1709067d4c00b007316843d58bsi5619130ejp.925.2022.09.29.01.15.23; Thu, 29 Sep 2022 01:15: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 S235452AbiI2Hli (ORCPT + 99 others); Thu, 29 Sep 2022 03:41:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49796 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235336AbiI2HlR (ORCPT ); Thu, 29 Sep 2022 03:41:17 -0400 Received: from szxga01-in.huawei.com (szxga01-in.huawei.com [45.249.212.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 529A2139BF8; Thu, 29 Sep 2022 00:41:01 -0700 (PDT) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.57]) by szxga01-in.huawei.com (SkyGuard) with ESMTP id 4MdQFQ0kJqzpV4Q; Thu, 29 Sep 2022 15:38:02 +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; Thu, 29 Sep 2022 15:40:58 +0800 From: Kemeng Shi To: , CC: , , , Subject: [PATCH 2/3] block: Correct comment for scale_cookie_change Date: Thu, 29 Sep 2022 15:40:54 +0800 Message-ID: <20220929074055.30080-3-shikemeng@huawei.com> X-Mailer: git-send-email 2.14.1.windows.1 In-Reply-To: <20220929074055.30080-1-shikemeng@huawei.com> References: <20220929074055.30080-1-shikemeng@huawei.com> 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 Default queue depth of iolatency_grp is unlimited, so we scale down quickly(once by half) in scale_cookie_change. Remove the "subtract 1/16th" part which is not the truth. Signed-off-by: Kemeng Shi --- block/blk-iolatency.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/block/blk-iolatency.c b/block/blk-iolatency.c index a8cc5abe91e5..2666afd7abdb 100644 --- a/block/blk-iolatency.c +++ b/block/blk-iolatency.c @@ -364,7 +364,7 @@ static void scale_cookie_change(struct blk_iolatency *blkiolat, } /* - * Change the queue depth of the iolatency_grp. We add/subtract 1/16th of the + * Change the queue depth of the iolatency_grp. We add 1/16th of the * queue depth at a time so we don't get wild swings and hopefully dial in to * fairer distribution of the overall queue depth. */ -- 2.30.0