io_uring: add a helper failing not issued requests
authorPavel Begunkov <asml.silence@gmail.com>
Sun, 28 Feb 2021 22:35:12 +0000 (22:35 +0000)
committerJens Axboe <axboe@kernel.dk>
Sun, 4 Apr 2021 21:27:17 +0000 (15:27 -0600)
commit1fc82815dc9ae9b95b6a2d1441fc6ac30b2014c7
tree4b6280071c0edccbd1faa2ff04c3069399f79eea
parent0d21d3ea31f6ebb847e12a3f0455c8790ead66be
io_uring: add a helper failing not issued requests

Add a simple helper doing CQE posting, marking request for link-failure,
and putting both submission and completion references.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
fs/io_uring.c