]> www.infradead.org Git - users/jedix/linux-maple.git/commit
io_uring: consolidate drain seq checking
authorPavel Begunkov <asml.silence@gmail.com>
Fri, 9 May 2025 11:12:51 +0000 (12:12 +0100)
committerJens Axboe <axboe@kernel.dk>
Fri, 9 May 2025 14:01:02 +0000 (08:01 -0600)
commit19a94da447f832ee614f8f5532d31c1c70061520
tree292178a7aa733a844698658eaef075786ab7331d
parente91e4f692f7993d5d192228c5f8a9a2e12ff5250
io_uring: consolidate drain seq checking

We check sequences when queuing drained requests as well when flushing
them. Instead, always queue and immediately try to flush, so that all
seq handling can be kept contained in the flushing code.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/d4651f742e671af5b3216581e539ea5d31bc7125.1746788718.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io_uring.c