Re: [Qemu-devel] [V6] fsdev: add IO throttle support to fsdev devices

2016-10-23 Thread Pradeep Jagadeesh
On Fri 21 Oct 2016 06:21:59 PM CEST, Pradeep Jagadeesh wrote: +static bool fsdev_throttle_check_for_wait(FsThrottle *fst, bool is_write) +{ + return throttle_schedule_timer(&fst->ts, &fst->tt, is_write); ^ There's an extra whitespace there. Removed +static void fsdev_thr

Re: [Qemu-devel] [V6] fsdev: add IO throttle support to fsdev devices

2016-10-21 Thread Alberto Garcia
On Fri 21 Oct 2016 06:21:59 PM CEST, Pradeep Jagadeesh wrote: > +static bool fsdev_throttle_check_for_wait(FsThrottle *fst, bool is_write) > +{ > + return throttle_schedule_timer(&fst->ts, &fst->tt, is_write); ^ There's an extra whitespace there. > +static void fsdev_throttle_sc

[Qemu-devel] [V6] fsdev: add IO throttle support to fsdev devices

2016-10-21 Thread Pradeep Jagadeesh
Signed-off-by: Pradeep Jagadeesh --- fsdev/Makefile.objs | 1 + fsdev/file-op-9p.h | 3 + fsdev/qemu-fsdev-opts.c | 76 +++ fsdev/qemu-fsdev-throttle.c | 147 fsdev/qemu-fsdev-throttle.h | 37 +++