[Libvirt-cim] [PATCH V3 04/11] CSI, add lock to protect shared data

John Ferlan jferlan at redhat.com
Mon Mar 11 14:41:27 UTC 2013


Since I don't have the email to reply-to, here is a link:

https://www.redhat.com/archives/libvirt-cim/2012-December/msg00026.html


Why was the decision to reuse the lifecycle_mutex rather than generating
a data specific mutex?  Seems like that mutex is used for other
operations to protect filters and indications.  Thus unless the two are
somehow tied, I really think it'd be better to create/use a data
specific mutex.

Furthermore, there's a few mutex adds around thread mgmt that probably
should be a separate patch. That is - the non "dom_list" protection
additions appear to be different.

John




More information about the Libvirt-cim mailing list