Skip to content

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

Guenter Roeck cgroups linux-block lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 5 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2block/blk-throttle: Fix throttle slice time for SSDsblock/blk-throttle.c+2 -135 replies
2/2block/blk-throttle: Remove throtl_slice from struct throtl_datablock/blk-throttle.c+13 -190 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

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

Since 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 second patch is optional and replaces the throtl_slice variable with a constant.

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

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