Message ID | 20230103095303.2223546-1-shikemeng@huaweicloud.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:4e01:0:0:0:0:0 with SMTP id p1csp4393530wrt; Mon, 2 Jan 2023 17:55:45 -0800 (PST) X-Google-Smtp-Source: AMrXdXvSOe4jypPDU/KqsjWOhWpXlbaoLTKjkPVQS6yZyNcowpXtegp7FUB3HTOasbP8oZnIDYmX X-Received: by 2002:a05:6402:241b:b0:45c:b772:5f41 with SMTP id t27-20020a056402241b00b0045cb7725f41mr40929097eda.6.1672710945716; Mon, 02 Jan 2023 17:55:45 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672710945; cv=none; d=google.com; s=arc-20160816; b=buZLDzhRwRx+5TqcWErBNCWLN84lfK1Ng1kBBD3xlyTbhIzUdwWUc32OWKQJ5YB6qI sNBdz1cHqpbbsEPpiNLSob9PCvsgUJAVPv8i3PhUrXQoAGn4BWUYdQtae829juze/BVB 0w8qxAZP822AU4gJp2Rf4e/fID4omnD5Ph6PD+qD/m35Ld952RvCDKdmq9s0KFreA/fB xiRH81UpQnLu/93irPH3H3Wf7TbFtAFCp06yQS+JwnFqz4bs8529FPFnj3qeehfScmSm 3XXkybrLBkBlw67ntQbMF192sctZ2vr/Y/UTpepDn8O7qzyScr2QEWwcVdPW8ophjUH+ alkg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=ihe+EdsnzmwuPWQuMIiq/y2PGqdcfn5j15gbr08KKVY=; b=tx9WULX3rmGTMQ/p/ZX22NHfnMbCA8SgOvUuElusbsHDMTV7/xOqxxT9C9a+KYk3ip mSO80c9nD/1QtAfYIe9CyDHPy8ODWr139O0jAHYdVbPtwQVGjV4IVgUr4w8S1RxzM5Kq ADi/eQh7MiT12DZ6Q+m5/cftpypbRmnkI8wK42GfrvhMbttrh1uSZWPOjIa70oECADdy 0ec5lX7rcvwjV4Wv0j3NEpEYoXHs/qIhPCN9JotY6t5wb+1JInZv084wfq1oRL70ZSHo p1k4rm0paWQqbPM6Gzn2GiGkhKAho0zKyPMPLjYYJRwZ6WGt4/EcrzWRP3WIZlw5HPRa M1NA== 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 Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id du18-20020a17090772d200b007c4f331c852si27998814ejc.274.2023.01.02.17.55.20; Mon, 02 Jan 2023 17:55:45 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236572AbjACBya (ORCPT <rfc822;tmhikaru@gmail.com> + 99 others); Mon, 2 Jan 2023 20:54:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53882 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230388AbjACByX (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 2 Jan 2023 20:54:23 -0500 Received: from dggsgout12.his.huawei.com (dggsgout12.his.huawei.com [45.249.212.56]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 71A067663; Mon, 2 Jan 2023 17:54:22 -0800 (PST) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout12.his.huawei.com (SkyGuard) with ESMTP id 4NmG4S56m0z4f3knl; Tue, 3 Jan 2023 09:54:16 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.124.27]) by APP4 (Coremail) with SMTP id gCh0CgBHr7LJirNj9wMDBA--.19481S2; Tue, 03 Jan 2023 09:54:19 +0800 (CST) From: Kemeng Shi <shikemeng@huaweicloud.com> To: jack@suse.com, paolo.valente@linaro.org, axboe@kernel.dk Cc: hch@lst.de, damien.lemoal@opensource.wdc.com, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/8] A few bugfix and cleancode patch for bfq Date: Tue, 3 Jan 2023 17:52:55 +0800 Message-Id: <20230103095303.2223546-1-shikemeng@huaweicloud.com> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgBHr7LJirNj9wMDBA--.19481S2 X-Coremail-Antispam: 1UD129KBjvJXoW7Kw4xAF1kCr47Kr4kZF17GFg_yoW8JFyUpr 4fWr43ur4rWry3XF13Aa1UZrn3t34rJ3srXw1ag348XryDZwnFqFyqk3yFkFy7tF93CFs3 XF10q3s5Wr1rJa7anT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDU0xBIdaVrnRJUUUkFb4IE77IF4wAFF20E14v26r4j6ryUM7CY07I20VC2zVCF04k2 6cxKx2IYs7xG6rWj6s0DM7CIcVAFz4kK6r1j6r18M280x2IEY4vEnII2IxkI6r1a6r45M2 8lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8wA2z4x0Y4vE2Ix0cI8IcVAFwI0_tr0E 3s1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr1j6F4UJwA2z4x0Y4vEx4A2jsIE14v26r xl6s0DM28EF7xvwVC2z280aVCY1x0267AKxVW0oVCq3wAS0I0E0xvYzxvE52x082IY62kv 0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0I7IYx2IY67AKxVWUJVWUGwAv7VC2z2 80aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r4UM4x0Y48IcxkI7VAKI48JMxAIw28I cxkI7VAKI48JMxC20s026xCaFVCjc4AY6r1j6r4UMI8I3I0E5I8CrVAFwI0_Jr0_Jr4lx2 IqxVCjr7xvwVAFwI0_JrI_JrWlx4CE17CEb7AF67AKxVWUAVWUtwCIc40Y0x0EwIxGrwCI 42IY6xIIjxv20xvE14v26r1j6r1xMIIF0xvE2Ix0cI8IcVCY1x0267AKxVWUJVW8JwCI42 IY6xAIw20EY4v20xvaj40_WFyUJVCq3wCI42IY6I8E87Iv67AKxVWUJVW8JwCI42IY6I8E 87Iv6xkF7I0E14v26r1j6r4UYxBIdaVFxhVjvjDU0xZFpf9x07jIGQDUUUUU= X-CM-SenderInfo: 5vklyvpphqwq5kxd4v5lfo033gof0z/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_00,DATE_IN_FUTURE_06_12, 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?1753964552542252426?= X-GMAIL-MSGID: =?utf-8?q?1753964552542252426?= |
Series |
A few bugfix and cleancode patch for bfq
|
|
Message
Kemeng Shi
Jan. 3, 2023, 9:52 a.m. UTC
Hi, this series contain two patches to fix bug in request injection mechanism and some random cleancode patches. Thanks! --- V3: -Thanks Jan for review. Remove unnecessary brace in patch "block, bfq: remove unnecessary goto tag in bfq_dispatch_rq_from_bfqq" according to recommend from Jan and collect Reviewed-by tag from Jan for rest patches. -Drop patch "block, bfq: remove redundant bfqd->rq_in_driver > 0 check in bfq_add_request" and "block, bfq: remove check of bfq_wr_max_softrt_rate which is always greater than 0". --- v2: -improve git log. --- Kemeng Shi (8): block, bfq: correctly raise inject limit in bfq_choose_bfqq_for_injection block, bfq: remove unsed parameter reason in bfq_bfqq_is_slow block, bfq: initialize bfqq->decrease_time_jif correctly block, bfq: use helper macro RQ_BFQQ to get bfqq of request block, bfq: remove unnecessary dereference to get async_bfqq block, bfq: remove redundant check in bfq_put_cooperator block, bfq: remove unnecessary goto tag in bfq_dispatch_rq_from_bfqq block, bfq: remove unused bfq_wr_max_time in struct bfq_data block/bfq-iosched.c | 40 +++++++++++++++------------------------- block/bfq-iosched.h | 2 -- 2 files changed, 15 insertions(+), 27 deletions(-)