]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: clear REQ_F_HASH_LOCKED on hash removal
authorPavel Begunkov <asml.silence@gmail.com>
Thu, 7 Jul 2022 14:13:16 +0000 (15:13 +0100)
committerJens Axboe <axboe@kernel.dk>
Mon, 25 Jul 2022 00:39:17 +0000 (18:39 -0600)
commit75bad62e5b58518c48a50ee42009fb1824c885e9
treef3e46e18d5f03728097698e71a5f76abcbb168f1
parent272312e24237a61b334cdbd48dc9a1d4bb70ed68
io_uring: clear REQ_F_HASH_LOCKED on hash removal

Instead of clearing REQ_F_HASH_LOCKED while arming a poll, unset the bit
when we're removing the entry from the table in io_poll_tw_hash_eject().

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