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>
Thu, 25 Mar 2021 16:24:16 +0000 (10:24 -0600)
commitd6e4ee7a1a79c432554e4c148b979d6442ff7b6b
treea98b3a3be470a090d60b1ad34e7b51d35c59720c
parente6813419d4fb28f77da99884b75211f55fdf000b
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