* Test doing min_wait for N events, where 0 events are already available * on wait enter and one is posted after the min_wait timeout has expired. * That first event should cause wait to abort, even if the task has asked * for more to wait on. */
| 145 | * for more to wait on. |
| 146 | */ |
| 147 | static int test_late(struct io_uring *ring) |
| 148 | { |
| 149 | return __test_writes(ring, 1, 100000, 10000, 95, 120, __FUNCTION__); |
| 150 | } |
| 151 | |
| 152 | static int __test_nop(struct io_uring *ring, int nr_nops, int min_t, int max_t, |
| 153 | unsigned long long_wait, const char *name) |