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-- 351 bytes
cc_aead.c -rw-r--r-- 77.3 KB
cc_aead.h -rw-r--r-- 3.4 KB
cc_buffer_mgr.c -rw-r--r-- 44.2 KB
cc_buffer_mgr.h -rw-r--r-- 1.9 KB
cc_cipher.c -rw-r--r-- 45.8 KB
cc_cipher.h -rw-r--r-- 787 bytes
cc_crypto_ctx.h -rw-r--r-- 3.5 KB
cc_debugfs.c -rw-r--r-- 2.9 KB
cc_debugfs.h -rw-r--r-- 637 bytes
cc_driver.c -rw-r--r-- 16.8 KB
cc_driver.h -rw-r--r-- 6.4 KB
cc_fips.c -rw-r--r-- 3.8 KB
cc_fips.h -rw-r--r-- 1.1 KB
cc_hash.c -rw-r--r-- 68.0 KB
cc_hash.h -rw-r--r-- 2.9 KB
cc_host_regs.h -rw-r--r-- 14.3 KB
cc_hw_queue_defs.h -rw-r--r-- 16.6 KB
cc_kernel_regs.h -rw-r--r-- 8.8 KB
cc_lli_defs.h -rw-r--r-- 1.7 KB
cc_pm.c -rw-r--r-- 3.0 KB
cc_pm.h -rw-r--r-- 1.3 KB
cc_request_mgr.c -rw-r--r-- 19.7 KB
cc_request_mgr.h -rw-r--r-- 1.4 KB
cc_sram_mgr.c -rw-r--r-- 3.1 KB
cc_sram_mgr.h -rw-r--r-- 1.7 KB

back to top