mbox series

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

Message ID 20230511014509.679482-1-yukuai1@huaweicloud.com (mailing list archive)
Headers show
Series blk-wbt: minor fix and cleanup | expand

Message

Yu Kuai May 11, 2023, 1:45 a.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

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