io_uring: use persistent request cache
authorJens Axboe <axboe@kernel.dk>
Wed, 10 Feb 2021 00:03:19 +0000 (00:03 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 10 Feb 2021 14:28:43 +0000 (07:28 -0700)
commit1b4c351f6eb7467c77fc19e0cd7e5f0083ecd847
tree7c8a680982902bcaa4ca9934fb07eb3fd5626098
parent6ff119a6e4c3fe900e75e6667930dc086f185f2b
io_uring: use persistent request cache

Now that we have the submit_state in the ring itself, we can have io_kiocb
allocations that are persistent across invocations. This reduces the time
spent doing slab allocations and frees.

[sil: rebased]
Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c