io_uring: add more uring info to fdinfo for debug
authorHao Xu <haoxu@linux.alibaba.com>
Mon, 13 Sep 2021 13:08:54 +0000 (21:08 +0800)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:49:52 +0000 (05:49 -0600)
commit83f84356bc8f2dda9d0c9c7edb94decf71a36d26
treec72438a88a277924992dd21f4becfef28806a107
parentd97ec6239ad8684e4d31b12b39cefca6782c09a3
io_uring: add more uring info to fdinfo for debug

Developers may need some uring info to help themselves debug and address
issues in production. This includes sqring/cqring head/tail and the
detailed sqe/cqe info, which is very useful when an application is hung
on a ring.

Signed-off-by: Hao Xu <haoxu@linux.alibaba.com>
Link: https://lore.kernel.org/r/20210913130854.38542-1-haoxu@linux.alibaba.com
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c