Re: [libvirt] [PATCH v1 11/11] storage: Drop and reacquire pool obj lock in some backends

2019-08-21 Thread Ján Tomko
On Fri, May 24, 2019 at 04:35:47PM +0200, Michal Privoznik wrote: https://bugzilla.redhat.com/show_bug.cgi?id=1711789 Starting up or building some types of pools may take a very long time (e.g. a misconfigured NFS). Holding the pool object locked throughout the whole time hurts concurrency,

[libvirt] [PATCH v1 11/11] storage: Drop and reacquire pool obj lock in some backends

2019-05-24 Thread Michal Privoznik
https://bugzilla.redhat.com/show_bug.cgi?id=1711789 Starting up or building some types of pools may take a very long time (e.g. a misconfigured NFS). Holding the pool object locked throughout the whole time hurts concurrency, e.g. if there's another thread that is listing all the pools.