On Thu, 03/24 09:02, Chris Friesen wrote:
> Hi,
> 
> Could someone point me at the code for creating threads to handle
> block IO?  I'm seeing up to 30 threads per virtual disk, which seems
> high.

It is thread-pool.c, assuming you are using "aio=threads" for drive, which is
the default. With the alternative, "aio=native", spawning worker threads will
be much more uncommon.

Fam

> 
> In case it's related, the block devices are iSCSI with the host
> acting as the initiator and exposing block devices to qemu.
> 
> I'm particularly interested in qemu 2.2, just in case things have
> changed significantly since then.
> 
> Thanks,
> Chris
> 

Reply via email to