Revision 2e6e1fde32d7d41cf076c21060c329d3fdbce25c authored by Pavel Begunkov on 05 December 2019, 13:15:45 UTC, committed by Jens Axboe on 05 December 2019, 13:54:51 UTC
In case of an error io_submit_sqe() drops a request and continues
without it, even if the request was a part of a link. Not only it
doesn't cancel links, but also may execute wrong sequence of actions.

Stop consuming sqes, and let the user handle errors.

Signed-off-by: Pavel Begunkov <asml.silence@gmail.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
1 parent 78076bb
History
File Mode Size
Kconfig -rw-r--r-- 429 bytes
Makefile -rw-r--r-- 197 bytes
call.c -rw-r--r-- 16.3 KB
core.c -rw-r--r-- 17.8 KB
device.c -rw-r--r-- 3.8 KB
optee_msg.h -rw-r--r-- 14.3 KB
optee_private.h -rw-r--r-- 5.7 KB
optee_smc.h -rw-r--r-- 13.8 KB
rpc.c -rw-r--r-- 10.3 KB
shm_pool.c -rw-r--r-- 1.5 KB
shm_pool.h -rw-r--r-- 260 bytes
supp.c -rw-r--r-- 8.8 KB

back to top