io_uring: explain io_wq_work::cancel_seq placement
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 15 Jun 2022 16:33:52 +0000 (17:33 +0100)
committerJens Axboe <axboe@kernel.dk>
Wed, 22 Jun 2022 17:30:57 +0000 (11:30 -0600)
commit532a87ea66ebcf05e4125069c4cecad47b7cbd9b
tree48e3b09659d1fe5ac82f268d64d0df1c7d13c97d
parent797bb931786515436c5d0d0c23cbe9e2ec847a92
io_uring: explain io_wq_work::cancel_seq placement

Add a comment on why we keep ->cancel_seq in struct io_wq_work instead
of struct io_kiocb despite it needed only by io_uring but not io-wq.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Link: https://lore.kernel.org/r/988e87eec9dc700b5dae933df3aefef303502f6c.1655310733.git.asml.silence@gmail.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
io_uring/io-wq.h