]> git.baikalelectronics.ru Git - kernel.git/commit
io_uring: dump sqe contents if issue fails
authorJens Axboe <axboe@kernel.dk>
Sat, 11 Sep 2021 22:04:50 +0000 (16:04 -0600)
committerJens Axboe <axboe@kernel.dk>
Tue, 19 Oct 2021 11:49:52 +0000 (05:49 -0600)
commit559ca2ad99f24548ddee8b1c5c75b53b3d5d319b
treef3b41d525eb425c76db61e8b69ece1eeeb7abfb2
parentcb10e437efc6567e43e2433300b175ff84576187
io_uring: dump sqe contents if issue fails

I recently had to look at a production problem where a request ended
up getting the dreaded -EINVAL error on submit. The most used and
hence useless of error codes, as it just tells you that something
was wrong with your request, but not more than that.

Let's dump the full sqe contents if we run into an issue failure,
that'll allow easier diagnosing of a wide variety of issues.

Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c
include/trace/events/io_uring.h