]> git.openfabrics.org - ~shefty/librdmacm.git/log
~shefty/librdmacm.git
11 years agopop
Sean Hefty [Wed, 1 Aug 2012 23:28:23 +0000 (16:28 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 1 Aug 2012 23:28:23 +0000 (16:28 -0700)]
pop

11 years agorspreload: Support dup2 calls
Sean Hefty [Mon, 30 Jul 2012 23:06:32 +0000 (16:06 -0700)]
rspreload: Support dup2 calls

vsftpd requires dup2() support.  To handle dup2, we need to add
reference count tracking to the preload fd's.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorefresh
Sean Hefty [Wed, 1 Aug 2012 23:27:33 +0000 (16:27 -0700)]
refresh

11 years agorefresh
Sean Hefty [Wed, 1 Aug 2012 23:27:33 +0000 (16:27 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Wed, 1 Aug 2012 23:27:33 +0000 (16:27 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Wed, 1 Aug 2012 23:27:33 +0000 (16:27 -0700)]
refresh (create temporary patch)

11 years agoRefresh of real-close
Sean Hefty [Wed, 1 Aug 2012 23:27:33 +0000 (16:27 -0700)]
Refresh of real-close

11 years agorspreload: Call real.close in fd_close
Sean Hefty [Wed, 1 Aug 2012 23:26:11 +0000 (16:26 -0700)]
rspreload: Call real.close in fd_close

The index into the preload lookup table is obtained by opening
/dev/null and use the returned value.  When closing the file,
use the real close call and not the preload close call.  This
is a minor optimization, but clarifies the expected operation.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agonew
Sean Hefty [Wed, 1 Aug 2012 23:26:11 +0000 (16:26 -0700)]
new

11 years agonew
Sean Hefty [Wed, 1 Aug 2012 23:26:11 +0000 (16:26 -0700)]
new

11 years agorspreload: Call real.close in fd_close
Sean Hefty [Wed, 1 Aug 2012 23:26:11 +0000 (16:26 -0700)]
rspreload: Call real.close in fd_close

The index into the preload lookup table is obtained by opening
/dev/null and use the returned value.  When closing the file,
use the real close call and not the preload close call.  This
is a minor optimization, but clarifies the expected operation.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agocommit
Sean Hefty [Wed, 1 Aug 2012 23:22:51 +0000 (16:22 -0700)]
commit

11 years agocommit
Sean Hefty [Wed, 1 Aug 2012 23:22:51 +0000 (16:22 -0700)]
commit

11 years agopop
Sean Hefty [Wed, 1 Aug 2012 23:22:42 +0000 (16:22 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 1 Aug 2012 23:22:42 +0000 (16:22 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 1 Aug 2012 21:27:33 +0000 (14:27 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 1 Aug 2012 21:27:33 +0000 (14:27 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 1 Aug 2012 21:24:36 +0000 (14:24 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 1 Aug 2012 21:24:36 +0000 (14:24 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 1 Aug 2012 21:14:10 +0000 (14:14 -0700)]
pop

11 years agopop
Sean Hefty [Wed, 1 Aug 2012 21:14:10 +0000 (14:14 -0700)]
pop

11 years agorefresh
Sean Hefty [Wed, 1 Aug 2012 21:14:08 +0000 (14:14 -0700)]
refresh

11 years agorefresh
Sean Hefty [Wed, 1 Aug 2012 21:14:08 +0000 (14:14 -0700)]
refresh

11 years agorefresh (create temporary patch)
Sean Hefty [Wed, 1 Aug 2012 21:14:08 +0000 (14:14 -0700)]
refresh (create temporary patch)

11 years agorefresh (create temporary patch)
Sean Hefty [Wed, 1 Aug 2012 21:14:08 +0000 (14:14 -0700)]
refresh (create temporary patch)

11 years agoRefresh of dup2
Sean Hefty [Wed, 1 Aug 2012 21:14:07 +0000 (14:14 -0700)]
Refresh of dup2

11 years agonew
Sean Hefty [Mon, 30 Jul 2012 23:06:33 +0000 (16:06 -0700)]
new

11 years agonew
Sean Hefty [Mon, 30 Jul 2012 23:06:33 +0000 (16:06 -0700)]
new

11 years agorspreload: Support dup2 calls
Sean Hefty [Mon, 30 Jul 2012 23:06:32 +0000 (16:06 -0700)]
rspreload: Support dup2 calls

vsftpd requires dup2() support.  To handle dup2, we need to add
reference count tracking to the preload fd's.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorspreload: Support dup2 calls
Sean Hefty [Mon, 30 Jul 2012 23:06:32 +0000 (16:06 -0700)]
rspreload: Support dup2 calls

vsftpd requires dup2() support.  To handle dup2, we need to add
reference count tracking to the preload fd's.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorefresh
Sean Hefty [Mon, 30 Jul 2012 18:33:24 +0000 (11:33 -0700)]
refresh

11 years agorefresh
Sean Hefty [Mon, 30 Jul 2012 18:33:24 +0000 (11:33 -0700)]
refresh

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

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

11 years agoRefresh of fast-disc
Sean Hefty [Mon, 30 Jul 2012 18:33:04 +0000 (11:33 -0700)]
Refresh of fast-disc

11 years agorsocket: Improve disconnect time under normal conditions
Sean Hefty [Fri, 27 Jul 2012 17:46:42 +0000 (10:46 -0700)]
rsocket: Improve disconnect time under normal conditions

When both sides of a connection attempt to close at the same
time, one of the two sides can easily get an error when sending
a disconnect message.  This results in that side hanging
during close until the send times out.  (The time out is caused
by the remote side destroying its QP.)

We can reduce the chance of this occurring by immediately
assuming that the disconnect has been successful once we've
received the remote side's disconnect message, or we've
polled a send completion for the local disconnect message.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Mon, 30 Jul 2012 18:33:02 +0000 (11:33 -0700)]
pop

11 years agopop
Sean Hefty [Mon, 30 Jul 2012 18:33:02 +0000 (11:33 -0700)]
pop

11 years agorsocket: Improve disconnect time under normal conditions
Sean Hefty [Fri, 27 Jul 2012 17:46:42 +0000 (10:46 -0700)]
rsocket: Improve disconnect time under normal conditions

When both sides of a connection attempt to close at the same
time, one of the two sides can easily get an error when sending
a disconnect message.  This results in that side hanging
during close until the send times out.  (The time out is caused
by the remote side destroying its QP.)

We can reduce the chance of this occurring by immediately
assuming that the disconnect has been successful once we've
received the remote side's disconnect message.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agorsockets: Use wr_id to determine completion type
Sean Hefty [Thu, 26 Jul 2012 22:35:32 +0000 (15:35 -0700)]
rsockets: Use wr_id to determine completion type

If a work request has completed in error, the completion type
field is undefined.  Use the wr_id to determine if the failed
completion was a send or receive.

This fixes an issue where MPI can hang during finalize.  With
both sides of a connection shutting down simultaneously, one
side may complete quicker and delete its QP before the other
side receives an acknowledgement to their disconnect message.
Eventually, the disconnect message will time out, but because
the completion type field is undefined, it may be processed
as a failed receive, rather than a failed send.  The end
result is that the second side hangs waiting for the send to
complete.

This problem showed up more easily after commit
2e5b0fc95964f74ea59dd725e849027faa0cd526, but existed beforehand.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
11 years agopop
Sean Hefty [Mon, 30 Jul 2012 18:33:01 +0000 (11:33 -0700)]
pop

11 years agopop
Sean Hefty [Mon, 30 Jul 2012 18:33:01 +0000 (11:33 -0700)]
pop

11 years agorefresh
Sean Hefty [Mon, 30 Jul 2012 18:29:19 +0000 (11:29 -0700)]
refresh

11 years agorefresh
Sean Hefty [Mon, 30 Jul 2012 18:29:19 +0000 (11:29 -0700)]
refresh

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

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

11 years agoRefresh of rs-ftp
Sean Hefty [Mon, 30 Jul 2012 18:28:50 +0000 (11:28 -0700)]
Refresh of rs-ftp

11 years agopop
Sean Hefty [Mon, 30 Jul 2012 18:28:47 +0000 (11:28 -0700)]
pop

11 years agopop
Sean Hefty [Mon, 30 Jul 2012 18:28:47 +0000 (11:28 -0700)]
pop

11 years agopop
Sean Hefty [Mon, 30 Jul 2012 18:28:46 +0000 (11:28 -0700)]
pop

11 years agopop
Sean Hefty [Mon, 30 Jul 2012 18:28:46 +0000 (11:28 -0700)]
pop

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

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

11 years agopop
Sean Hefty [Mon, 30 Jul 2012 18:02:15 +0000 (11:02 -0700)]
pop

11 years agopop
Sean Hefty [Mon, 30 Jul 2012 18:02:15 +0000 (11:02 -0700)]
pop

11 years agocommit
Sean Hefty [Mon, 30 Jul 2012 18:02:02 +0000 (11:02 -0700)]
commit

11 years agocommit
Sean Hefty [Mon, 30 Jul 2012 18:02:02 +0000 (11:02 -0700)]
commit

12 years agorefresh
Sean Hefty [Sat, 28 Jul 2012 00:57:23 +0000 (17:57 -0700)]
refresh

12 years agorefresh
Sean Hefty [Sat, 28 Jul 2012 00:57:23 +0000 (17:57 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Sat, 28 Jul 2012 00:57:23 +0000 (17:57 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Sat, 28 Jul 2012 00:57:23 +0000 (17:57 -0700)]
refresh (create temporary patch)

12 years agoRefresh of fast-disc
Sean Hefty [Sat, 28 Jul 2012 00:57:23 +0000 (17:57 -0700)]
Refresh of fast-disc

12 years agorefresh
Sean Hefty [Sat, 28 Jul 2012 00:35:36 +0000 (17:35 -0700)]
refresh

12 years agorefresh
Sean Hefty [Sat, 28 Jul 2012 00:35:36 +0000 (17:35 -0700)]
refresh

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

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

12 years agoRefresh of fast-disc
Sean Hefty [Sat, 28 Jul 2012 00:35:36 +0000 (17:35 -0700)]
Refresh of fast-disc

12 years agorsocket: Improve disconnect time under normal conditions
Sean Hefty [Fri, 27 Jul 2012 17:46:42 +0000 (10:46 -0700)]
rsocket: Improve disconnect time under normal conditions

When both sides of a connection attempt to close at the same
time, one of the two sides can easily get an error when sending
a disconnect message.  This results in that side hanging
during close until the send times out.  (The time out is caused
by the remote side destroying its QP.)

We can reduce the chance of this occurring by immediately
assuming that the disconnect has been successful once we've
received the remote side's disconnect message.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorsocket: Improve disconnect time under normal conditions
Sean Hefty [Fri, 27 Jul 2012 17:46:42 +0000 (10:46 -0700)]
rsocket: Improve disconnect time under normal conditions

When both sides of a connection attempt to close at the same
time, one of the two sides can easily get an error when sending
a disconnect message.  This results in that side hanging
during close until the send times out.  (The time out is caused
by the remote side destroying its QP.)

We can reduce the chance of this occurring by immediately
assuming that the disconnect has been successful once we've
received the remote side's disconnect message.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agonew
Sean Hefty [Fri, 27 Jul 2012 17:46:42 +0000 (10:46 -0700)]
new

12 years agonew
Sean Hefty [Fri, 27 Jul 2012 17:46:42 +0000 (10:46 -0700)]
new

12 years agorsocket: Improve disconnect time under normal conditions
Sean Hefty [Fri, 27 Jul 2012 17:46:42 +0000 (10:46 -0700)]
rsocket: Improve disconnect time under normal conditions

When both sides of a connection attempt to close at the same
time, one of the two sides can easily get an error when sending
a disconnect message.  This results in that side hanging
during close until the send times out.  (The time out is caused
by the remote side destroying its QP.)

We can reduce the chance of this occurring by immediately
assuming that the disconnect has been successful once we've
received the remote side's disconnect message.

Signed-off-by: Sean Hefty <sean.hefty@intel.com>
12 years agorename
Sean Hefty [Fri, 27 Jul 2012 17:43:12 +0000 (10:43 -0700)]
rename

12 years agorename
Sean Hefty [Fri, 27 Jul 2012 17:43:12 +0000 (10:43 -0700)]
rename

12 years agorefresh
Sean Hefty [Fri, 27 Jul 2012 06:32:19 +0000 (23:32 -0700)]
refresh

12 years agorefresh
Sean Hefty [Fri, 27 Jul 2012 06:32:19 +0000 (23:32 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 27 Jul 2012 06:32:19 +0000 (23:32 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 27 Jul 2012 06:32:19 +0000 (23:32 -0700)]
refresh (create temporary patch)

12 years agoRefresh of mpi-finalize
Sean Hefty [Fri, 27 Jul 2012 06:32:18 +0000 (23:32 -0700)]
Refresh of mpi-finalize

12 years agorefresh
Sean Hefty [Fri, 27 Jul 2012 06:31:37 +0000 (23:31 -0700)]
refresh

12 years agorefresh
Sean Hefty [Fri, 27 Jul 2012 06:31:37 +0000 (23:31 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 27 Jul 2012 06:31:37 +0000 (23:31 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 27 Jul 2012 06:31:37 +0000 (23:31 -0700)]
refresh (create temporary patch)

12 years agoRefresh of mpi-finalize
Sean Hefty [Fri, 27 Jul 2012 06:31:37 +0000 (23:31 -0700)]
Refresh of mpi-finalize

12 years agorefresh
Sean Hefty [Fri, 27 Jul 2012 06:30:08 +0000 (23:30 -0700)]
refresh

12 years agorefresh
Sean Hefty [Fri, 27 Jul 2012 06:30:08 +0000 (23:30 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 27 Jul 2012 06:29:34 +0000 (23:29 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 27 Jul 2012 06:29:34 +0000 (23:29 -0700)]
refresh (create temporary patch)

12 years agoRefresh of mpi-finalize
Sean Hefty [Fri, 27 Jul 2012 06:29:33 +0000 (23:29 -0700)]
Refresh of mpi-finalize

12 years agorefresh
Sean Hefty [Fri, 27 Jul 2012 06:29:06 +0000 (23:29 -0700)]
refresh

12 years agorefresh
Sean Hefty [Fri, 27 Jul 2012 06:29:06 +0000 (23:29 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 27 Jul 2012 06:25:04 +0000 (23:25 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 27 Jul 2012 06:25:04 +0000 (23:25 -0700)]
refresh (create temporary patch)

12 years agoRefresh of mpi-finalize
Sean Hefty [Fri, 27 Jul 2012 06:25:04 +0000 (23:25 -0700)]
Refresh of mpi-finalize

12 years agorefresh
Sean Hefty [Fri, 27 Jul 2012 06:11:20 +0000 (23:11 -0700)]
refresh

12 years agorefresh
Sean Hefty [Fri, 27 Jul 2012 06:11:20 +0000 (23:11 -0700)]
refresh

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 27 Jul 2012 06:11:20 +0000 (23:11 -0700)]
refresh (create temporary patch)

12 years agorefresh (create temporary patch)
Sean Hefty [Fri, 27 Jul 2012 06:11:20 +0000 (23:11 -0700)]
refresh (create temporary patch)

12 years agoRefresh of mpi-finalize
Sean Hefty [Fri, 27 Jul 2012 06:11:19 +0000 (23:11 -0700)]
Refresh of mpi-finalize