-
- Downloads
io_uring: expand main struct io_kiocb flags to 64-bits
We're out of space here, and none of the flags are easily reclaimable.
Bump it to 64-bits and re-arrange the struct a bit to avoid gaps.
Add a specific bitwise type for the request flags, io_request_flags_t.
This will help catch violations of casting this value to a smaller type
on 32-bit archs, like unsigned int.
This creates a hole in the io_kiocb, so move nr_tw up and rsrc_node down
to retain needing only cacheline 0 and 1 for non-polled opcodes.
No functional changes intended in this patch.
Signed-off-by:
Jens Axboe <axboe@kernel.dk>
Showing
- include/linux/io_uring_types.h 42 additions, 35 deletionsinclude/linux/io_uring_types.h
- include/trace/events/io_uring.h 10 additions, 10 deletionsinclude/trace/events/io_uring.h
- io_uring/filetable.h 1 addition, 1 deletionio_uring/filetable.h
- io_uring/io_uring.c 5 additions, 4 deletionsio_uring/io_uring.c
Loading
Please register or sign in to comment