[PATCH 1/2] file reproducer

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux