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>
Mon, 22 Mar 2021 13:42:44 +0000 (07:42 -0600)
commit23319fde7214a99e2feed2b23da6c5648572ff79
treef951ca4f7808d2c58530bfa76f6870d2c897bef4
parent87c6cf0a58f38329741c93fe3546afaadb8794bd
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