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-- 1.7 KB
Makefile -rw-r--r-- 641 bytes
ccp-crypto-aes-cmac.c -rw-r--r-- 9.9 KB
ccp-crypto-aes-galois.c -rw-r--r-- 5.8 KB
ccp-crypto-aes-xts.c -rw-r--r-- 7.3 KB
ccp-crypto-aes.c -rw-r--r-- 8.8 KB
ccp-crypto-des3.c -rw-r--r-- 5.6 KB
ccp-crypto-main.c -rw-r--r-- 10.3 KB
ccp-crypto-rsa.c -rw-r--r-- 6.7 KB
ccp-crypto-sha.c -rw-r--r-- 12.6 KB
ccp-crypto.h -rw-r--r-- 5.6 KB
ccp-debugfs.c -rw-r--r-- 8.6 KB
ccp-dev-v3.c -rw-r--r-- 14.7 KB
ccp-dev-v5.c -rw-r--r-- 30.0 KB
ccp-dev.c -rw-r--r-- 15.3 KB
ccp-dev.h -rw-r--r-- 16.0 KB
ccp-dmaengine.c -rw-r--r-- 18.0 KB
ccp-ops.c -rw-r--r-- 60.8 KB
psp-dev.c -rw-r--r-- 26.9 KB
psp-dev.h -rw-r--r-- 1.4 KB
sp-dev.c -rw-r--r-- 5.9 KB
sp-dev.h -rw-r--r-- 3.8 KB
sp-pci.c -rw-r--r-- 6.9 KB
sp-platform.c -rw-r--r-- 5.0 KB

back to top