[PATCH -next 0/6] blk-wbt: minor fix and cleanup

From: Yu Kuai
Date: Wed May 10 2023 - 21:47:53 EST


From: Yu Kuai <yukuai3@xxxxxxxxxx>

Yu Kuai (6):
blk-wbt: fix that wbt can't be disabled by default
blk-wbt: don't create wbt sysfs entry if CONFIG_BLK_WBT is disabled
blk-wbt: don't enable wbt for bio based device
blk-wbt: remove deadcode 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

block/blk-iocost.c | 7 ++-
block/blk-sysfs.c | 147 ++++++++++++++++++++++++---------------------
block/blk-wbt.c | 26 ++------
block/blk-wbt.h | 19 ------
4 files changed, 88 insertions(+), 111 deletions(-)

--
2.39.2