* Test doing min_wait for N events, where 0 events are already available * on wait enter but N/2 are posted within the min_wait window. We'll expect to * return when the min_wait window expires. */
| 124 | * return when the min_wait window expires. |
| 125 | */ |
| 126 | static int test_some_wait(struct io_uring *ring) |
| 127 | { |
| 128 | return __test_writes(ring, 2, 1000, 100000, 95, 120, __FUNCTION__); |
| 129 | } |
| 130 | |
| 131 | /* |
| 132 | * Test doing min_wait for N events, where 0 events are already available |