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-04-10 16:33:47 +02:00
2018-03-09 15:17:47 +01:00
2018-03-13 17:05:00 -04:00
2018-03-19 12:01:39 +01: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-09 15:17:48 +01:00
2018-04-10 16:33:47 +02:00
2018-03-19 12:01:24 +01:00
2018-03-26 12:16:12 +02:00
2018-03-19 12:01:39 +01:00