[NEW PATCH] Related to BZ#732416 - Remove Irs throttling during copy. (via gerrit-bot)

Dan Kenigsberg danken at redhat.com
Sun Sep 11 09:43:55 UTC 2011


New patch submitted by Dan Kenigsberg (danken at redhat.com)

You can review this change at: http://gerrit.usersys.redhat.com/880

commit 0a27b41d86b698701323531093ecc845316b3d9c
Author: Eduardo Warszawski <ewarszaw at 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 12675f0..217b58c 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




More information about the vdsm-patches mailing list