]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
new
authorSean Hefty <sean.hefty@intel.com>
Wed, 16 May 2012 22:23:41 +0000 (15:23 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 16 May 2012 22:23:41 +0000 (15:23 -0700)
meta
patches/rs-async-nonblock [new file with mode: 0644]

diff --git a/meta b/meta
index 70934865cd44ebeaeee705cb8e9e0cb9641b3156..efe3eeb273ad6814d36345aea34051495237fa0c 100644 (file)
--- a/meta
+++ b/meta
@@ -1,12 +1,13 @@
 Version: 1
-Previous: b9f0fab11b99e2988bb70ce29627a86e4659d033
-Head: 7601a5adca71f10ad1cb63292c769b7b9a35dd08
+Previous: e2166663442d8ba5831117b6a4bfad1d24332074
+Head: a8f471739c6fe7acf91d6d39197161795a56d74c
 Applied:
   rs-locking: ec6a8efe211b0dc98548443c2e0d67e2c355351f
   reuseaddr: 5ce7d9c48d082fd1959918e9134f4bdd85c402d9
   rstream-delay: 8f0437ec677c4752126de8667e093667dd681d56
   rstream-async-opt: 0ee1dfc9ad50f07fd3708ebb04cb92e0fb2f41d5
   rs-nodelay: 7601a5adca71f10ad1cb63292c769b7b9a35dd08
+  rs-async-nonblock: a8f471739c6fe7acf91d6d39197161795a56d74c
 Unapplied:
   comp_locks: b89aab130b4619806557e11e6b9c10964f00743f
   preload: 5dfe7abc07064485c5100e04e5412279244c2bc3
diff --git a/patches/rs-async-nonblock b/patches/rs-async-nonblock
new file mode 100644 (file)
index 0000000..0e2a8fd
--- /dev/null
@@ -0,0 +1,26 @@
+Bottom: 456260422aff51feca00c1ee2db83c3d63b6e111
+Top:    456260422aff51feca00c1ee2db83c3d63b6e111
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2012-05-16 15:23:41 -0700
+
+rstream: Set rsocket nonblocking if set to async operation
+
+If asynchronous use is specified (use of poll/select), set the
+rsocket to nonblocking.  This matches the common usage case for
+asynchronous sockets.
+
+When asynchronous support is enabled, the nonblocking/blocking
+test option determines whether the poll/select call will block,
+or if rstream will spin on the calls.
+
+This provides more flexibility with how the rsocket is used.
+Specifically, MPI often uses nonblocking sockets, but spins on
+poll/select.  However, many apps will use nonblocking sockets,
+but wait on poll/select.
+
+Signed-off-by: Sean Hefty <sean.hefty@intel.com>
+
+
+---
+
+