New patch submitted by Eduardo Warszawski (ewarszaw(a)redhat.com)
You can review this change at:
http://gerrit.usersys.redhat.com/880
commit 85e6275274ee0c21658dee0a88ad7b7984c14668
Author: Eduardo Warszawski <ewarszaw(a)redhat.com>
Date: Mon Aug 29 19:34:42 2011 +0300
Related to BZ#732416 - Remove Irs throttling during copy.
Change-Id: Ic0a6f200cd9e4917933bc1375b1ae2b09701e021
diff --git a/vdsm/config.py b/vdsm/config.py
index b76f7af..921db2f 100644
--- a/vdsm/config.py
+++ b/vdsm/config.py
@@ -107,9 +107,6 @@ config.add_section('irs')
#####################################################################
config.set('irs', 'irs_enable', 'true')
-#Irs throttling during copy. Set the active time vs idle time
-config.set('irs', 'active', '1.0')
-config.set('irs', 'idle', '1.0')
#Image repository
config.set('irs', 'repository', '/rhev/data-center')
diff --git a/vdsm/storage/image.py b/vdsm/storage/image.py
index 5c6b114..b97c69f 100644
--- a/vdsm/storage/image.py
+++ b/vdsm/storage/image.py
@@ -82,8 +82,6 @@ class Image:
def __init__(self, repoPath):
self.repoPath = repoPath
self.storage_repository = config.get('irs', 'repository')
- self.active = config.getfloat('irs', 'active')
- self.idle = config.getfloat('irs', 'idle')
def create(self, sdUUID, imgUUID):
"""Create placeholder for image's volumes