On 03/23/2017 09:46 AM, Eric Blake wrote: > On 03/23/2017 07:20 AM, Pradeep Jagadeesh wrote: >> This patchset removes the throttle redundant code that was present >> in block and fsdev files. >> >> Signed-off-by: Pradeep Jagadeesh <pradeep.jagade...@huawei.com> >> --- > > I think you want portions of this patch to come first; you want to > refactor out the IOThrottle portion of existing types, and then extend > IOThrottle to be used in more places.
For the record, here's a nice example of how to factor out common fields into a new base class: https://lists.gnu.org/archive/html/qemu-devel/2017-03/msg04649.html -- Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org
signature.asc
Description: OpenPGP digital signature