[PATCH v2 0/3] blk-wbt: simple improvment to enable wbt correctly
From: Yu Kuai
Date: Mon Sep 19 2022 - 02:58:46 EST
From: Yu Kuai <yukuai3@xxxxxxxxxx>
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(-)
--
2.31.1