Change in vdsm[master]: sdcache: add refresh to connectStoragePool

fsimonce at redhat.com fsimonce at redhat.com
Thu Nov 22 16:37:51 UTC 2012


Federico Simoncelli has uploaded a new change for review.

Change subject: sdcache: add refresh to connectStoragePool
......................................................................

sdcache: add refresh to connectStoragePool

Change-Id: I2d3adcff7bb0e97be5c797cd720c6353920d9db0
Signed-off-by: Federico Simoncelli <fsimonce at redhat.com>
---
M vdsm/storage/sp.py
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/22/9422/1

diff --git a/vdsm/storage/sp.py b/vdsm/storage/sp.py
index ac5e1db..2577db7 100644
--- a/vdsm/storage/sp.py
+++ b/vdsm/storage/sp.py
@@ -640,6 +640,7 @@
         self.scsiKey = scsiKey
         # Make sure SDCache doesn't have stale data (it can be in case of FC)
         sdCache.invalidateStorage()
+        sdCache.refresh()
         # Rebuild whole Pool
         self.__rebuild(msdUUID=msdUUID, masterVersion=masterVersion)
         self.__createMailboxMonitor()


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I2d3adcff7bb0e97be5c797cd720c6353920d9db0
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Federico Simoncelli <fsimonce at redhat.com>


More information about the vdsm-patches mailing list