Re: [Qemu-devel] [RFC PATCH 02/33] blockjob: Move RateLimit to BlockJob

2018-04-24 Thread Eric Blake
On 04/24/2018 10:24 AM, Kevin Wolf wrote: > Every block job has a RateLimit, and they all do the exact same thing > with it, so it should be common infrastructure. Move the struct field > for a start. > > Signed-off-by: Kevin Wolf > --- Reviewed-by: Eric Blake -- Eric Blake, Principal Softwar

[Qemu-devel] [RFC PATCH 02/33] blockjob: Move RateLimit to BlockJob

2018-04-24 Thread Kevin Wolf
Every block job has a RateLimit, and they all do the exact same thing with it, so it should be common infrastructure. Move the struct field for a start. Signed-off-by: Kevin Wolf --- include/block/blockjob.h | 4 block/backup.c | 5 ++--- block/commit.c | 5 ++--- block/