Skip to content

block/blk-throttle: Fix throttle slice time for SSDs

Khazhismel Kumykov cgroups linux-block lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest3 patches 4 repliesApplied

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/3block/blk-throttle: Fix throttle slice time for SSDsblock/blk-throttle.c+2 -71 reply
2/3block/blk-throttle: drop unneeded blk_stat_enable_accountingblock/blk-throttle.c+0 -61 reply
3/3block/blk-throttle: Remove throtl_slice from struct throtl_datablock/blk-throttle.c+13 -191 reply

Reviews trailers per patch

All 3 patches have a Reviewed-by or Acked-by.

PatchYu Kuai
1/3R-b
2/3R-b
3/3R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

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

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(-)
Signature · 3 lines
v2: block accounting fix into separate patch

2.52.0.rc1.455.g30608eb744-goog