Message ID | 20230527010644.647900-1-yukuai1@huaweicloud.com |
---|---|
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp59099vqr; Fri, 26 May 2023 18:12:09 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6fSPVbDWxSUPiJT1DU315beg6J/BcBHjnFGJOsZNvRBMCqnET7nMV3SzFNugS8gzGf82Nc X-Received: by 2002:aa7:8885:0:b0:643:857d:87a3 with SMTP id z5-20020aa78885000000b00643857d87a3mr6840976pfe.11.1685149929547; Fri, 26 May 2023 18:12:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685149929; cv=none; d=google.com; s=arc-20160816; b=U/WHh1OgOlIT5qDazrBgDotminkrwWoXuWqoOtjWxb5ti2otROWBboshvgpBwV5HIf neu6Mb4g7AG41reNtMjR1aHv+SmuOwqq0rUP8P6TA8QYd+jjztgvLtxCNLtSTio+LPwf XhWQ6uiakQ3errs7MF1lp/vIYbNN7LegS8wWPBBEYYvArn+h9Aw9pCwIoJ3tBQB4rHQD hhjus3KNGEQ5LueIbqnEJgKjM3MqMUBc2AibLk91YtjePpBjCD2KL07qWik9o+XmDRrW igloMemAHpJQMflPWATu5nfgVRLPnAa3zdzYICvUJj1Y7mlKUsCnp56g5Z50VO7hhb0B XNsQ== 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=Qfbh5zCT6E4yy1TE3m1bC812iY5180kiPCaIj55Df3w=; b=vIR23hPpnBEYWjyoOrf5z91m+xA/eU7xjo66aikCb41acG4HfFaeAaD49uusR0995s A8PSUb/0brlmckFgGqkmfccI7LIcr0awSGWbDlFXI8EARueBimIq7nx6pTu3D9aT68KX OWTHxMT4XCOkC66hxNuzcBNjw7HGSCeOvi7Hx2hG749f10ADhI+jgoCbmUTtu74BeelI ZXaop5eHYZBhi1JOpu5WawD6xp9VYxbYQekdv/OVXC+/e9GGncKPNDZKHxxRllvgjG+i FiWitCEOAPLgPBgtsP2BRr8frMicsAmhv4z9RJxiEEs5/6nvfFo+WpAHfW/SWkZABduY me7A== 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 s188-20020a625ec5000000b0064ca7ac8938si5373371pfb.166.2023.05.26.18.11.58; Fri, 26 May 2023 18:12:09 -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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230403AbjE0BKU (ORCPT <rfc822;zhanglyra.2023@gmail.com> + 99 others); Fri, 26 May 2023 21:10:20 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230001AbjE0BKT (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 26 May 2023 21:10:19 -0400 Received: from dggsgout11.his.huawei.com (unknown [45.249.212.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 08A0119A; Fri, 26 May 2023 18:10:17 -0700 (PDT) Received: from mail02.huawei.com (unknown [172.30.67.153]) by dggsgout11.his.huawei.com (SkyGuard) with ESMTP id 4QSkH86Rlhz4f4qLH; Sat, 27 May 2023 09:10:12 +0800 (CST) Received: from huaweicloud.com (unknown [10.175.104.67]) by APP4 (Coremail) with SMTP id gCh0CgCH77J0WHFkNZwtKQ--.29147S4; Sat, 27 May 2023 09:10:13 +0800 (CST) From: Yu Kuai <yukuai1@huaweicloud.com> To: hch@lst.de, axboe@kernel.dk Cc: cgroups@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, yukuai3@huawei.com, yukuai1@huaweicloud.com, yi.zhang@huawei.com, yangerkun@huawei.com Subject: [PATCH -next v3 0/5] blk-wbt: minor fix and cleanup Date: Sat, 27 May 2023 09:06:39 +0800 Message-Id: <20230527010644.647900-1-yukuai1@huaweicloud.com> X-Mailer: git-send-email 2.39.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-CM-TRANSID: gCh0CgCH77J0WHFkNZwtKQ--.29147S4 X-Coremail-Antispam: 1UD129KBjvdXoWruF18KF4rCrWktF1xZFW5KFg_yoWfWrX_WF 97JaykG3Z8WFn3CFW2kFn5XFWUKr4Fvr4jvFZ5X3ySyr1fJr1DKws7GrsxZrW3ZF40kF9Y vw1DXF4xJw1SyjkaLaAFLSUrUUUUUb8apTn2vfkv8UJUUUU8Yxn0WfASr-VFAUDa7-sFnT 9fnUUIcSsGvfJTRUUUbz8FF20E14v26r4j6ryUM7CY07I20VC2zVCF04k26cxKx2IYs7xG 6rWj6s0DM7CIcVAFz4kK6r1j6r18M28lY4IEw2IIxxk0rwA2F7IY1VAKz4vEj48ve4kI8w A2z4x0Y4vE2Ix0cI8IcVAFwI0_Xr0_Ar1l84ACjcxK6xIIjxv20xvEc7CjxVAFwI0_Gr1j 6F4UJwA2z4x0Y4vEx4A2jsIE14v26rxl6s0DM28EF7xvwVC2z280aVCY1x0267AKxVW0oV Cq3wAS0I0E0xvYzxvE52x082IY62kv0487Mc02F40EFcxC0VAKzVAqx4xG6I80ewAv7VC0 I7IYx2IY67AKxVWUJVWUGwAv7VC2z280aVAFwI0_Jr0_Gr1lOx8S6xCaFVCjc4AY6r1j6r 4UM4x0Y48IcxkI7VAKI48JM4x0x7Aq67IIx4CEVc8vx2IErcIFxwCF04k20xvY0x0EwIxG rwCFx2IqxVCFs4IE7xkEbVWUJVW8JwC20s026c02F40E14v26r1j6r18MI8I3I0E7480Y4 vE14v26r106r1rMI8E67AF67kF1VAFwI0_Jw0_GFylIxkGc2Ij64vIr41lIxAIcVC0I7IY x2IY67AKxVWUJVWUCwCI42IY6xIIjxv20xvEc7CjxVAFwI0_Jr0_Gr1lIxAIcVCF04k26c xKx2IYs7xG6rW3Jr0E3s1lIxAIcVC2z280aVAFwI0_Jr0_Gr1lIxAIcVC2z280aVCY1x02 67AKxVWUJVW8JbIYCTnIWIevJa73UjIFyTuYvjfUoOJ5UUUUU X-CM-SenderInfo: 51xn3trlr6x35dzhxuhorxvhhfrp/ X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,KHOP_HELO_FCRDNS, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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?1767007772816204795?= X-GMAIL-MSGID: =?utf-8?q?1767007772816204795?= |
Series |
blk-wbt: minor fix and cleanup
|
|
Message
Yu Kuai
May 27, 2023, 1:06 a.m. UTC
From: Yu Kuai <yukuai3@huawei.com>
Changes in v3:
- patch 1 from v2 is sent separately, and it's removd from this series.
- add review tag for all the patches.
Changes in v2:
- make the code more readable for patch 1
- add a new attr_group that is only visible for rq based device
- explain in detail for patch 4
- add review tag for patch 2,3,5
Yu Kuai (5):
blk-wbt: don't create wbt sysfs entry if CONFIG_BLK_WBT is disabled
blk-wbt: remove dead code to handle wbt enable/disable with io
inflight
blk-wbt: cleanup rwb_enabled() and wbt_disabled()
blk-iocost: move wbt_enable/disable_default() out of spinlock
blk-sysfs: add a new attr_group for blk_mq
block/blk-iocost.c | 7 +-
block/blk-sysfs.c | 181 ++++++++++++++++++++++++++-------------------
block/blk-wbt.c | 21 +-----
block/blk-wbt.h | 19 -----
4 files changed, 110 insertions(+), 118 deletions(-)
Comments
Hi, Jens Can you apply this patchset? Thanks, Kuai 在 2023/05/27 9:06, Yu Kuai 写道: > From: Yu Kuai <yukuai3@huawei.com> > > Changes in v3: > - patch 1 from v2 is sent separately, and it's removd from this series. > - add review tag for all the patches. > > Changes in v2: > - make the code more readable for patch 1 > - add a new attr_group that is only visible for rq based device > - explain in detail for patch 4 > - add review tag for patch 2,3,5 > > Yu Kuai (5): > blk-wbt: don't create wbt sysfs entry if CONFIG_BLK_WBT is disabled > blk-wbt: remove dead code to handle wbt enable/disable with io > inflight > blk-wbt: cleanup rwb_enabled() and wbt_disabled() > blk-iocost: move wbt_enable/disable_default() out of spinlock > blk-sysfs: add a new attr_group for blk_mq > > block/blk-iocost.c | 7 +- > block/blk-sysfs.c | 181 ++++++++++++++++++++++++++------------------- > block/blk-wbt.c | 21 +----- > block/blk-wbt.h | 19 ----- > 4 files changed, 110 insertions(+), 118 deletions(-) >
Hi, Jens 在 2023/06/08 10:36, Yu Kuai 写道: > Hi, Jens > > Can you apply this patchset? The only fix from this patchset is applied separately, so this patchset is just simple cleanups now, can you please consider this for the next merge window? Thanks, Kuai > > Thanks, > Kuai > > 在 2023/05/27 9:06, Yu Kuai 写道: >> From: Yu Kuai <yukuai3@huawei.com> >> >> Changes in v3: >> - patch 1 from v2 is sent separately, and it's removd from this series. >> - add review tag for all the patches. >> >> Changes in v2: >> - make the code more readable for patch 1 >> - add a new attr_group that is only visible for rq based device >> - explain in detail for patch 4 >> - add review tag for patch 2,3,5 >> >> Yu Kuai (5): >> blk-wbt: don't create wbt sysfs entry if CONFIG_BLK_WBT is disabled >> blk-wbt: remove dead code to handle wbt enable/disable with io >> inflight >> blk-wbt: cleanup rwb_enabled() and wbt_disabled() >> blk-iocost: move wbt_enable/disable_default() out of spinlock >> blk-sysfs: add a new attr_group for blk_mq >> >> block/blk-iocost.c | 7 +- >> block/blk-sysfs.c | 181 ++++++++++++++++++++++++++------------------- >> block/blk-wbt.c | 21 +----- >> block/blk-wbt.h | 19 ----- >> 4 files changed, 110 insertions(+), 118 deletions(-) >> > > . >
On Sat, 27 May 2023 09:06:39 +0800, Yu Kuai wrote: > Changes in v3: > - patch 1 from v2 is sent separately, and it's removd from this series. > - add review tag for all the patches. > > Changes in v2: > - make the code more readable for patch 1 > - add a new attr_group that is only visible for rq based device > - explain in detail for patch 4 > - add review tag for patch 2,3,5 > > [...] Applied, thanks! [1/5] blk-wbt: don't create wbt sysfs entry if CONFIG_BLK_WBT is disabled commit: 645a829e03384a235b3760959d4ebe420a0f2027 [2/5] blk-wbt: remove dead code to handle wbt enable/disable with io inflight commit: 71b8642e79f277459555629f2bea1a8d1fed307e [3/5] blk-wbt: cleanup rwb_enabled() and wbt_disabled() commit: 06257fda83ebfd1c33fb992e41dba7be4e1184d4 [4/5] blk-iocost: move wbt_enable/disable_default() out of spinlock commit: eebc21d12f56c1e09a163abf91e351fa2a55a938 [5/5] blk-sysfs: add a new attr_group for blk_mq commit: 6d85ebf95c44e52337ca1d07f0db4b435d1e6762 Best regards,