[libvirt] [PATCH 4/5] Convert QEMU driver mutex into a rwlock
Matthias Bolte
matthias.bolte at googlemail.com
Thu Oct 15 23:15:54 UTC 2009
2009/10/14 Daniel P. Berrange <berrange at redhat.com>:
> A number of driver API methods which acquire the driver mutex
> only ever used the driver object in a read-only fashion. All
> these uses are converted to call qemuDriverLockRO() allowing
> for greater concurrency.
>
> * src/qemu/qemu_conf.h: s/Mutex/RWLock/
> * src/qemu/qemu_driver.c: Add a qemuDriverLockRO() method and use
> it anywhere that doesn't require a write lock on the driver
> ---
ACK.
Matthias
More information about the libvir-list
mailing list