mbox series

[v4,0/6] blk-wbt: simple improvment to enable wbt correctly

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

Message

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

changes in v4:
 - remove patch 3 from v3
 - add patch 2,3 in v4

changes in v3:
 - instead of check elevator name, add a flag in elevator_queue, as
 suggested by Christoph.
 - add patch 3 and patch 5 to this patchset.

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

Yu Kuai (6):
  elevator: remove redundant code in elv_unregister_queue()
  blk-wbt: remove unnecessary check in wbt_enable_default()
  blk-wbt: make enable_state more accurate
  blk-wbt: don't show valid wbt_lat_usec in sysfs while wbt is disabled
  elevator: add new field flags in struct elevator_queue
  blk-wbt: don't enable throttling if default elevator is bfq

 block/bfq-iosched.c |  2 ++
 block/blk-sysfs.c   |  6 +++++-
 block/blk-wbt.c     | 26 ++++++++++++++++++++++----
 block/blk-wbt.h     | 17 ++++++++++++-----
 block/elevator.c    |  8 ++------
 block/elevator.h    |  5 ++++-
 6 files changed, 47 insertions(+), 17 deletions(-)

Comments

Yu Kuai Oct. 11, 2022, 8:06 a.m. UTC | #1
friendly ping ...

在 2022/09/30 11:19, Yu Kuai 写道:
> From: Yu Kuai <yukuai3@huawei.com>
> 
> changes in v4:
>   - remove patch 3 from v3
>   - add patch 2,3 in v4
> 
> changes in v3:
>   - instead of check elevator name, add a flag in elevator_queue, as
>   suggested by Christoph.
>   - add patch 3 and patch 5 to this patchset.
> 
> changes in v2:
>   - define new api if wbt config is not enabled in patch 1.
> 
> Yu Kuai (6):
>    elevator: remove redundant code in elv_unregister_queue()
>    blk-wbt: remove unnecessary check in wbt_enable_default()
>    blk-wbt: make enable_state more accurate
>    blk-wbt: don't show valid wbt_lat_usec in sysfs while wbt is disabled
>    elevator: add new field flags in struct elevator_queue
>    blk-wbt: don't enable throttling if default elevator is bfq
> 
>   block/bfq-iosched.c |  2 ++
>   block/blk-sysfs.c   |  6 +++++-
>   block/blk-wbt.c     | 26 ++++++++++++++++++++++----
>   block/blk-wbt.h     | 17 ++++++++++++-----
>   block/elevator.c    |  8 ++------
>   block/elevator.h    |  5 ++++-
>   6 files changed, 47 insertions(+), 17 deletions(-)
>
Yu Kuai Oct. 18, 2022, 2:28 a.m. UTC | #2
friendly ping ...

在 2022/10/11 16:06, Yu Kuai 写道:
> friendly ping ...
> 
> 在 2022/09/30 11:19, Yu Kuai 写道:
>> From: Yu Kuai <yukuai3@huawei.com>
>>
>> changes in v4:
>>   - remove patch 3 from v3
>>   - add patch 2,3 in v4
>>
>> changes in v3:
>>   - instead of check elevator name, add a flag in elevator_queue, as
>>   suggested by Christoph.
>>   - add patch 3 and patch 5 to this patchset.
>>
>> changes in v2:
>>   - define new api if wbt config is not enabled in patch 1.
>>
>> Yu Kuai (6):
>>    elevator: remove redundant code in elv_unregister_queue()
>>    blk-wbt: remove unnecessary check in wbt_enable_default()
>>    blk-wbt: make enable_state more accurate
>>    blk-wbt: don't show valid wbt_lat_usec in sysfs while wbt is disabled
>>    elevator: add new field flags in struct elevator_queue
>>    blk-wbt: don't enable throttling if default elevator is bfq
>>
>>   block/bfq-iosched.c |  2 ++
>>   block/blk-sysfs.c   |  6 +++++-
>>   block/blk-wbt.c     | 26 ++++++++++++++++++++++----
>>   block/blk-wbt.h     | 17 ++++++++++++-----
>>   block/elevator.c    |  8 ++------
>>   block/elevator.h    |  5 ++++-
>>   6 files changed, 47 insertions(+), 17 deletions(-)
>>
> 
> .
>