Yaniv Bronhaim has uploaded a new change for review.

Change subject: Using only globalPool allow only 10 processes
......................................................................

Using only globalPool allow only 10 processes

For each domain we want to have process pool with limit slots of
processes, this way we optimize glob over mounted links.
This fix uses different pool for each domain, instead of the global one.

Change-Id: I9a4024b8d8be8b9cbbb4836987dfb94e3a11d7d3
Signed-off-by: Yaniv Bronhaim <[email protected]>
Bug-Id: https://bugzilla.redhat.com/show_bug.cgi?id=853011
---
M vdsm/storage/fileSD.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/29/9029/1

diff --git a/vdsm/storage/fileSD.py b/vdsm/storage/fileSD.py
index a6a718f..f221eb0 100644
--- a/vdsm/storage/fileSD.py
+++ b/vdsm/storage/fileSD.py
@@ -479,7 +479,7 @@
 
     def collectMetaFiles(possibleDomain):
         try:
-            metaFiles = oop.getGlobalProcPool().glob.glob(
+            metaFiles = oop.getProcessPool(possibleDomain).glob.glob(
                 os.path.join(possibleDomain,
                              constants.UUID_GLOB_PATTERN,
                              sd.DOMAIN_META_DATA))


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

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

Reply via email to