polyphony 0.85 → 0.86

Sign up to get free protection for your applications and to get access to all the features.
Files changed (230) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +4 -0
  3. data/Gemfile.lock +1 -1
  4. data/ext/polyphony/io_extensions.c +2 -3
  5. data/lib/polyphony/version.rb +1 -1
  6. data/polyphony.gemspec +1 -1
  7. data/test/test_backend.rb +1 -1
  8. data/test/test_signal.rb +3 -3
  9. data/vendor/liburing/.github/pull_request_template.md +86 -0
  10. data/vendor/liburing/.github/workflows/build.yml +85 -0
  11. data/vendor/liburing/.github/workflows/shellcheck.yml +20 -0
  12. data/vendor/liburing/.gitignore +149 -0
  13. data/vendor/liburing/COPYING +502 -0
  14. data/vendor/liburing/COPYING.GPL +339 -0
  15. data/vendor/liburing/LICENSE +7 -0
  16. data/vendor/liburing/Makefile +82 -0
  17. data/vendor/liburing/Makefile.common +5 -0
  18. data/vendor/liburing/Makefile.quiet +11 -0
  19. data/vendor/liburing/README +46 -0
  20. data/vendor/liburing/configure +486 -0
  21. data/vendor/liburing/debian/README.Debian +7 -0
  22. data/vendor/liburing/debian/changelog +27 -0
  23. data/vendor/liburing/debian/compat +1 -0
  24. data/vendor/liburing/debian/control +48 -0
  25. data/vendor/liburing/debian/copyright +49 -0
  26. data/vendor/liburing/debian/liburing-dev.install +4 -0
  27. data/vendor/liburing/debian/liburing-dev.manpages +6 -0
  28. data/vendor/liburing/debian/liburing1-udeb.install +1 -0
  29. data/vendor/liburing/debian/liburing1.install +1 -0
  30. data/vendor/liburing/debian/liburing1.symbols +32 -0
  31. data/vendor/liburing/debian/patches/series +1 -0
  32. data/vendor/liburing/debian/rules +81 -0
  33. data/vendor/liburing/debian/source/format +1 -0
  34. data/vendor/liburing/debian/source/local-options +2 -0
  35. data/vendor/liburing/debian/source/options +1 -0
  36. data/vendor/liburing/debian/watch +3 -0
  37. data/vendor/liburing/examples/Makefile +38 -0
  38. data/vendor/liburing/examples/io_uring-cp.c +282 -0
  39. data/vendor/liburing/examples/io_uring-test.c +112 -0
  40. data/vendor/liburing/examples/link-cp.c +193 -0
  41. data/vendor/liburing/examples/ucontext-cp.c +273 -0
  42. data/vendor/liburing/liburing.pc.in +12 -0
  43. data/vendor/liburing/liburing.spec +66 -0
  44. data/vendor/liburing/make-debs.sh +53 -0
  45. data/vendor/liburing/man/io_uring.7 +754 -0
  46. data/vendor/liburing/man/io_uring_cq_advance.3 +35 -0
  47. data/vendor/liburing/man/io_uring_cq_ready.3 +25 -0
  48. data/vendor/liburing/man/io_uring_cqe_get_data.3 +34 -0
  49. data/vendor/liburing/man/io_uring_cqe_seen.3 +32 -0
  50. data/vendor/liburing/man/io_uring_enter.2 +1483 -0
  51. data/vendor/liburing/man/io_uring_free_probe.3 +24 -0
  52. data/vendor/liburing/man/io_uring_get_probe.3 +29 -0
  53. data/vendor/liburing/man/io_uring_get_sqe.3 +38 -0
  54. data/vendor/liburing/man/io_uring_opcode_supported.3 +29 -0
  55. data/vendor/liburing/man/io_uring_prep_msg_ring.3 +58 -0
  56. data/vendor/liburing/man/io_uring_prep_read.3 +50 -0
  57. data/vendor/liburing/man/io_uring_prep_read_fixed.3 +54 -0
  58. data/vendor/liburing/man/io_uring_prep_readv.3 +51 -0
  59. data/vendor/liburing/man/io_uring_prep_readv2.3 +79 -0
  60. data/vendor/liburing/man/io_uring_prep_write.3 +50 -0
  61. data/vendor/liburing/man/io_uring_prep_write_fixed.3 +54 -0
  62. data/vendor/liburing/man/io_uring_prep_writev.3 +51 -0
  63. data/vendor/liburing/man/io_uring_prep_writev2.3 +78 -0
  64. data/vendor/liburing/man/io_uring_queue_exit.3 +27 -0
  65. data/vendor/liburing/man/io_uring_queue_init.3 +44 -0
  66. data/vendor/liburing/man/io_uring_register.2 +688 -0
  67. data/vendor/liburing/man/io_uring_register_buffers.3 +41 -0
  68. data/vendor/liburing/man/io_uring_register_files.3 +35 -0
  69. data/vendor/liburing/man/io_uring_setup.2 +534 -0
  70. data/vendor/liburing/man/io_uring_sq_ready.3 +25 -0
  71. data/vendor/liburing/man/io_uring_sq_space_left.3 +25 -0
  72. data/vendor/liburing/man/io_uring_sqe_set_data.3 +30 -0
  73. data/vendor/liburing/man/io_uring_sqe_set_flags.3 +60 -0
  74. data/vendor/liburing/man/io_uring_sqring_wait.3 +30 -0
  75. data/vendor/liburing/man/io_uring_submit.3 +29 -0
  76. data/vendor/liburing/man/io_uring_submit_and_wait.3 +34 -0
  77. data/vendor/liburing/man/io_uring_submit_and_wait_timeout.3 +49 -0
  78. data/vendor/liburing/man/io_uring_unregister_buffers.3 +26 -0
  79. data/vendor/liburing/man/io_uring_unregister_files.3 +26 -0
  80. data/vendor/liburing/man/io_uring_wait_cqe.3 +33 -0
  81. data/vendor/liburing/man/io_uring_wait_cqe_nr.3 +36 -0
  82. data/vendor/liburing/man/io_uring_wait_cqe_timeout.3 +39 -0
  83. data/vendor/liburing/man/io_uring_wait_cqes.3 +46 -0
  84. data/vendor/liburing/src/Makefile +89 -0
  85. data/vendor/liburing/src/arch/aarch64/syscall.h +95 -0
  86. data/vendor/liburing/src/arch/generic/lib.h +21 -0
  87. data/vendor/liburing/src/arch/generic/syscall.h +87 -0
  88. data/vendor/liburing/src/arch/syscall-defs.h +67 -0
  89. data/vendor/liburing/src/arch/x86/lib.h +32 -0
  90. data/vendor/liburing/src/arch/x86/syscall.h +160 -0
  91. data/vendor/liburing/src/include/liburing/barrier.h +81 -0
  92. data/vendor/liburing/src/include/liburing/io_uring.h +442 -0
  93. data/vendor/liburing/src/include/liburing.h +921 -0
  94. data/vendor/liburing/src/int_flags.h +8 -0
  95. data/vendor/liburing/src/lib.h +57 -0
  96. data/vendor/liburing/src/liburing.map +53 -0
  97. data/vendor/liburing/src/nolibc.c +48 -0
  98. data/vendor/liburing/src/queue.c +403 -0
  99. data/vendor/liburing/src/register.c +293 -0
  100. data/vendor/liburing/src/setup.c +332 -0
  101. data/vendor/liburing/src/syscall.c +47 -0
  102. data/vendor/liburing/src/syscall.h +103 -0
  103. data/vendor/liburing/test/232c93d07b74-test.c +306 -0
  104. data/vendor/liburing/test/35fa71a030ca-test.c +329 -0
  105. data/vendor/liburing/test/500f9fbadef8-test.c +89 -0
  106. data/vendor/liburing/test/7ad0e4b2f83c-test.c +93 -0
  107. data/vendor/liburing/test/8a9973408177-test.c +106 -0
  108. data/vendor/liburing/test/917257daa0fe-test.c +53 -0
  109. data/vendor/liburing/test/Makefile +244 -0
  110. data/vendor/liburing/test/a0908ae19763-test.c +58 -0
  111. data/vendor/liburing/test/a4c0b3decb33-test.c +180 -0
  112. data/vendor/liburing/test/accept-link.c +254 -0
  113. data/vendor/liburing/test/accept-reuse.c +164 -0
  114. data/vendor/liburing/test/accept-test.c +79 -0
  115. data/vendor/liburing/test/accept.c +477 -0
  116. data/vendor/liburing/test/across-fork.c +283 -0
  117. data/vendor/liburing/test/b19062a56726-test.c +53 -0
  118. data/vendor/liburing/test/b5837bd5311d-test.c +77 -0
  119. data/vendor/liburing/test/ce593a6c480a-test.c +136 -0
  120. data/vendor/liburing/test/close-opath.c +122 -0
  121. data/vendor/liburing/test/config +10 -0
  122. data/vendor/liburing/test/connect.c +398 -0
  123. data/vendor/liburing/test/cq-full.c +96 -0
  124. data/vendor/liburing/test/cq-overflow.c +294 -0
  125. data/vendor/liburing/test/cq-peek-batch.c +102 -0
  126. data/vendor/liburing/test/cq-ready.c +94 -0
  127. data/vendor/liburing/test/cq-size.c +64 -0
  128. data/vendor/liburing/test/d4ae271dfaae-test.c +96 -0
  129. data/vendor/liburing/test/d77a67ed5f27-test.c +65 -0
  130. data/vendor/liburing/test/defer.c +307 -0
  131. data/vendor/liburing/test/double-poll-crash.c +185 -0
  132. data/vendor/liburing/test/drop-submit.c +92 -0
  133. data/vendor/liburing/test/eeed8b54e0df-test.c +114 -0
  134. data/vendor/liburing/test/empty-eownerdead.c +45 -0
  135. data/vendor/liburing/test/eventfd-disable.c +151 -0
  136. data/vendor/liburing/test/eventfd-reg.c +76 -0
  137. data/vendor/liburing/test/eventfd-ring.c +97 -0
  138. data/vendor/liburing/test/eventfd.c +112 -0
  139. data/vendor/liburing/test/exec-target.c +6 -0
  140. data/vendor/liburing/test/exit-no-cleanup.c +117 -0
  141. data/vendor/liburing/test/fadvise.c +202 -0
  142. data/vendor/liburing/test/fallocate.c +249 -0
  143. data/vendor/liburing/test/fc2a85cb02ef-test.c +131 -0
  144. data/vendor/liburing/test/file-register.c +858 -0
  145. data/vendor/liburing/test/file-update.c +173 -0
  146. data/vendor/liburing/test/file-verify.c +629 -0
  147. data/vendor/liburing/test/files-exit-hang-poll.c +128 -0
  148. data/vendor/liburing/test/files-exit-hang-timeout.c +134 -0
  149. data/vendor/liburing/test/fixed-link.c +90 -0
  150. data/vendor/liburing/test/fpos.c +252 -0
  151. data/vendor/liburing/test/fsync.c +224 -0
  152. data/vendor/liburing/test/hardlink.c +136 -0
  153. data/vendor/liburing/test/helpers.c +135 -0
  154. data/vendor/liburing/test/helpers.h +67 -0
  155. data/vendor/liburing/test/io-cancel.c +550 -0
  156. data/vendor/liburing/test/io_uring_enter.c +296 -0
  157. data/vendor/liburing/test/io_uring_register.c +676 -0
  158. data/vendor/liburing/test/io_uring_setup.c +192 -0
  159. data/vendor/liburing/test/iopoll.c +372 -0
  160. data/vendor/liburing/test/lfs-openat-write.c +119 -0
  161. data/vendor/liburing/test/lfs-openat.c +275 -0
  162. data/vendor/liburing/test/link-timeout.c +1107 -0
  163. data/vendor/liburing/test/link.c +496 -0
  164. data/vendor/liburing/test/link_drain.c +229 -0
  165. data/vendor/liburing/test/madvise.c +195 -0
  166. data/vendor/liburing/test/mkdir.c +108 -0
  167. data/vendor/liburing/test/msg-ring.c +234 -0
  168. data/vendor/liburing/test/multicqes_drain.c +387 -0
  169. data/vendor/liburing/test/nop-all-sizes.c +99 -0
  170. data/vendor/liburing/test/nop.c +115 -0
  171. data/vendor/liburing/test/open-close.c +261 -0
  172. data/vendor/liburing/test/openat2.c +308 -0
  173. data/vendor/liburing/test/personality.c +204 -0
  174. data/vendor/liburing/test/pipe-eof.c +83 -0
  175. data/vendor/liburing/test/pipe-reuse.c +105 -0
  176. data/vendor/liburing/test/poll-cancel-ton.c +135 -0
  177. data/vendor/liburing/test/poll-cancel.c +228 -0
  178. data/vendor/liburing/test/poll-link.c +230 -0
  179. data/vendor/liburing/test/poll-many.c +208 -0
  180. data/vendor/liburing/test/poll-mshot-update.c +273 -0
  181. data/vendor/liburing/test/poll-ring.c +48 -0
  182. data/vendor/liburing/test/poll-v-poll.c +353 -0
  183. data/vendor/liburing/test/poll.c +109 -0
  184. data/vendor/liburing/test/pollfree.c +426 -0
  185. data/vendor/liburing/test/probe.c +135 -0
  186. data/vendor/liburing/test/read-write.c +876 -0
  187. data/vendor/liburing/test/register-restrictions.c +633 -0
  188. data/vendor/liburing/test/rename.c +135 -0
  189. data/vendor/liburing/test/ring-leak.c +173 -0
  190. data/vendor/liburing/test/ring-leak2.c +249 -0
  191. data/vendor/liburing/test/rsrc_tags.c +449 -0
  192. data/vendor/liburing/test/runtests-loop.sh +16 -0
  193. data/vendor/liburing/test/runtests.sh +170 -0
  194. data/vendor/liburing/test/rw_merge_test.c +97 -0
  195. data/vendor/liburing/test/self.c +91 -0
  196. data/vendor/liburing/test/send_recv.c +286 -0
  197. data/vendor/liburing/test/send_recvmsg.c +345 -0
  198. data/vendor/liburing/test/sendmsg_fs_cve.c +200 -0
  199. data/vendor/liburing/test/shared-wq.c +84 -0
  200. data/vendor/liburing/test/short-read.c +75 -0
  201. data/vendor/liburing/test/shutdown.c +165 -0
  202. data/vendor/liburing/test/sigfd-deadlock.c +74 -0
  203. data/vendor/liburing/test/skip-cqe.c +429 -0
  204. data/vendor/liburing/test/socket-rw-eagain.c +158 -0
  205. data/vendor/liburing/test/socket-rw-offset.c +157 -0
  206. data/vendor/liburing/test/socket-rw.c +145 -0
  207. data/vendor/liburing/test/splice.c +512 -0
  208. data/vendor/liburing/test/sq-full-cpp.cc +45 -0
  209. data/vendor/liburing/test/sq-full.c +45 -0
  210. data/vendor/liburing/test/sq-poll-dup.c +204 -0
  211. data/vendor/liburing/test/sq-poll-kthread.c +169 -0
  212. data/vendor/liburing/test/sq-poll-share.c +137 -0
  213. data/vendor/liburing/test/sq-space_left.c +159 -0
  214. data/vendor/liburing/test/sqpoll-cancel-hang.c +157 -0
  215. data/vendor/liburing/test/sqpoll-disable-exit.c +196 -0
  216. data/vendor/liburing/test/sqpoll-exit-hang.c +78 -0
  217. data/vendor/liburing/test/sqpoll-sleep.c +69 -0
  218. data/vendor/liburing/test/statx.c +172 -0
  219. data/vendor/liburing/test/stdout.c +232 -0
  220. data/vendor/liburing/test/submit-link-fail.c +154 -0
  221. data/vendor/liburing/test/submit-reuse.c +239 -0
  222. data/vendor/liburing/test/symlink.c +116 -0
  223. data/vendor/liburing/test/teardowns.c +58 -0
  224. data/vendor/liburing/test/thread-exit.c +143 -0
  225. data/vendor/liburing/test/timeout-new.c +252 -0
  226. data/vendor/liburing/test/timeout-overflow.c +204 -0
  227. data/vendor/liburing/test/timeout.c +1523 -0
  228. data/vendor/liburing/test/unlink.c +112 -0
  229. data/vendor/liburing/test/wakeup-hang.c +162 -0
  230. metadata +223 -2
