Re: [PATCH] Support for qemu aio drive option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 05/12/2010 11:26 PM, Eric Blake wrote:
> From: Matthias Dahl <mdvirt@xxxxxxxxxxxxxxxxx>
> 
> qemu allows the user to choose what io storage api should be used, either the
> default (threads) or native (linux aio) which in the latter case can result in
> better performance.
> 
> Thanks a lot to Eric Blake and Matthias Bolte for their comments.

(sorry, I reviewed the one big patch instead of the split up patches.  It seems
to be the same except for the addition of the symbols to libvirt_private.syms)

The implementation looks perfectly reasonable.  I'm just concerned that the
concept of what we are doing is too qemu specific, though.  Basically, I think
what we are trying to model here is the concept of an I/O backend implementation,
correct?  Should we maybe change this to be "<iobackend type='%s'/>", and then
have available enums like:

aiothreads
aionative
...

That way, for other hypervisors that do something different (like VirtualBox,
which just has AIO on/off), we can have additional enums to describe their
behavior.  Even further, if a given hypervisor wanted to do something like
"Direct I/O" for the I/O backend (as an example), we could also use this element
to specify that.  What do you think?

-- 
Chris Lalancette

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]