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
Makefile -rw-r--r-- 794 bytes
mtd_nandecctest.c -rw-r--r-- 8.3 KB
mtd_test.c -rw-r--r-- 2.1 KB
mtd_test.h -rw-r--r-- 735 bytes
nandbiterrs.c -rw-r--r-- 9.6 KB
oobtest.c -rw-r--r-- 17.0 KB
pagetest.c -rw-r--r-- 10.1 KB
readtest.c -rw-r--r-- 4.4 KB
speedtest.c -rw-r--r-- 8.4 KB
stresstest.c -rw-r--r-- 5.0 KB
subpagetest.c -rw-r--r-- 10.1 KB
torturetest.c -rw-r--r-- 11.2 KB

back to top