From patchwork Sat Jan 29 01:59:21 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Yu Kuai X-Patchwork-Id: 12729351 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 C83EDC433FE for ; Sat, 29 Jan 2022 01:48:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1352080AbiA2Bsl (ORCPT ); Fri, 28 Jan 2022 20:48:41 -0500 Received: from szxga02-in.huawei.com ([45.249.212.188]:31252 "EHLO szxga02-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1344830AbiA2Bsl (ORCPT ); Fri, 28 Jan 2022 20:48:41 -0500 Received: from kwepemi100007.china.huawei.com (unknown [172.30.72.53]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4JlxzQ5y4wzbkCP; Sat, 29 Jan 2022 09:47:46 +0800 (CST) Received: from kwepemm600009.china.huawei.com (7.193.23.164) by kwepemi100007.china.huawei.com (7.221.188.115) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Sat, 29 Jan 2022 09:48:39 +0800 Received: from huawei.com (10.175.127.227) by kwepemm600009.china.huawei.com (7.193.23.164) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Sat, 29 Jan 2022 09:48:38 +0800 From: Yu Kuai To: , , CC: , , , , Subject: [PATCH v3 0/3] block, bfq: minor cleanup and fix Date: Sat, 29 Jan 2022 09:59:21 +0800 Message-ID: <20220129015924.3958918-1-yukuai3@huawei.com> X-Mailer: git-send-email 2.31.1 MIME-Version: 1.0 X-Originating-IP: [10.175.127.227] X-ClientProxiedBy: dggems705-chm.china.huawei.com (10.3.19.182) To kwepemm600009.china.huawei.com (7.193.23.164) X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org Changes in v3: - fix a clerical error in patch 2 Chagnes in v2: - add comment in patch 2 - remove patch 4, since the problem do not exist. Yu Kuai (3): block, bfq: cleanup bfq_bfqq_to_bfqg() block, bfq: avoid moving bfqq to it's parent bfqg block, bfq: don't move oom_bfqq block/bfq-cgroup.c | 16 +++++++++++++++- block/bfq-iosched.c | 4 ++-- block/bfq-iosched.h | 1 - block/bfq-wf2q.c | 15 --------------- 4 files changed, 17 insertions(+), 19 deletions(-)