mbox series

[v2,0/3] blk-wbt: simple improvment to enable wbt correctly

Message ID 20220919070916.2738443-1-yukuai1@huaweicloud.com (mailing list archive)
Headers show
Series blk-wbt: simple improvment to enable wbt correctly | expand

Message

Yu Kuai Sept. 19, 2022, 7:09 a.m. UTC
From: Yu Kuai <yukuai3@huawei.com>

changes in v2:
 - define new api if wbt config is not enabled in patch 1.

Yu Kuai (3):
  wbt: don't show valid wbt_lat_usec in sysfs while wbt is disabled
  block: add a helper to check elevator name
  blk-wbt: don't enable throttling if default elevator is bfq

 block/bfq-iosched.c |  2 +-
 block/blk-sysfs.c   | 11 +++++++++--
 block/blk-wbt.c     | 13 ++++++++++++-
 block/blk-wbt.h     | 10 ++++++++--
 block/elevator.h    |  5 +++++
 5 files changed, 35 insertions(+), 6 deletions(-)