Commit 6f94cbc2 authored by Jens Axboe's avatar Jens Axboe
Browse files

io_uring/rsrc: split io_kiocb node type assignments



Currently the io_rsrc_node assignment in io_kiocb is an array of two
pointers, as two nodes may be assigned to a request - one file node,
and one buffer node. However, the buffer node can co-exist with the
provided buffers, as currently it's not supported to use both provided
and registered buffers at the same time.

This crucially brings struct io_kiocb down to 4 cache lines again, as
before it spilled into the 5th cacheline.

Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 6af82f76
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment