New patch submitted by Eduardo Warszawski (ewarszaw(a)redhat.com)
You can review this change at:
http://gerrit.usersys.redhat.com/638
commit 3862cfc24502f249e2d1a298cde2ab8a7ef6d581
Author: Eduardo Warszawski <ewarszaw(a)redhat.com>
Date: Thu Jun 30 06:06:00 2011 +0300
BZ#717658 - Remove SDF.invalidateStorage.
Change-Id: I13a6c7a91e372d6c53ffaddfbe527d6fe1a5c6d7
diff --git a/vdsm/storage/sdc.py b/vdsm/storage/sdc.py
index a3ea775..0ed34e5 100644
--- a/vdsm/storage/sdc.py
+++ b/vdsm/storage/sdc.py
@@ -37,7 +37,7 @@ class StorageDomainCache:
self.storageStale = True
- def invalidateStorage(self):
+ def _invalidateStorage(self):
self.storageStale = True
@misc.samplingmethod
@@ -117,7 +117,7 @@ class StorageDomainCache:
return uuids
def refresh(self):
- self.invalidateStorage()
+ self._invalidateStorage()
self.__cache.clear()
def manuallyAddDomain(self, dom):
diff --git a/vdsm/storage/sdf.py b/vdsm/storage/sdf.py
index b5ec3e3..da8335c 100644
--- a/vdsm/storage/sdf.py
+++ b/vdsm/storage/sdf.py
@@ -103,11 +103,6 @@ class StorageDomainFactory:
@classmethod
- def invalidateStorage(cls):
- cls.__sdc.invalidateStorage()
-
-
- @classmethod
def refreshStorage(cls):
cls.__sdc.refreshStorage()