summaryrefslogtreecommitdiffstats
path: root/io_uring/rw.c
diff options
context:
space:
mode:
authorJens Axboe <axboe@kernel.dk>2024-01-29 04:11:55 +0100
committerJens Axboe <axboe@kernel.dk>2024-02-08 21:27:06 +0100
commit521223d7c229f83915619f888c99e952f24dc39f (patch)
treeb19885749949ac462562ebc474b8964edc85331f /io_uring/rw.c
parentio_uring: expand main struct io_kiocb flags to 64-bits (diff)
downloadlinux-521223d7c229f83915619f888c99e952f24dc39f.tar.xz
linux-521223d7c229f83915619f888c99e952f24dc39f.zip
io_uring/cancel: don't default to setting req->work.cancel_seq
Just leave it unset by default, avoiding dipping into the last cacheline (which is otherwise untouched) for the fast path of using poll to drive networked traffic. Add a flag that tells us if the sequence is valid or not, and then we can defer actually assigning the flag and sequence until someone runs cancelations. Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'io_uring/rw.c')
0 files changed, 0 insertions, 0 deletions