To reproduce the issue run many instances of 'virsh vol-info
/some/path/to/a/storage/pool'
---
 src/storage/storage_util.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/storage/storage_util.c b/src/storage/storage_util.c
index d39aa92eae..a478a85a05 100644
--- a/src/storage/storage_util.c
+++ b/src/storage/storage_util.c
@@ -2289,6 +2289,8 @@ virStorageBackendVolRefreshLocal(virStoragePoolObj *pool 
G_GNUC_UNUSED,
 {
     int ret;

+    usleep(5000);
+
     /* Refresh allocation / capacity / permissions info in case its changed */
     if ((ret = virStorageBackendUpdateVolInfo(vol, false,
                                               VIR_STORAGE_VOL_FS_OPEN_FLAGS,
-- 
2.41.0

Reply via email to