@@ -0,0 +1,112 @@
1
+ /* SPDX-License-Identifier: MIT */
2
+ /*
3
+ * Description: run various nop tests
4
+ *
5
+ */
6
+ #include <errno.h>
7
+ #include <stdio.h>
8
+ #include <unistd.h>
9
+ #include <stdlib.h>
10
+ #include <string.h>
11
+ #include <fcntl.h>
12
+ #include <sys/stat.h>
13
+
14
+ #include "liburing.h"
15
+
16
+ static int test_unlink(struct io_uring *ring, const char *old)
17
+ {
18
+ struct io_uring_cqe *cqe;
19
+ struct io_uring_sqe *sqe;
20
+ int ret;
21
+
22
+ sqe = io_uring_get_sqe(ring);
23
+ if (!sqe) {
24
+ fprintf(stderr, "get sqe failed\n");
25
+ goto err;
26
+ }
27
+ io_uring_prep_unlinkat(sqe, AT_FDCWD, old, 0);
28
+
29
+ ret = io_uring_submit(ring);
30
+ if (ret <= 0) {
31
+ fprintf(stderr, "sqe submit failed: %d\n", ret);
32
+ goto err;
33
+ }
34
+
35
+ ret = io_uring_wait_cqe(ring, &cqe);
36
+ if (ret < 0) {
37
+ fprintf(stderr, "wait completion %d\n", ret);
38
+ goto err;
39
+ }
40
+ ret = cqe->res;
41
+ io_uring_cqe_seen(ring, cqe);
42
+ return ret;
43
+ err:
44
+ return 1;
45
+ }
46
+
47
+ static int stat_file(const char *buf)
48
+ {
49
+ struct stat sb;
50
+
51
+ if (!stat(buf, &sb))
52
+ return 0;
53
+
54
+ return errno;
55
+ }
56
+
57
+ int main(int argc, char *argv[])
58
+ {
59
+ struct io_uring ring;
60
+ char buf[32] = "./XXXXXX";
61
+ int ret;
62
+
63
+ if (argc > 1)
64
+ return 0;
65
+
66
+ ret = io_uring_queue_init(1, &ring, 0);
67
+ if (ret) {
68
+ fprintf(stderr, "ring setup failed: %d\n", ret);
69
+ return 1;
70
+ }
71
+
72
+ ret = mkstemp(buf);
73
+ if (ret < 0) {
74
+ perror("mkstemp");
75
+ return 1;
76
+ }
77
+ close(ret);
78
+
79
+ if (stat_file(buf) != 0) {
80
+ perror("stat");
81
+ return 1;
82
+ }
83
+
84
+ ret = test_unlink(&ring, buf);
85
+ if (ret < 0) {
86
+ if (ret == -EBADF || ret == -EINVAL) {
87
+ fprintf(stdout, "Unlink not supported, skipping\n");
88
+ unlink(buf);
89
+ return 0;
90
+ }
91
+ fprintf(stderr, "rename: %s\n", strerror(-ret));
92
+ goto err;
93
+ } else if (ret)
94
+ goto err;
95
+
96
+ ret = stat_file(buf);
97
+ if (ret != ENOENT) {
98
+ fprintf(stderr, "stat got %s\n", strerror(ret));
99
+ return 1;
100
+ }
101
+
102
+ ret = test_unlink(&ring, "/3/2/3/1/z/y");
103
+ if (ret != -ENOENT) {
104
+ fprintf(stderr, "invalid unlink got %s\n", strerror(-ret));
105
+ return 1;
106
+ }
107
+
108
+ return 0;
109
+ err:
110
+ unlink(buf);
111
+ return 1;
112
+ }
@@ -0,0 +1,162 @@
1
+ /* SPDX-License-Identifier: MIT */
2
+ #include <sys/eventfd.h>
3
+ #include <unistd.h>
4
+ #include <stdio.h>
5
+ #include <stdlib.h>
6
+ #include <string.h>
7
+ #include <pthread.h>
8
+ #include <liburing.h>
9
+ #include <fcntl.h>
10
+ #include <poll.h>
11
+ #include <sys/time.h>
12
+
13
+ struct thread_data {
14
+ struct io_uring *ring;
15
+ int write_fd;
16
+ };
17
+
18
+ static void error_exit(char *message)
19
+ {
20
+ perror(message);
21
+ exit(1);
22
+ }
23
+
24
+ static void *listener_thread(void *data)
25
+ {
26
+ struct thread_data *td = data;
27
+ struct io_uring_cqe *cqe;
28
+ int ret;
29
+
30
+ ret = io_uring_wait_cqe(td->ring, &cqe);
31
+ if (ret < 0) {
32
+ fprintf(stderr, "Error waiting for completion: %s\n",
33
+ strerror(-ret));
34
+ goto err;
35
+ }
36
+ if (cqe->res < 0) {
37
+ fprintf(stderr, "Error in async operation: %s\n", strerror(-cqe->res));
38
+ goto err;
39
+ }
40
+ io_uring_cqe_seen(td->ring, cqe);
41
+ return NULL;
42
+ err:
43
+ return (void *) 1;
44
+ }
45
+
46
+ static void *wakeup_io_uring(void *data)
47
+ {
48
+ struct thread_data *td = data;
49
+ int res;
50
+
51
+ res = eventfd_write(td->write_fd, (eventfd_t) 1L);
52
+ if (res < 0) {
53
+ perror("eventfd_write");
54
+ return (void *) 1;
55
+ }
56
+ return NULL;
57
+ }
58
+
59
+ static int test_pipes(void)
60
+ {
61
+ struct io_uring_sqe *sqe;
62
+ struct thread_data td;
63
+ struct io_uring ring;
64
+ pthread_t t1, t2;
65
+ int ret, fds[2];
66
+ void *pret;
67
+
68
+ if (pipe(fds) < 0)
69
+ error_exit("eventfd");
70
+
71
+ ret = io_uring_queue_init(8, &ring, 0);
72
+ if (ret) {
73
+ fprintf(stderr, "Unable to setup io_uring: %s\n", strerror(-ret));
74
+ return 1;
75
+ }
76
+
77
+ td.write_fd = fds[1];
78
+ td.ring = &ring;
79
+
80
+ sqe = io_uring_get_sqe(&ring);
81
+ io_uring_prep_poll_add(sqe, fds[0], POLLIN);
82
+ sqe->user_data = 2;
83
+ ret = io_uring_submit(&ring);
84
+ if (ret != 1) {
85
+ fprintf(stderr, "ring_submit=%d\n", ret);
86
+ return 1;
87
+ }
88
+
89
+ pthread_create(&t1, NULL, listener_thread, &td);
90
+
91
+ sleep(1);
92
+
93
+ pthread_create(&t2, NULL, wakeup_io_uring, &td);
94
+ pthread_join(t1, &pret);
95
+
96
+ io_uring_queue_exit(&ring);
97
+ return pret != NULL;
98
+ }
99
+
100
+ static int test_eventfd(void)
101
+ {
102
+ struct io_uring_sqe *sqe;
103
+ struct thread_data td;
104
+ struct io_uring ring;
105
+ pthread_t t1, t2;
106
+ int efd, ret;
107
+ void *pret;
108
+
109
+ efd = eventfd(0, 0);
110
+ if (efd < 0)
111
+ error_exit("eventfd");
112
+
113
+ ret = io_uring_queue_init(8, &ring, 0);
114
+ if (ret) {
115
+ fprintf(stderr, "Unable to setup io_uring: %s\n", strerror(-ret));
116
+ return 1;
117
+ }
118
+
119
+ td.write_fd = efd;
120
+ td.ring = &ring;
121
+
122
+ sqe = io_uring_get_sqe(&ring);
123
+ io_uring_prep_poll_add(sqe, efd, POLLIN);
124
+ sqe->user_data = 2;
125
+ ret = io_uring_submit(&ring);
126
+ if (ret != 1) {
127
+ fprintf(stderr, "ring_submit=%d\n", ret);
128
+ return 1;
129
+ }
130
+
131
+ pthread_create(&t1, NULL, listener_thread, &td);
132
+
133
+ sleep(1);
134
+
135
+ pthread_create(&t2, NULL, wakeup_io_uring, &td);
136
+ pthread_join(t1, &pret);
137
+
138
+ io_uring_queue_exit(&ring);
139
+ return pret != NULL;
140
+ }
141
+
142
+ int main(int argc, char *argv[])
143
+ {
144
+ int ret;
145
+
146
+ if (argc > 1)
147
+ return 0;
148
+
149
+ ret = test_pipes();
150
+ if (ret) {
151
+ fprintf(stderr, "test_pipe failed\n");
152
+ return ret;
153
+ }
154
+
155
+ ret = test_eventfd();
156
+ if (ret) {
157
+ fprintf(stderr, "test_eventfd failed\n");
158
+ return ret;
159
+ }
160
+
161
+ return 0;
162
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: polyphony
3
3
  version: !ruby/object:Gem::Version
4
- version: '0.85'
4
+ version: '0.86'
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sharon Rosner
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-03-13 00:00:00.000000000 Z
11
+ date: 2022-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake-compiler
@@ -408,6 +408,227 @@ files:
408
408
  - test/test_throttler.rb
409
409
  - test/test_timer.rb
410
410
  - test/test_trace.rb
411
+ - vendor/liburing/.github/pull_request_template.md
412
+ - vendor/liburing/.github/workflows/build.yml
413
+ - vendor/liburing/.github/workflows/shellcheck.yml
414
+ - vendor/liburing/.gitignore
415
+ - vendor/liburing/COPYING
416
+ - vendor/liburing/COPYING.GPL
417
+ - vendor/liburing/LICENSE
418
+ - vendor/liburing/Makefile
419
+ - vendor/liburing/Makefile.common
420
+ - vendor/liburing/Makefile.quiet
421
+ - vendor/liburing/README
422
+ - vendor/liburing/configure
423
+ - vendor/liburing/debian/README.Debian
424
+ - vendor/liburing/debian/changelog
425
+ - vendor/liburing/debian/compat
426
+ - vendor/liburing/debian/control
427
+ - vendor/liburing/debian/copyright
428
+ - vendor/liburing/debian/liburing-dev.install
429
+ - vendor/liburing/debian/liburing-dev.manpages
430
+ - vendor/liburing/debian/liburing1-udeb.install
431
+ - vendor/liburing/debian/liburing1.install
432
+ - vendor/liburing/debian/liburing1.symbols
433
+ - vendor/liburing/debian/patches/series
434
+ - vendor/liburing/debian/rules
435
+ - vendor/liburing/debian/source/format
436
+ - vendor/liburing/debian/source/local-options
437
+ - vendor/liburing/debian/source/options
438
+ - vendor/liburing/debian/watch
439
+ - vendor/liburing/examples/Makefile
440
+ - vendor/liburing/examples/io_uring-cp.c
441
+ - vendor/liburing/examples/io_uring-test.c
442
+ - vendor/liburing/examples/link-cp.c
443
+ - vendor/liburing/examples/ucontext-cp.c
444
+ - vendor/liburing/liburing.pc.in
445
+ - vendor/liburing/liburing.spec
446
+ - vendor/liburing/make-debs.sh
447
+ - vendor/liburing/man/io_uring.7
448
+ - vendor/liburing/man/io_uring_cq_advance.3
449
+ - vendor/liburing/man/io_uring_cq_ready.3
450
+ - vendor/liburing/man/io_uring_cqe_get_data.3
451
+ - vendor/liburing/man/io_uring_cqe_seen.3
452
+ - vendor/liburing/man/io_uring_enter.2
453
+ - vendor/liburing/man/io_uring_free_probe.3
454
+ - vendor/liburing/man/io_uring_get_probe.3
455
+ - vendor/liburing/man/io_uring_get_sqe.3
456
+ - vendor/liburing/man/io_uring_opcode_supported.3
457
+ - vendor/liburing/man/io_uring_prep_msg_ring.3
458
+ - vendor/liburing/man/io_uring_prep_read.3
459
+ - vendor/liburing/man/io_uring_prep_read_fixed.3
460
+ - vendor/liburing/man/io_uring_prep_readv.3
461
+ - vendor/liburing/man/io_uring_prep_readv2.3
462
+ - vendor/liburing/man/io_uring_prep_write.3
463
+ - vendor/liburing/man/io_uring_prep_write_fixed.3
464
+ - vendor/liburing/man/io_uring_prep_writev.3
465
+ - vendor/liburing/man/io_uring_prep_writev2.3
466
+ - vendor/liburing/man/io_uring_queue_exit.3
467
+ - vendor/liburing/man/io_uring_queue_init.3
468
+ - vendor/liburing/man/io_uring_register.2
469
+ - vendor/liburing/man/io_uring_register_buffers.3
470
+ - vendor/liburing/man/io_uring_register_files.3
471
+ - vendor/liburing/man/io_uring_setup.2
472
+ - vendor/liburing/man/io_uring_sq_ready.3
473
+ - vendor/liburing/man/io_uring_sq_space_left.3
474
+ - vendor/liburing/man/io_uring_sqe_set_data.3
475
+ - vendor/liburing/man/io_uring_sqe_set_flags.3
476
+ - vendor/liburing/man/io_uring_sqring_wait.3
477
+ - vendor/liburing/man/io_uring_submit.3
478
+ - vendor/liburing/man/io_uring_submit_and_wait.3
479
+ - vendor/liburing/man/io_uring_submit_and_wait_timeout.3
480
+ - vendor/liburing/man/io_uring_unregister_buffers.3
481
+ - vendor/liburing/man/io_uring_unregister_files.3
482
+ - vendor/liburing/man/io_uring_wait_cqe.3
483
+ - vendor/liburing/man/io_uring_wait_cqe_nr.3
484
+ - vendor/liburing/man/io_uring_wait_cqe_timeout.3
485
+ - vendor/liburing/man/io_uring_wait_cqes.3
486
+ - vendor/liburing/src/Makefile
487
+ - vendor/liburing/src/arch/aarch64/syscall.h
488
+ - vendor/liburing/src/arch/generic/lib.h
489
+ - vendor/liburing/src/arch/generic/syscall.h
490
+ - vendor/liburing/src/arch/syscall-defs.h
491
+ - vendor/liburing/src/arch/x86/lib.h
492
+ - vendor/liburing/src/arch/x86/syscall.h
493
+ - vendor/liburing/src/include/liburing.h
494
+ - vendor/liburing/src/include/liburing/barrier.h
495
+ - vendor/liburing/src/include/liburing/io_uring.h
496
+ - vendor/liburing/src/int_flags.h
497
+ - vendor/liburing/src/lib.h
498
+ - vendor/liburing/src/liburing.map
499
+ - vendor/liburing/src/nolibc.c
500
+ - vendor/liburing/src/queue.c
501
+ - vendor/liburing/src/register.c
502
+ - vendor/liburing/src/setup.c
503
+ - vendor/liburing/src/syscall.c
504
+ - vendor/liburing/src/syscall.h
505
+ - vendor/liburing/test/232c93d07b74-test.c
506
+ - vendor/liburing/test/35fa71a030ca-test.c
507
+ - vendor/liburing/test/500f9fbadef8-test.c
508
+ - vendor/liburing/test/7ad0e4b2f83c-test.c
509
+ - vendor/liburing/test/8a9973408177-test.c
510
+ - vendor/liburing/test/917257daa0fe-test.c
511
+ - vendor/liburing/test/Makefile
512
+ - vendor/liburing/test/a0908ae19763-test.c
513
+ - vendor/liburing/test/a4c0b3decb33-test.c
514
+ - vendor/liburing/test/accept-link.c
515
+ - vendor/liburing/test/accept-reuse.c
516
+ - vendor/liburing/test/accept-test.c
517
+ - vendor/liburing/test/accept.c
518
+ - vendor/liburing/test/across-fork.c
519
+ - vendor/liburing/test/b19062a56726-test.c
520
+ - vendor/liburing/test/b5837bd5311d-test.c
521
+ - vendor/liburing/test/ce593a6c480a-test.c
522
+ - vendor/liburing/test/close-opath.c
523
+ - vendor/liburing/test/config
524
+ - vendor/liburing/test/connect.c
525
+ - vendor/liburing/test/cq-full.c
526
+ - vendor/liburing/test/cq-overflow.c
527
+ - vendor/liburing/test/cq-peek-batch.c
528
+ - vendor/liburing/test/cq-ready.c
529
+ - vendor/liburing/test/cq-size.c
530
+ - vendor/liburing/test/d4ae271dfaae-test.c
531
+ - vendor/liburing/test/d77a67ed5f27-test.c
532
+ - vendor/liburing/test/defer.c
533
+ - vendor/liburing/test/double-poll-crash.c
534
+ - vendor/liburing/test/drop-submit.c
535
+ - vendor/liburing/test/eeed8b54e0df-test.c
536
+ - vendor/liburing/test/empty-eownerdead.c
537
+ - vendor/liburing/test/eventfd-disable.c
538
+ - vendor/liburing/test/eventfd-reg.c
539
+ - vendor/liburing/test/eventfd-ring.c
540
+ - vendor/liburing/test/eventfd.c
541
+ - vendor/liburing/test/exec-target.c
542
+ - vendor/liburing/test/exit-no-cleanup.c
543
+ - vendor/liburing/test/fadvise.c
544
+ - vendor/liburing/test/fallocate.c
545
+ - vendor/liburing/test/fc2a85cb02ef-test.c
546
+ - vendor/liburing/test/file-register.c
547
+ - vendor/liburing/test/file-update.c
548
+ - vendor/liburing/test/file-verify.c
549
+ - vendor/liburing/test/files-exit-hang-poll.c
550
+ - vendor/liburing/test/files-exit-hang-timeout.c
551
+ - vendor/liburing/test/fixed-link.c
552
+ - vendor/liburing/test/fpos.c
553
+ - vendor/liburing/test/fsync.c
554
+ - vendor/liburing/test/hardlink.c
555
+ - vendor/liburing/test/helpers.c
556
+ - vendor/liburing/test/helpers.h
557
+ - vendor/liburing/test/io-cancel.c
558
+ - vendor/liburing/test/io_uring_enter.c
559
+ - vendor/liburing/test/io_uring_register.c
560
+ - vendor/liburing/test/io_uring_setup.c
561
+ - vendor/liburing/test/iopoll.c
562
+ - vendor/liburing/test/lfs-openat-write.c
563
+ - vendor/liburing/test/lfs-openat.c
564
+ - vendor/liburing/test/link-timeout.c
565
+ - vendor/liburing/test/link.c
566
+ - vendor/liburing/test/link_drain.c
567
+ - vendor/liburing/test/madvise.c
568
+ - vendor/liburing/test/mkdir.c
569
+ - vendor/liburing/test/msg-ring.c
570
+ - vendor/liburing/test/multicqes_drain.c
571
+ - vendor/liburing/test/nop-all-sizes.c
572
+ - vendor/liburing/test/nop.c
573
+ - vendor/liburing/test/open-close.c
574
+ - vendor/liburing/test/openat2.c
575
+ - vendor/liburing/test/personality.c
576
+ - vendor/liburing/test/pipe-eof.c
577
+ - vendor/liburing/test/pipe-reuse.c
578
+ - vendor/liburing/test/poll-cancel-ton.c
579
+ - vendor/liburing/test/poll-cancel.c
580
+ - vendor/liburing/test/poll-link.c
581
+ - vendor/liburing/test/poll-many.c
582
+ - vendor/liburing/test/poll-mshot-update.c
583
+ - vendor/liburing/test/poll-ring.c
584
+ - vendor/liburing/test/poll-v-poll.c
585
+ - vendor/liburing/test/poll.c
586
+ - vendor/liburing/test/pollfree.c
587
+ - vendor/liburing/test/probe.c
588
+ - vendor/liburing/test/read-write.c
589
+ - vendor/liburing/test/register-restrictions.c
590
+ - vendor/liburing/test/rename.c
591
+ - vendor/liburing/test/ring-leak.c
592
+ - vendor/liburing/test/ring-leak2.c
593
+ - vendor/liburing/test/rsrc_tags.c
594
+ - vendor/liburing/test/runtests-loop.sh
595
+ - vendor/liburing/test/runtests.sh
596
+ - vendor/liburing/test/rw_merge_test.c
597
+ - vendor/liburing/test/self.c
598
+ - vendor/liburing/test/send_recv.c
599
+ - vendor/liburing/test/send_recvmsg.c
600
+ - vendor/liburing/test/sendmsg_fs_cve.c
601
+ - vendor/liburing/test/shared-wq.c
602
+ - vendor/liburing/test/short-read.c
603
+ - vendor/liburing/test/shutdown.c
604
+ - vendor/liburing/test/sigfd-deadlock.c
605
+ - vendor/liburing/test/skip-cqe.c
606
+ - vendor/liburing/test/socket-rw-eagain.c
607
+ - vendor/liburing/test/socket-rw-offset.c
608
+ - vendor/liburing/test/socket-rw.c
609
+ - vendor/liburing/test/splice.c
610
+ - vendor/liburing/test/sq-full-cpp.cc
611
+ - vendor/liburing/test/sq-full.c
612
+ - vendor/liburing/test/sq-poll-dup.c
613
+ - vendor/liburing/test/sq-poll-kthread.c
614
+ - vendor/liburing/test/sq-poll-share.c
615
+ - vendor/liburing/test/sq-space_left.c
616
+ - vendor/liburing/test/sqpoll-cancel-hang.c
617
+ - vendor/liburing/test/sqpoll-disable-exit.c
618
+ - vendor/liburing/test/sqpoll-exit-hang.c
619
+ - vendor/liburing/test/sqpoll-sleep.c
620
+ - vendor/liburing/test/statx.c
621
+ - vendor/liburing/test/stdout.c
622
+ - vendor/liburing/test/submit-link-fail.c
623
+ - vendor/liburing/test/submit-reuse.c
624
+ - vendor/liburing/test/symlink.c
625
+ - vendor/liburing/test/teardowns.c
626
+ - vendor/liburing/test/thread-exit.c
627
+ - vendor/liburing/test/timeout-new.c
628
+ - vendor/liburing/test/timeout-overflow.c
629
+ - vendor/liburing/test/timeout.c
630
+ - vendor/liburing/test/unlink.c
631
+ - vendor/liburing/test/wakeup-hang.c
411
632
  homepage: https://digital-fabric.github.io/polyphony
412
633
  licenses:
413
634
  - MIT