[PATCH v2 0/3] block/blk-throttle: Fix throttle slice time for SSDs

Khazhismel Kumykov posted 3 patches 2 months, 3 weeks ago
block/blk-throttle.c | 45 ++++++++++++++------------------------------
1 file changed, 14 insertions(+), 31 deletions(-)
[PATCH v2 0/3] block/blk-throttle: Fix throttle slice time for SSDs
Posted by Khazhismel Kumykov 2 months, 3 weeks ago
Since commit bf20ab538c81 ("blk-throttle: remove CONFIG_BLK_DEV_THROTTLING_LOW"),
the throttle slice time differs between SSD and non-SSD devices. This
causes test failures with slow throttle speeds on SSD devices.

The first patch in the series fixes the problem by restoring the throttle
slice time to a fixed value, matching behavior seen prior to above
mentioned revert. The remaining patches clean up unneeeded code after removing
CONFIG_BLK_DEV_THROTTLING_LOW.

Guenter Roeck (3):
  block/blk-throttle: Fix throttle slice time for SSDs
  block/blk-throttle: drop unneeded blk_stat_enable_accounting
  block/blk-throttle: Remove throtl_slice from struct throtl_data

 block/blk-throttle.c | 45 ++++++++++++++------------------------------
 1 file changed, 14 insertions(+), 31 deletions(-)

-- 

v2: block accounting fix into separate patch

2.52.0.rc1.455.g30608eb744-goog
Re: [PATCH v2 0/3] block/blk-throttle: Fix throttle slice time for SSDs
Posted by Jens Axboe 2 months, 3 weeks ago
On Fri, 14 Nov 2025 15:54:31 -0800, Khazhismel Kumykov wrote:
> Since commit bf20ab538c81 ("blk-throttle: remove CONFIG_BLK_DEV_THROTTLING_LOW"),
> the throttle slice time differs between SSD and non-SSD devices. This
> causes test failures with slow throttle speeds on SSD devices.
> 
> The first patch in the series fixes the problem by restoring the throttle
> slice time to a fixed value, matching behavior seen prior to above
> mentioned revert. The remaining patches clean up unneeeded code after removing
> CONFIG_BLK_DEV_THROTTLING_LOW.
> 
> [...]

Applied, thanks!

[1/3] block/blk-throttle: Fix throttle slice time for SSDs
      commit: f76581f9f1d29e32e120b0242974ba266e79de58
[2/3] block/blk-throttle: drop unneeded blk_stat_enable_accounting
      commit: 20d0b359c73d15b25abea04066ef4cdbc6a8738d
[3/3] block/blk-throttle: Remove throtl_slice from struct throtl_data
      commit: 6483faa3938bfbd2c9f8ae090f647635f3bd2877

Best regards,
-- 
Jens Axboe