Skip to content

Commit bc5c293

Browse files
committed
Fix pad renamed to min_wait_usec in io_uring_getevents_arg
Since 6.12, the third field in io_uring_getevents_arg can be set to a non-zero value to enable a timeout to start only waiting for a single completion instead of the minimum specified in the io_uring_enter call.
1 parent 7ad4f7f commit bc5c293

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/types.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ impl<'prev, 'now> SubmitArgs<'prev, 'now> {
239239
let args = sys::io_uring_getevents_arg {
240240
sigmask: 0,
241241
sigmask_sz: 0,
242-
pad: 0,
242+
min_wait_usec: 0,
243243
ts: 0,
244244
};
245245

0 commit comments

Comments
 (0)