Message ID | 20221018111240.22612-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 y7csp1897417wrs; Tue, 18 Oct 2022 04:14:32 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7AyIZXsUk8RsE3xnS0oRMfkLBrfeYkygUMzkH8Myk4VQ05o3R67vItllEnpavrGJOZ8ONM X-Received: by 2002:a63:581e:0:b0:43c:29a0:6390 with SMTP id m30-20020a63581e000000b0043c29a06390mr2206373pgb.552.1666091672298; Tue, 18 Oct 2022 04:14:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1666091672; cv=none; d=google.com; s=arc-20160816; b=yENpez7t+Ei6nL6ULRGkxi6t5W2UxE+H4TCzXMQlxQTkWI3f3M13+2E5zjNp/mUiqL 8VQ9x8ufkcrcjWRYdwIo2/QFjNbejNPgXFrQ2+mVUcs9GpQuKclGqT1iynh/n2a0663j 0qqUPkK6tYqdyrr5MgDn7LVOyy5Mt1MktbsejAt/S8pA8K7owLSN3bA0n4LSnMZFmH3G SKm2FolQsthf+Tixf8YvWGXH/46VBNWEbFmX7gqqXNc6lBoOKHmvxdGyQbo7SoDglzIk Osg9d42oSE5aj7dK7Tw+CyorkQP+782arZrHdNIkYhIi9S9AFvKJerkKyC39ITsqjl07 fhsg== 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=1x18XSU12ABCkzK/R+ZweWbLDbSgHr7/JEPsG5LwYeE=; b=suh8xa6EFhaw4l20p5v7pp5qJ5Q0CcG6Hhsl617MtA9fOjb8Njlz1K4E90zc0HFBPi Y8gk4q2He9pIGcjHzSwdf50KOzhEoiSa2Us/tdpG922yRVa5NS26nfFCEccQhQ9jGezc B+pyLuFf4sTqyUBOKDL83xa70ZHHqVltUL/aKhgIYHp9o14x5p6GyH8fL25oBp0uH/NS AQPyfJD/TfXmN2PNxR/6KPgq1FMI1pNDzACCwcpK5pJir1EA+W/dHk2+hEAdtOeqs0Sd aE1eEumwWKR7lR1/7IdapOxd5+Ys5+M7td7oaRzKAvQ8PiAmQi2/+hZzJiw+YH6SL54O pC0g== 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 d184-20020a6336c1000000b0043a279baf66si14209753pga.115.2022.10.18.04.14.17; Tue, 18 Oct 2022 04:14:32 -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 S229875AbiJRLMw (ORCPT <rfc822;carlos.wei.hk@gmail.com> + 99 others); Tue, 18 Oct 2022 07:12:52 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229670AbiJRLMt (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 18 Oct 2022 07:12:49 -0400 Received: from szxga03-in.huawei.com (szxga03-in.huawei.com [45.249.212.189]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EB6CB9AFF0; Tue, 18 Oct 2022 04:12:45 -0700 (PDT) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.53]) by szxga03-in.huawei.com (SkyGuard) with ESMTP id 4MsB3K18K4zJn2S; Tue, 18 Oct 2022 19:10:05 +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 19:12:42 +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/3] A few cleanup patches for blk-iolatency.c Date: Tue, 18 Oct 2022 19:12:37 +0800 Message-ID: <20221018111240.22612-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: <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?1747023741177182573?= X-GMAIL-MSGID: =?utf-8?q?1747023741177182573?= |
Series |
A few cleanup patches for blk-iolatency.c
|
|
Message
Kemeng Shi
Oct. 18, 2022, 11:12 a.m. UTC
This series contains three cleanup patches to remove redundant check, correct comment and simplify struct iolatency_grp in blk-iolatency.c. --- v2: Thanks Josef for review and comment! Add Reviewed-by tag from Josef Improve the corrected comment in patch 2/3 --- Kemeng Shi (3): block: Remove redundant parent blkcg_gp check in check_scale_change block: Correct comment for scale_cookie_change block: Replace struct rq_depth with unsigned int in struct iolatency_grp block/blk-iolatency.c | 37 +++++++++++++++++-------------------- 1 file changed, 17 insertions(+), 20 deletions(-)
Comments
On Tue, 18 Oct 2022 19:12:37 +0800, Kemeng Shi wrote: > This series contains three cleanup patches to remove redundant check, > correct comment and simplify struct iolatency_grp in blk-iolatency.c. > Applied, thanks! [1/3] block: Remove redundant parent blkcg_gp check in check_scale_change commit: b6e03072a91ecc815c9f62037871d621b09df2b3 [2/3] block: Correct comment for scale_cookie_change commit: 77445572e643538019d9919669ddf36efb6a353a [3/3] block: Replace struct rq_depth with unsigned int in struct iolatency_grp commit: 718ac0e343f8fd81ab042aa4936d25fe10f6b318 Best regards,