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>
Wed, 10 Mar 2021 14:31:36 +0000 (07:31 -0700)
commitb1c4d7014ae531a080410abcd5a193e57bb8e2b6
tree043805be0a7972db0cd3f068bea6796985b52d26
parentf6fab9684320076cf830aae7e0e5feaa5d740f5d
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