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-- 4.5 KB
Makefile -rw-r--r-- 290 bytes
attach.c -rw-r--r-- 51.4 KB
block.c -rw-r--r-- 16.7 KB
build.c -rw-r--r-- 41.9 KB
cdev.c -rw-r--r-- 24.0 KB
debug.c -rw-r--r-- 16.2 KB
debug.h -rw-r--r-- 4.0 KB
eba.c -rw-r--r-- 46.0 KB
fastmap-wl.c -rw-r--r-- 8.8 KB
fastmap.c -rw-r--r-- 40.3 KB
gluebi.c -rw-r--r-- 13.4 KB
io.c -rw-r--r-- 40.5 KB
kapi.c -rw-r--r-- 24.3 KB
misc.c -rw-r--r-- 4.7 KB
ubi-media.h -rw-r--r-- 20.0 KB
ubi.h -rw-r--r-- 41.0 KB
upd.c -rw-r--r-- 12.0 KB
vmt.c -rw-r--r-- 21.3 KB
vtbl.c -rw-r--r-- 23.8 KB
wl.c -rw-r--r-- 54.9 KB
wl.h -rw-r--r-- 1.2 KB

back to top