Dan Kenigsberg has submitted this change and it was merged.
Change subject: misc: handle properly timeout=-1 in NoIntrPoll ......................................................................
misc: handle properly timeout=-1 in NoIntrPoll
The parameter timeout=-1 (no timeout) of NoIntrPoll wasn't properly handled by the previous implementation; it was in fact returning an empty set of file descriptors if the process was interrupted by a signal. This patch ensures that the parameter is taken in account (do not return until there is an event) even when the process is interrupted.
Change-Id: Iefc4d17559d3335ef6699cb83923c3bd255c916b Signed-off-by: Federico Simoncelli fsimonce@redhat.com --- M tests/miscTests.py M vdsm/storage/misc.py 2 files changed, 36 insertions(+), 9 deletions(-)
Approvals: Federico Simoncelli: Verified Dan Kenigsberg: Looks good to me, approved
-- To view, visit http://gerrit.ovirt.org/11394 To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: merged Gerrit-Change-Id: Iefc4d17559d3335ef6699cb83923c3bd255c916b Gerrit-PatchSet: 3 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Federico Simoncelli fsimonce@redhat.com Gerrit-Reviewer: Dan Kenigsberg danken@redhat.com Gerrit-Reviewer: Federico Simoncelli fsimonce@redhat.com Gerrit-Reviewer: Royce Lv lvroyce@linux.vnet.ibm.com Gerrit-Reviewer: oVirt Jenkins CI Server