aboutsummaryrefslogtreecommitdiff
path: root/block/sheepdog.c
diff options
context:
space:
mode:
authorJohn Snow <jsnow@redhat.com>2017-12-13 15:46:11 -0500
committerJeff Cody <jcody@redhat.com>2017-12-18 10:54:13 -0500
commitaa9ef2e65bed6a8f1709e0523fc856ec08beb657 (patch)
tree75b414607f974f1c2cf46fb66a45a4d3c07e1cc2 /block/sheepdog.c
parent53f1c8794f2c1aea4d2888a3ac4e1b3b8b8b9777 (diff)
blockjob: kick jobs on set-speed
If users set an unreasonably low speed (like one byte per second), the calculated delay may exceed many hours. While we like to punish users for asking for stupid things, we do also like to allow users to correct their wicked ways. When a user provides a new speed, kick the job to allow it to recalculate its delay. Signed-off-by: John Snow <jsnow@redhat.com> Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com> Message-id: 20171213204611.26276-1-jsnow@redhat.com Signed-off-by: Jeff Cody <jcody@redhat.com>
Diffstat (limited to 'block/sheepdog.c')
0 files changed, 0 insertions, 0 deletions