Re: [Qemu-block] [PATCH v5 01/21] blockjobs: fix set-speed kick

2018-03-12 Thread Jeff Cody
On Sat, Mar 10, 2018 at 03:27:26AM -0500, John Snow wrote: > If speed is '0' it's not actually "less than" the previous speed. > Kick the job in this case too. > > Signed-off-by: John Snow > Reviewed-by: Eric Blake > Reviewed-by: Kevin Wolf > --- > blockjob.c | 2 +- > 1 file changed, 1 insert

[Qemu-block] [PATCH v5 01/21] blockjobs: fix set-speed kick

2018-03-10 Thread John Snow
If speed is '0' it's not actually "less than" the previous speed. Kick the job in this case too. Signed-off-by: John Snow Reviewed-by: Eric Blake Reviewed-by: Kevin Wolf --- blockjob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blockjob.c b/blockjob.c index 801d29d849.