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
i386
x86_64
amd-memory-encryption.rst -rw-r--r-- 4.4 KB
boot.rst -rw-r--r-- 49.1 KB
earlyprintk.rst -rw-r--r-- 6.2 KB
entry_64.rst -rw-r--r-- 4.2 KB
exception-tables.rst -rw-r--r-- 13.3 KB
index.rst -rw-r--r-- 476 bytes
intel-iommu.rst -rw-r--r-- 3.9 KB
intel_mpx.rst -rw-r--r-- 11.1 KB
intel_txt.rst -rw-r--r-- 10.3 KB
kernel-stacks.rst -rw-r--r-- 6.5 KB
mds.rst -rw-r--r-- 8.5 KB
microcode.rst -rw-r--r-- 4.0 KB
mtrr.rst -rw-r--r-- 11.6 KB
orc-unwinder.rst -rw-r--r-- 8.0 KB
pat.rst -rw-r--r-- 11.7 KB
pti.rst -rw-r--r-- 8.9 KB
resctrl_ui.rst -rw-r--r-- 42.3 KB
tlb.rst -rw-r--r-- 3.6 KB
topology.rst -rw-r--r-- 6.9 KB
tsx_async_abort.rst -rw-r--r-- 6.8 KB
usb-legacy-support.rst -rw-r--r-- 1.8 KB
zero-page.rst -rw-r--r-- 2.1 KB

back to top