Change in vdsm[master]: itmap starts threads for each argument causes too many oop o...
shaohef at linux.vnet.ibm.com
shaohef at linux.vnet.ibm.com
Tue Oct 23 16:29:15 UTC 2012
ShaoHe Feng has posted comments on this change.
Change subject: itmap starts threads for each argument causes too many oop operations
......................................................................
Patch Set 1: (1 inline comment)
....................................................
File vdsm/storage/misc.py
Line 1279: if not maxthreads:
Line 1280: if n:
Line 1281: yield respQueue.get()
Line 1282: # if yield returns one thread stopped, so we can run another
Line 1283: # simultaneosly thread
simultaneously?
Line 1284: maxthreads += 1
Line 1285: n -= 1
Line 1286:
Line 1287: t = threading.Thread(target=wrapper, args=(arg,))
--
To view, visit http://gerrit.ovirt.org/8745
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: If2877c28b916475aead16d47d37522c2bf44cc16
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Yaniv Bronhaim <ybronhei at redhat.com>
Gerrit-Reviewer: Saggi Mizrahi <smizrahi at redhat.com>
Gerrit-Reviewer: ShaoHe Feng <shaohef at linux.vnet.ibm.com>
More information about the vdsm-patches
mailing list