]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: move provided and fixed buffers into the same io_kiocb area
authorJens Axboe <axboe@kernel.dk>
Sat, 30 Apr 2022 20:35:17 +0000 (14:35 -0600)
committerJens Axboe <axboe@kernel.dk>
Mon, 9 May 2022 12:29:06 +0000 (06:29 -0600)
commit473d67c192f7f051fd07f58793c698bb134a9a18
tree67c453875c47912aa4bf064105ff3281363443d6
parentadb697daaa63c8267051305e5ef9ea7c3d9c6c34
io_uring: move provided and fixed buffers into the same io_kiocb area

These are mutually exclusive - if you use provided buffers, then you
cannot use fixed buffers and vice versa. Move them into the same spot
in the io_kiocb, which is also advantageous for provided buffers as
they get near the submit side hot cacheline.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c