[ovs-git] Open vSwitch: INSTALL.RHEL: Fix a typo. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Jun 30 16:04:56 UTC 2014


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  3c49da46d0bfcb7def07c5bfba8d2fc6cc3074dd (commit)
       via  1ca3348ed42ad7fed55c2418fecf8c8eac18de66 (commit)
       via  1547f8e33c2e67408dfec0ee48c2a81f8cec498e (commit)
      from  27f57736bf65cc3c6f974cd173a8404496d79902 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 3c49da46d0bfcb7def07c5bfba8d2fc6cc3074dd
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=3c49da46d0bfcb7def07c5bfba8d2fc6cc3074dd
Author: Gurucharan Shetty <gshetty at nicira.com>
		
INSTALL.RHEL: Fix a typo.
		
Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>


commit 1ca3348ed42ad7fed55c2418fecf8c8eac18de66
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1ca3348ed42ad7fed55c2418fecf8c8eac18de66
Author: Gurucharan Shetty <gshetty at nicira.com>
		
poll-loop: Create Windows event handles for sockets automatically.
		
We currently have a poll_fd_wait_event(fd, wevent, events) function that
is used at places common to Windows and Linux where we have to wait on
sockets.  On Linux, 'wevent' is always set as zero. On Windows, for sockets,
when we send both 'fd' and 'wevent', we associate them with each other for
'events' and then wait on 'wevent'. Also on Windows, when we only send 'wevent'
to this function, we would simply wait for all events for that 'wevent'.

There is a disadvantage with this approach.
* Windows clients need to create a 'wevent' and then pass it along. This
means that at a lot of places where we create sockets, we also are forced
to create a 'wevent'.

With this commit, we pass the responsibility of creating a 'wevent' to
poll_fd_wait() in case of sockets. That way, a client using poll_fd_wait()
is only concerned about sockets and not about 'wevents'. There is a potential
disadvantage with this change in that we create events more often and that
may have a performance penalty. If that turns out to be the case, we will
eventually need to create a pool of wevents that can be re-used.

In Windows, there are cases where we want to wait on a event (not
associated with any sockets) and then control it using functions
like SetEvent() etc. For that purpose, introduce a new function
poll_wevent_wait(). For this function, the client needs to create a event
and then pass it along as an argument.

Signed-off-by: Gurucharan Shetty <gshetty at nicira.com>
Acked-By: Ben Pfaff <blp at nicira.com>


commit 1547f8e33c2e67408dfec0ee48c2a81f8cec498e
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1547f8e33c2e67408dfec0ee48c2a81f8cec498e
Author: Flavio Leitner <fbl at redhat.com>
		
rpm: improved RPM sources dir explanation
		
Signed-off-by: Flavio Leitner <fbl at redhat.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 INSTALL.Fedora          |   20 ++++++++--
 INSTALL.RHEL            |   25 ++++++++++---
 lib/daemon-windows.c    |    4 +-
 lib/fatal-signal.c      |   11 +++++-
 lib/latch-unix.c        |    2 +-
 lib/latch-windows.c     |    2 +-
 lib/poll-loop.c         |   94 ++++++++++++++++++++++++++++++++++-------------
 lib/poll-loop.h         |   12 +++---
 lib/stream-fd-windows.c |   14 ++-----
 lib/stream-ssl.c        |   42 +++------------------
 10 files changed, 134 insertions(+), 92 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list