summaryrefslogtreecommitdiff
path: root/io_uring/cancel.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-01-29 06:05:47 +0300
committerJens Axboe <axboe@kernel.dk>2024-02-08 23:27:03 +0300
commit4bcb982cce74e18155fba0d97394ca9634e0d8f0 (patch)
treecfbaa74fe21d99a8175d9f23b1b8d3a579bd2562 /io_uring/cancel.c
parent5492a490e64ed47483a0b28f10ba07eef4a47edb (diff)
downloadlinux-4bcb982cce74e18155fba0d97394ca9634e0d8f0.tar.xz
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>
Diffstat (limited to 'io_uring/cancel.c')
0 files changed, 0 insertions, 0 deletions