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, e.g. if there's
another thread that is listing all the pools.
Signed-off-by: Michal Privoznik <mprivozn(a)redhat.com>
---
src/storage/storage_backend_disk.c | 11 ++++++++++-
src/storage/storage_backend_fs.c | 13 +++++++++++--
src/storage/storage_backend_logical.c | 15 ++++++++++-----
src/storage/storage_backend_vstorage.c | 9 ++++++++-
src/storage/storage_backend_zfs.c | 7 ++++++-
5 files changed, 45 insertions(+), 10 deletions(-)
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano