diff options
author | Pavel Begunkov <[email protected]> | 2020-11-04 09:45:54 +0000 |
---|---|---|
committer | David Sterba <[email protected]> | 2020-12-08 15:54:05 +0100 |
commit | 3e48d8d2540d4c63461ec4cafb8f65355b6f7b57 (patch) | |
tree | 0a138bd65c1d6a4395d2b5747f63109d567d1fc6 /lib/test-string_helpers.c | |
parent | df903e5d294f62e07280566e0afe9403a92879f0 (diff) |
btrfs: discard: reschedule work after sysfs param update
After sysfs updates discard's iops_limit or kbps_limit it also needs to
adjust current timer through rescheduling, otherwise the discard work
may wait for a long time for the previous timer to expire or bumped by
someone else.
Reviewed-by: Josef Bacik <[email protected]>
Signed-off-by: Pavel Begunkov <[email protected]>
Reviewed-by: David Sterba <[email protected]>
Signed-off-by: David Sterba <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions