Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp1709025rwb; Thu, 29 Sep 2022 00:44:47 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7jvn+YFUDmhmNaaOWxPnoTCUPgBfCBPd9LUBgIMzndSxHBjXnrAwbKB+tSKN3mWsRj3P3d X-Received: by 2002:a17:906:8b81:b0:77e:cd92:9d with SMTP id nr1-20020a1709068b8100b0077ecd92009dmr1589535ejc.484.1664437487406; Thu, 29 Sep 2022 00:44:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664437487; cv=none; d=google.com; s=arc-20160816; b=dx24I/8j++ho7XSAL0jFcm4wL3RKaVprZqN2c/40Dqs+cazwfWH8AmnIN89XmjBt94 qRyXtzD5UbhbWtBhGVe6peTfseChmVXUoKZAgDOIupLjLYkXaVF24M7/nO3XjDQsVmIK HUJQ+xEPUxEgWk2eO/WtoLfKJe7wE/giuqLu7CXoUK2C0haj9iPu8Tt2w1W5S74YKmWC c+nxlsNwG03uJr60+tEgN6BgcUbBn+tl2/R/w2rwMDIxD2UjAOnMCsD/xkPAlyLLKrIz Xb4DdUb6wXQ+a/G8t2TeKeklws/xsAylvCYdFxKcLwfTcBm37SJNmFWD8I8/AP/T4JVX NP4Q== 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=G2Zi/1hquHN/jHSVk7c32r/fJXcci9JBYfK7hXfDklY=; b=YNTc6EHKOkxLK0YzdhsowJkbRW0DrianTY7WEMM/+dn2IwM2P96d+zMB6rf/nXkygw 8KORQbB5Fe7cFQiTY70uBYVaF3Ny9pWyOKFqcaki9/O4F++nM2z/XaJhovvkPCWExhFd OgTdCTLUxomK7Vpdx7sgd9prN+FjBFltdzNoBdzbZikfKgFd7r50DpRY3K1xy8rKXVgp 1T+g32x1rp2e6XgP7N/9tMTveTJieVRzcSEQnG6xQAfljIp0+DMsVUEhy7lV8W520x9/ tDnc7PXbk1nxtIy6Arvx7+l0PgxKSdCwV2+f/5BMEE65tfgoucf6IGFvZnRwdP0tHmiL +m2A== 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 sa2-20020a1709076d0200b007825337afeesi7742035ejc.273.2022.09.29.00.44.21; Thu, 29 Sep 2022 00:44:47 -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 S235354AbiI2Hln (ORCPT + 99 others); Thu, 29 Sep 2022 03:41:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47904 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235440AbiI2HlS (ORCPT ); Thu, 29 Sep 2022 03:41:18 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F0E5B139F71; Thu, 29 Sep 2022 00:40:59 -0700 (PDT) Received: from kwepemi500016.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4MdQCF3M2xzHtjL; Thu, 29 Sep 2022 15:36:09 +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:57 +0800 From: Kemeng Shi To: , CC: , , , Subject: [PATCH 0/3] A few cleanup patches for blk-iolatency.c Date: Thu, 29 Sep 2022 15:40:52 +0800 Message-ID: <20220929074055.30080-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: X-Mailing-List: linux-kernel@vger.kernel.org This series contains three cleanup patches to remove redundant check, correct comment and simplify struct iolatency_grp in blk-iolatency.c. 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 | 33 ++++++++++++++------------------- 1 file changed, 14 insertions(+), 19 deletions(-) -- 2.30.0