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
chips
devices
hyperbus
lpddr
maps
nand
parsers
spi-nor
tests
ubi
Kconfig -rw-r--r-- 7.3 KB
Makefile -rw-r--r-- 924 bytes
ftl.c -rw-r--r-- 30.6 KB
inftlcore.c -rw-r--r-- 23.8 KB
inftlmount.c -rw-r--r-- 21.8 KB
mtd_blkdevs.c -rw-r--r-- 13.5 KB
mtdblock.c -rw-r--r-- 8.5 KB
mtdblock_ro.c -rw-r--r-- 1.8 KB
mtdchar.c -rw-r--r-- 25.0 KB
mtdconcat.c -rw-r--r-- 20.7 KB
mtdcore.c -rw-r--r-- 51.7 KB
mtdcore.h -rw-r--r-- 934 bytes
mtdoops.c -rw-r--r-- 10.7 KB
mtdpart.c -rw-r--r-- 27.8 KB
mtdsuper.c -rw-r--r-- 5.0 KB
mtdswap.c -rw-r--r-- 33.3 KB
nftlcore.c -rw-r--r-- 22.3 KB
nftlmount.c -rw-r--r-- 25.2 KB
rfd_ftl.c -rw-r--r-- 17.6 KB
sm_ftl.c -rw-r--r-- 30.0 KB
sm_ftl.h -rw-r--r-- 2.2 KB
ssfdc.c -rw-r--r-- 11.2 KB

back to top