Federico Simoncelli has uploaded a new change for review.

Change subject: Asynchronous LVM bootstrap on vdsm start
......................................................................

Asynchronous LVM bootstrap on vdsm start

The lvm bootstrap might take a long time if one or more block device is
unreachable. Moving the bootstrap in the storageRefresh thread speeds up
the vdsm initialization and its responsiveness.

Bug-Id: https://bugzilla.redhat.com/show_bug.cgi?id=752470
Signed-off-by: Federico Simoncelli <[email protected]>
Change-Id: I9cbf1b8880cf2fb38f9de008f884fc0a2b92e004
---
M vdsm/storage/hsm.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/66/7566/1

diff --git a/vdsm/storage/hsm.py b/vdsm/storage/hsm.py
index 331a563..d708a24 100644
--- a/vdsm/storage/hsm.py
+++ b/vdsm/storage/hsm.py
@@ -290,9 +290,9 @@
             multipath.setupMultipath()
 
         self.__validateLvmLockingType()
-        lvm._lvminfo.bootstrap()
 
         def storageRefresh():
+            lvm._lvminfo.bootstrap()
             sdCache.refreshStorage()
 
             self.tasksDir = config.get('irs', 'hsm_tasks')


--
To view, visit http://gerrit.ovirt.org/7566
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I9cbf1b8880cf2fb38f9de008f884fc0a2b92e004
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to