]> git.openfabrics.org - ~shefty/librdmacm.git/commitdiff
refresh (create temporary patch)
authorSean Hefty <sean.hefty@intel.com>
Wed, 16 May 2012 22:13:49 +0000 (15:13 -0700)
committerSean Hefty <sean.hefty@intel.com>
Wed, 16 May 2012 22:13:49 +0000 (15:13 -0700)
meta
patches/refresh-temp [new file with mode: 0644]

diff --git a/meta b/meta
index 2cdf20a99274ce07610f7cead67705e3a539c098..2ef15ac64ee78df0051362bcf5d351b618a006ed 100644 (file)
--- a/meta
+++ b/meta
@@ -1,12 +1,13 @@
 Version: 1
-Previous: 45eedbf501f867506126cab7f0d01932a1673019
-Head: 0b862b1f59c6b09d9691d058354ee7baff7e5831
+Previous: 0598198945bd238986933a5f4fbbda500fd0a33b
+Head: c2417e66b3c398d37b81998b3f4f1159322ef23e
 Applied:
   rs-locking: ec6a8efe211b0dc98548443c2e0d67e2c355351f
   reuseaddr: 5ce7d9c48d082fd1959918e9134f4bdd85c402d9
   rstream-delay: 8f0437ec677c4752126de8667e093667dd681d56
   rstream-async-opt: 0ee1dfc9ad50f07fd3708ebb04cb92e0fb2f41d5
   rstream-spinpoll: 0b862b1f59c6b09d9691d058354ee7baff7e5831
+  refresh-temp: c2417e66b3c398d37b81998b3f4f1159322ef23e
 Unapplied:
   comp_locks: b89aab130b4619806557e11e6b9c10964f00743f
   preload: 5dfe7abc07064485c5100e04e5412279244c2bc3
diff --git a/patches/refresh-temp b/patches/refresh-temp
new file mode 100644 (file)
index 0000000..a1b4891
--- /dev/null
@@ -0,0 +1,56 @@
+Bottom: e2131f7e51447fe3fd85c9a62239f937dac571b5
+Top:    9bd029a43201d8d7586d4167218571a9c818e2d0
+Author: Sean Hefty <sean.hefty@intel.com>
+Date:   2012-05-16 15:13:49 -0700
+
+Refresh of rstream-spinpoll
+
+---
+
+diff --git a/examples/rstream.c b/examples/rstream.c
+index 27a6aeb..75e5246 100644
+--- a/examples/rstream.c
++++ b/examples/rstream.c
+@@ -55,7 +55,6 @@ static int test_size[] = {
+ static int use_rs = 1;
+ static int use_async;
+-static int poll_timeout = -1;
+ static int verify;
+ static int flags = MSG_DONTWAIT;
+ static int no_delay = 1;
+@@ -502,6 +501,7 @@ static int set_test_opt(char *optarg)
+                       break;
+               case 'a':
+                       use_async = 1;
++                      flags |= MSG_DONTWAIT;
+                       break;
+               case 'b':
+                       flags &= ~MSG_DONTWAIT;
+@@ -511,9 +511,6 @@ static int set_test_opt(char *optarg)
+                       flags |= MSG_DONTWAIT;
+                       no_delay = 1;
+                       break;
+-              case 'p':
+-                      poll_timeout = 0;
+-                      break;
+               case 'v':
+                       verify = 1;
+                       break;
+@@ -531,8 +528,6 @@ static int set_test_opt(char *optarg)
+               } else if (!strncasecmp("nonblock", optarg, 8)) {
+                       flags |= MSG_DONTWAIT;
+                       no_delay = 1;
+-              } else if (!strncasecmp("poll", optarg, 4)) {
+-                      poll_timeout = 0;
+               } else if (!strncasecmp("verify", optarg, 6)) {
+                       verify = 1;
+               } else {
+@@ -586,7 +581,6 @@ int main(int argc, char **argv)
+                       printf("\t    a|async - asynchronous operation (use poll)\n");
+                       printf("\t    b|blocking - use blocking calls\n");
+                       printf("\t    n|nonblocking - use nonblocking calls\n");
+-                      printf("\t    p|poll - poll on asynchronous operations\n");
+                       printf("\t    v|verify - verify data\n");
+                       exit(1);
+               }