Change in vdsm[master]: network: wait for udev after configuring SRIOV

nsoffer at redhat.com nsoffer at redhat.com
Mon May 4 07:40:04 UTC 2015


Nir Soffer has posted comments on this change.

Change subject: network: wait for udev after configuring SRIOV
......................................................................


Patch Set 6:

(1 comment)

https://gerrit.ovirt.org/#/c/40400/6/vdsm/network/api.py
File vdsm/network/api.py:

Line 537:     # call that should wait for all udev events to be handled. a proper fix
Line 538:     # should be registering and listening to the proper netlink and udev
Line 539:     # events
Line 540:     time.sleep(0.5)
Line 541:     udevadm.settle(timeout=10)
Can you show the stream of events seen in "udevadm monitor" when modifying sriov number of vfs, and explain why you chose these values?
Line 542: 
Line 543: 
Line 544: def _update_numvfs(device_name, numvfs):
Line 545:     with open(_SYSFS_SRIOV_NUMVFS.format(device_name), 'w', 0) as f:


-- 
To view, visit https://gerrit.ovirt.org/40400
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: comment
Gerrit-Change-Id: I04d63ca35aab585051c3d0a5f2652dbf2f91b080
Gerrit-PatchSet: 6
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken at redhat.com>
Gerrit-Reviewer: Ido Barkan <ibarkan at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Martin Polednik <mpolednik at redhat.com>
Gerrit-Reviewer: Nir Soffer <nsoffer at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-HasComments: Yes


More information about the vdsm-patches mailing list