aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/fs/io-wq.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2019-11-20 13:03:52 -0700
committerJens Axboe <axboe@kernel.dk>2019-11-25 19:56:06 -0700
commit4d7dd462971405c65bfb3821dbb6b9ce13b5e8d6 (patch)
tree28a4959486c3c775a477a2c7e0cb26e158de5752 /fs/io-wq.c
parentio_uring: io_allocate_scq_urings() should return a sane state (diff)
downloadwireguard-linux-4d7dd462971405c65bfb3821dbb6b9ce13b5e8d6.tar.xz
wireguard-linux-4d7dd462971405c65bfb3821dbb6b9ce13b5e8d6.zip
io_uring: allow finding next link independent of req reference count
We currently try and start the next link when we put the request, and only if we were going to free it. This means that the optimization to continue executing requests from the same context often fails, as we're not putting the final reference. Add REQ_F_LINK_NEXT to keep track of this, and allow io_uring to find the next request more efficiently. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'fs/io-wq.c')
0 files changed, 0 insertions, 0 deletions