[libvirt] [PATCH v2 4/4] conf: Optimize the iothreadid initialization

2015-10-15 Thread John Ferlan
https://bugzilla.redhat.com/show_bug.cgi?id=1264008 The existing algorithm assumed that someone was making small, incremental changes; however, it is possible to change iothreads from 0 (or relatively small number) to some really large number and the algorithm would possibly spin its wheels doing

Re: [libvirt] [PATCH v2 4/4] conf: Optimize the iothreadid initialization

2015-10-15 Thread Peter Krempa
On Thu, Oct 15, 2015 at 16:43:55 -0400, John Ferlan wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1264008 [...] > --- > src/conf/domain_conf.c | 39 +++ > 1 file changed, 31 insertions(+), 8 deletions(-) > > diff --git a/src/conf/domain_conf.c