Yaniv Bronhaim has posted comments on this change.

Change subject: Fix problems with current implementation of forceIscsiRescan
......................................................................


Patch Set 2: I would prefer that you didn't submit this

(2 inline comments)

....................................................
File vdsm/storage/iscsi.py
Line 364: 
Line 365:     # We have to put on a thread that waits for the processes,
Line 366:     # otherwise we will end up with zombie children
Line 367: 
Line 368:     def collectProcs(procs):
what about the timeout?
Line 369:         for p in procs.itervalues():
Line 370:             p.wait()
Line 371: 
Line 372:     t = threading.Thread(target=collectProcs, args=(procs,))


....................................................
File vdsm/storage/misc.py
Line 1033:     cmd = [constants.EXT_DD, 'of=' + path, "count=1",
Line 1034:            "ibs=%d" % (len(data)), 'iflag=fullblock']
Line 1035: 
Line 1036:     p = execCmd(cmd, sudo=False, sync=False)
Line 1037:     p.stdin.write("- - -")
use data
Line 1038:     p.stdin.flush()
Line 1039:     p.stdin.close()
Line 1040:     return p
Line 1041: 


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ic4e7173086ba15c7706206c5ee1473ed6d334f9e
Gerrit-PatchSet: 2
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Ayal Baron <[email protected]>
Gerrit-Reviewer: Barak Azulay <[email protected]>
Gerrit-Reviewer: Dan Kenigsberg <[email protected]>
Gerrit-Reviewer: Saggi Mizrahi <[email protected]>
Gerrit-Reviewer: Yaniv Bronhaim <[email protected]>
Gerrit-Reviewer: Yeela Kaplan <[email protected]>
_______________________________________________
vdsm-patches mailing list
[email protected]
https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches

Reply via email to