Kevin Wolf
2fe4bba19b
commit/stream: Reset delay_ns
...
Streaming and the commit block job only want to apply throttling when
they actually copied data instead of skipping it, so they made the
calculation of delay_ns conditional. However, delay_ns isn't reset when
skipping some sectors, so instead of not waiting, the old delay is
applied again.
Properly reset delay_ns where needed.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
2018-04-10 16:33:47 +02:00
..
2018-03-19 14:58:37 -05:00
2018-03-19 12:01:24 +01:00
2018-03-02 18:39:07 +01:00
2018-03-26 12:16:00 +02:00
2018-02-09 13:52:16 +01:00
2018-03-13 15:38:55 -05:00
2018-04-10 16:33:47 +02:00
2018-03-09 15:17:47 +01:00
2018-03-26 12:17:40 +02:00
2018-02-09 13:52:16 +01:00
2018-03-13 17:05:00 -04:00
2018-04-03 17:39:37 +02:00
2018-03-09 15:17:47 +01:00
2018-04-03 09:57:14 -04:00
2018-03-27 13:05:28 +01:00
2018-02-09 13:52:16 +01:00
2018-03-19 12:01:39 +01:00
2018-03-09 15:17:47 +01:00
2018-03-19 12:01:39 +01:00
2018-04-02 08:45:21 -05:00
2018-03-13 15:43:48 -05:00
2018-03-13 15:43:48 -05:00
2018-03-09 15:17:47 +01:00
2018-03-02 18:39:07 +01:00
2018-03-27 10:17:32 -05:00
2018-03-26 12:17:43 +02:00
2018-03-19 14:58:38 -05:00
2018-03-26 21:17:24 +02:00
2018-02-13 17:00:00 +01:00
2018-03-09 15:17:47 +01:00
2018-03-26 12:16:00 +02:00
2018-03-09 15:17:47 +01:00
2018-03-26 21:17:24 +02:00
2018-03-26 21:17:24 +02:00
2018-03-19 14:58:36 -05:00
2018-03-09 15:17:47 +01:00
2018-03-09 15:17:47 +01:00
2018-03-19 14:58:36 -05:00
2018-03-26 12:16:00 +02:00
2018-03-02 18:39:07 +01:00
2018-04-04 12:05:13 -04:00
2018-03-26 12:16:00 +02:00
2018-03-19 14:58:36 -05:00
2018-02-09 13:52:16 +01:00
2018-03-09 15:17:48 +01:00
2018-04-10 16:33:47 +02:00
2018-03-02 13:45:50 -06:00
2018-03-26 12:16:00 +02:00
2018-03-19 12:01:24 +01:00
2018-03-26 12:16:12 +02:00
2018-03-26 12:17:43 +02:00
2018-03-26 21:17:24 +02:00
2018-03-19 14:58:36 -05:00
2018-03-19 12:01:39 +01:00
2018-03-02 13:45:50 -06:00