From patchwork Tue Oct 18 11:12:37 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kemeng Shi X-Patchwork-Id: 13010271 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAAEBC4332F for ; Tue, 18 Oct 2022 11:12:51 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229719AbiJRLMu (ORCPT ); Tue, 18 Oct 2022 07:12:50 -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 ); 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 To: , , CC: , , , 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 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 Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org 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(-)