Re: [PATCH -next v3 0/5] blk-wbt: minor fix and cleanup

From: Yu Kuai
Date: Wed Jun 07 2023 - 22:37:01 EST


Hi, Jens

Can you apply this patchset?

Thanks,
Kuai

在 2023/05/27 9:06, Yu Kuai 写道:
From: Yu Kuai <yukuai3@xxxxxxxxxx>

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(-)