]> git.openfabrics.org - ~shefty/librdmacm.git/log
~shefty/librdmacm.git
12 years agonew
Sean Hefty [Tue, 24 Jul 2012 21:13:55 +0000 (14:13 -0700)]
new

12 years agonew
Sean Hefty [Tue, 24 Jul 2012 21:13:55 +0000 (14:13 -0700)]
new

12 years agorspreload: Call init from getsockname()
Sean Hefty [Tue, 24 Jul 2012 21:13:55 +0000 (14:13 -0700)]
rspreload: Call init from getsockname()

netperf for some unknown reason calls getsockname() using a
hard coded value of 0, without first allocating a socket.
This causes the rsocket preload library to crash, since the
library has not been properly initialized.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Tue, 24 Jul 2012 21:11:51 +0000 (14:11 -0700)]
pop

12 years agopop
Sean Hefty [Tue, 24 Jul 2012 21:11:51 +0000 (14:11 -0700)]
pop

12 years agorstream: Add option to test fork support
Sean Hefty [Tue, 17 Jul 2012 22:32:54 +0000 (15:32 -0700)]
rstream: Add option to test fork support

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorefresh
Sean Hefty [Tue, 24 Jul 2012 21:11:49 +0000 (14:11 -0700)]
refresh

12 years agorefresh
Sean Hefty [Tue, 24 Jul 2012 21:11:49 +0000 (14:11 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 24 Jul 2012 21:11:49 +0000 (14:11 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 24 Jul 2012 21:11:49 +0000 (14:11 -0700)]
refresh (create temporary patch)

12 years agoRefresh of fork
Sean Hefty [Tue, 24 Jul 2012 21:11:49 +0000 (14:11 -0700)]
Refresh of fork

12 years agorefresh
Sean Hefty [Tue, 24 Jul 2012 18:49:11 +0000 (11:49 -0700)]
refresh

12 years agorefresh
Sean Hefty [Tue, 24 Jul 2012 18:49:11 +0000 (11:49 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 24 Jul 2012 18:40:20 +0000 (11:40 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 24 Jul 2012 18:40:20 +0000 (11:40 -0700)]
refresh (create temporary patch)

12 years agoRefresh of fork
Sean Hefty [Tue, 24 Jul 2012 18:40:20 +0000 (11:40 -0700)]
Refresh of fork

12 years agorefresh
Sean Hefty [Tue, 24 Jul 2012 18:40:17 +0000 (11:40 -0700)]
refresh

12 years agorefresh
Sean Hefty [Tue, 24 Jul 2012 18:40:17 +0000 (11:40 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 24 Jul 2012 18:40:16 +0000 (11:40 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Tue, 24 Jul 2012 18:40:16 +0000 (11:40 -0700)]
refresh (create temporary patch)

12 years agoRefresh of fork
Sean Hefty [Tue, 24 Jul 2012 18:40:16 +0000 (11:40 -0700)]
Refresh of fork

12 years agolibrspreload: Support server apps that call fork()
Sean Hefty [Tue, 24 Jul 2012 18:40:10 +0000 (11:40 -0700)]
librspreload: Support server apps that call fork()

Provide limited support for applications that call fork().  To
handle fork(), we establish connections using normal sockets.
The socket is later converted to an rsocket when the user
makes the first call to a data transfer function (e.g. send,
recv, read, write, etc.).

Fork support is indicated by setting the environment variable
RDMAV_FORK_SAFE = 1.  When set, the preload library will delay
converting to an rsocket until the user attemts to send or receive
data on the socket.  To convert from a normal socket to an
rsocket, the preload library must inject a message on the
normal socket to synchronize between the client and server.  As
a result, if the rsocket connection fails, the ability to
silently fallback to the normal socket may be compromised.  Fork
support is disabled by default.

The current implementation works for simple test apps under
ideal conditions.  Although it supports nonblocking sockets, it
uses blocking rsockets when migrating connections.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agolibrspreload: Support server apps that call fork()
Sean Hefty [Tue, 24 Jul 2012 18:40:10 +0000 (11:40 -0700)]
librspreload: Support server apps that call fork()

Provide limited support for applications that call fork().  To
handle fork(), we establish connections using normal sockets.
The socket is later converted to an rsocket when the user
makes the first call to a data transfer function (e.g. send,
recv, read, write, etc.).

Fork support is indicated by setting the environment variable
RDMAV_FORK_SAFE = 1.  When set, the preload library will delay
converting to an rsocket until the user attemts to send or receive
data on the socket.  To convert from a normal socket to an
rsocket, the preload library must inject a message on the
normal socket to synchronize between the client and server.  As
a result, if the rsocket connection fails, the ability to
silently fallback to the normal socket may be compromised.  Fork
support is disabled by default.

The current implementation works for simple test apps under
ideal conditions.  Although it supports nonblocking sockets, it
uses blocking rsockets when migrating connections.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agolibrspreload: Support server apps that call fork()
Sean Hefty [Tue, 24 Jul 2012 18:40:10 +0000 (11:40 -0700)]
librspreload: Support server apps that call fork()

Provide limited support for applications that call fork() after
accepting a connection.

Fork support is indicated by setting the environment variable
RDMAV_FORK_SAFE.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agosquash
Sean Hefty [Tue, 24 Jul 2012 18:40:10 +0000 (11:40 -0700)]
squash

12 years agosquash
Sean Hefty [Tue, 24 Jul 2012 18:40:10 +0000 (11:40 -0700)]
squash

12 years agopop
Sean Hefty [Tue, 24 Jul 2012 18:39:06 +0000 (11:39 -0700)]
pop

12 years agopop
Sean Hefty [Tue, 24 Jul 2012 18:39:06 +0000 (11:39 -0700)]
pop

12 years agorspreload: Move fork handling to first data transfer
Sean Hefty [Fri, 20 Jul 2012 00:09:29 +0000 (17:09 -0700)]
rspreload: Move fork handling to first data transfer

Instead of hooking fork and migrating the last accepted
connection to rsockets, perform the migration when the socket
first tries to send or receive data.

This is necessary to handle more complex cases of fork, where
the child process establishes connections.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agopop
Sean Hefty [Tue, 24 Jul 2012 18:38:54 +0000 (11:38 -0700)]
pop

12 years agopop
Sean Hefty [Tue, 24 Jul 2012 18:38:54 +0000 (11:38 -0700)]
pop

12 years agopop
Sean Hefty [Tue, 24 Jul 2012 18:38:53 +0000 (11:38 -0700)]
pop

12 years agopop
Sean Hefty [Tue, 24 Jul 2012 18:38:53 +0000 (11:38 -0700)]
pop

12 years agocommit
Sean Hefty [Tue, 24 Jul 2012 18:35:51 +0000 (11:35 -0700)]
commit

12 years agocommit
Sean Hefty [Tue, 24 Jul 2012 18:35:51 +0000 (11:35 -0700)]
commit

12 years agodelete
Sean Hefty [Tue, 24 Jul 2012 18:35:27 +0000 (11:35 -0700)]
delete

12 years agodelete
Sean Hefty [Tue, 24 Jul 2012 18:35:27 +0000 (11:35 -0700)]
delete

12 years agopop
Sean Hefty [Tue, 24 Jul 2012 17:35:59 +0000 (10:35 -0700)]
pop

12 years agopop
Sean Hefty [Tue, 24 Jul 2012 17:35:59 +0000 (10:35 -0700)]
pop

12 years agonew
Sean Hefty [Tue, 24 Jul 2012 17:15:06 +0000 (10:15 -0700)]
new

12 years agonew
Sean Hefty [Tue, 24 Jul 2012 17:15:06 +0000 (10:15 -0700)]
new

12 years agoindexer: Allow use of index 0
Sean Hefty [Tue, 24 Jul 2012 17:15:06 +0000 (10:15 -0700)]
indexer: Allow use of index 0

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorefresh
Sean Hefty [Mon, 23 Jul 2012 23:28:12 +0000 (16:28 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 23 Jul 2012 23:28:12 +0000 (16:28 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 23 Jul 2012 23:28:11 +0000 (16:28 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 23 Jul 2012 23:28:11 +0000 (16:28 -0700)]
refresh (create temporary patch)

12 years agoRefresh of fork-xfer
Sean Hefty [Mon, 23 Jul 2012 23:28:11 +0000 (16:28 -0700)]
Refresh of fork-xfer

12 years agorefresh
Sean Hefty [Mon, 23 Jul 2012 19:37:01 +0000 (12:37 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 23 Jul 2012 19:37:01 +0000 (12:37 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 23 Jul 2012 19:37:01 +0000 (12:37 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 23 Jul 2012 19:37:01 +0000 (12:37 -0700)]
refresh (create temporary patch)

12 years agoRefresh of fork-xfer
Sean Hefty [Mon, 23 Jul 2012 19:37:01 +0000 (12:37 -0700)]
Refresh of fork-xfer

12 years agorefresh
Sean Hefty [Mon, 23 Jul 2012 19:35:44 +0000 (12:35 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 23 Jul 2012 19:35:44 +0000 (12:35 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 23 Jul 2012 19:35:44 +0000 (12:35 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 23 Jul 2012 19:35:44 +0000 (12:35 -0700)]
refresh (create temporary patch)

12 years agoRefresh of fork-xfer
Sean Hefty [Mon, 23 Jul 2012 19:35:44 +0000 (12:35 -0700)]
Refresh of fork-xfer

12 years agorefresh
Sean Hefty [Mon, 23 Jul 2012 18:50:05 +0000 (11:50 -0700)]
refresh

12 years agorefresh
Sean Hefty [Mon, 23 Jul 2012 18:50:05 +0000 (11:50 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 23 Jul 2012 18:50:04 +0000 (11:50 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Mon, 23 Jul 2012 18:50:04 +0000 (11:50 -0700)]
refresh (create temporary patch)

12 years agoRefresh of fork-xfer
Sean Hefty [Mon, 23 Jul 2012 18:50:04 +0000 (11:50 -0700)]
Refresh of fork-xfer

12 years agopop
Sean Hefty [Mon, 23 Jul 2012 18:37:53 +0000 (11:37 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 23 Jul 2012 18:37:53 +0000 (11:37 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 23 Jul 2012 18:37:48 +0000 (11:37 -0700)]
pop

12 years agopop
Sean Hefty [Mon, 23 Jul 2012 18:37:48 +0000 (11:37 -0700)]
pop

12 years agorefresh
Sean Hefty [Fri, 20 Jul 2012 00:35:33 +0000 (17:35 -0700)]
refresh

12 years agorefresh
Sean Hefty [Fri, 20 Jul 2012 00:35:33 +0000 (17:35 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 20 Jul 2012 00:35:33 +0000 (17:35 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 20 Jul 2012 00:35:33 +0000 (17:35 -0700)]
refresh (create temporary patch)

12 years agoRefresh of dbg
Sean Hefty [Fri, 20 Jul 2012 00:35:33 +0000 (17:35 -0700)]
Refresh of dbg

12 years agopop
Sean Hefty [Fri, 20 Jul 2012 00:33:23 +0000 (17:33 -0700)]
pop

12 years agopop
Sean Hefty [Fri, 20 Jul 2012 00:33:23 +0000 (17:33 -0700)]
pop

12 years agopop
Sean Hefty [Fri, 20 Jul 2012 00:33:20 +0000 (17:33 -0700)]
pop

12 years agopop
Sean Hefty [Fri, 20 Jul 2012 00:33:20 +0000 (17:33 -0700)]
pop

12 years agorspreload: Move fork handling to first data transfer
Sean Hefty [Fri, 20 Jul 2012 00:09:29 +0000 (17:09 -0700)]
rspreload: Move fork handling to first data transfer

Instead of hooking fork and migrating the last accepted
connection to rsockets, perform the migration when the socket
first tries to send or receive data.

This is necessary to handle more complex cases of fork, where
the child process establishes connections.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorspreload: Move fork handling to first data transfer
Sean Hefty [Fri, 20 Jul 2012 00:09:29 +0000 (17:09 -0700)]
rspreload: Move fork handling to first data transfer

Instead of hooking fork and migrating the last accepted
connection to rsockets, perform the migration when the socket
first tries to send or receive data.

This is necessary to handle more complex cases of fork, where
the child process establishes connections.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorspreload: Move fork handling to first data transfer
Sean Hefty [Fri, 20 Jul 2012 00:09:29 +0000 (17:09 -0700)]
rspreload: Move fork handling to first data transfer

Instead of hooking fork and migrating the last accepted
connection to rsockets, perform the migration when the socket
first tries to send or receive data.

This is necessary to handle more complex cases of fork, where
the child process establishes connections.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorspreload: Move fork handling to first data transfer
Sean Hefty [Fri, 20 Jul 2012 00:09:29 +0000 (17:09 -0700)]
rspreload: Move fork handling to first data transfer

Instead of hooking fork and migrating the last accepted
connection to rsockets, perform the migration when the socket
first tries to send or receive data.

This is necessary to handle more complex cases of fork, where
the child process establishes connections.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agonew
Sean Hefty [Fri, 20 Jul 2012 00:09:29 +0000 (17:09 -0700)]
new

12 years agonew
Sean Hefty [Fri, 20 Jul 2012 00:09:29 +0000 (17:09 -0700)]
new

12 years agopop
Sean Hefty [Fri, 20 Jul 2012 00:07:00 +0000 (17:07 -0700)]
pop

12 years agopop
Sean Hefty [Fri, 20 Jul 2012 00:07:00 +0000 (17:07 -0700)]
pop

12 years agorefresh
Sean Hefty [Thu, 19 Jul 2012 23:02:26 +0000 (16:02 -0700)]
refresh

12 years agorefresh
Sean Hefty [Thu, 19 Jul 2012 23:02:26 +0000 (16:02 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Thu, 19 Jul 2012 23:02:26 +0000 (16:02 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Thu, 19 Jul 2012 23:02:26 +0000 (16:02 -0700)]
refresh (create temporary patch)

12 years agoRefresh of dbg
Sean Hefty [Thu, 19 Jul 2012 23:02:26 +0000 (16:02 -0700)]
Refresh of dbg

12 years agopop
Sean Hefty [Thu, 19 Jul 2012 22:56:17 +0000 (15:56 -0700)]
pop

12 years agopop
Sean Hefty [Thu, 19 Jul 2012 22:56:17 +0000 (15:56 -0700)]
pop

12 years agopop
Sean Hefty [Thu, 19 Jul 2012 22:56:09 +0000 (15:56 -0700)]
pop

12 years agopop
Sean Hefty [Thu, 19 Jul 2012 22:56:09 +0000 (15:56 -0700)]
pop

12 years agopop
Sean Hefty [Thu, 19 Jul 2012 22:47:27 +0000 (15:47 -0700)]
pop

12 years agopop
Sean Hefty [Thu, 19 Jul 2012 22:47:27 +0000 (15:47 -0700)]
pop

12 years agopop
Sean Hefty [Thu, 19 Jul 2012 22:41:10 +0000 (15:41 -0700)]
pop

12 years agopop
Sean Hefty [Thu, 19 Jul 2012 22:41:10 +0000 (15:41 -0700)]
pop

12 years agodebug fork
Sean Hefty [Wed, 18 Jul 2012 16:01:43 +0000 (09:01 -0700)]
debug fork

12 years agodebug fork
Sean Hefty [Wed, 18 Jul 2012 16:01:43 +0000 (09:01 -0700)]
debug fork

12 years agodebug fork
Sean Hefty [Wed, 18 Jul 2012 16:01:43 +0000 (09:01 -0700)]
debug fork

12 years agopop
Sean Hefty [Thu, 19 Jul 2012 22:38:18 +0000 (15:38 -0700)]
pop