[libvirt] [PATCH] fixed bug:if expand thread pool, will lose some one

diwei dwlinuxkernel at 163.com
Fri Jan 12 15:47:35 UTC 2018


Sorry for that the information is not obvious.
I hope that the information below is sufficient.If need more information,let me know.


Bug’s consequence:
Assume that there is a threadpool like 

[ thread 1 | thread 2 | thread 3 ]

After expanding this threadpool with virThreadPoolExpand(ptr,1,priority), it should be

[ thread 1 | thread 2 | thread 3 | thread 4 ]

but the result will be

[ thread 4 | thread 2 | thread 3 | NULL ] 

the first one thread 1 is lost.





> 在 2018年1月12日,下午5:19,Peter Krempa <pkrempa at redhat.com> 写道:
> 
> On Thu, Jan 11, 2018 at 23:30:41 +0800, Di Wei wrote:
>> ---
> 
> Could you please provide more information on when this is happening and
> what the consequences are? It's really not obvious from the summary and
> it's required to be part of the commit message.






More information about the libvir-list mailing list