]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: consolidate hash_locked io-wq handling
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 7 Jul 2022 14:13:17 +0000 (15:13 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:17 +0000 (18:39 -0600)
commitcb34d28bf5b599f6d1f4803bc11f5745150a7612
tree366ecb0bfbd0c068d73620267699b6dc96ec2212
parent75bad62e5b58518c48a50ee42009fb1824c885e9
io_uring: consolidate hash_locked io-wq handling

Don't duplicate code disabling REQ_F_HASH_LOCKED for IO_URING_F_UNLOCKED
(i.e. io-wq), move the handling into __io_arm_poll_handler().

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