io_uring: lockdep annotate CQ locking
authorPavel Begunkov <asml.silence@gmail.com>
Wed, 4 Jan 2023 01:34:57 +0000 (01:34 +0000)
committerJens Axboe <axboe@kernel.dk>
Wed, 4 Jan 2023 02:05:41 +0000 (19:05 -0700)
commitf26cc9593581bd734c846bf827401350b36dc3c9
tree8d3da3597311050876afa42e23207deb939ab2fc
parent9ffa13ff78a0a55df968a72d6f0ebffccee5c9f4
io_uring: lockdep annotate CQ locking

Locking around CQE posting is complex and depends on options the ring is
created with, add more thorough lockdep annotations checking all
invariants.

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