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
unittest-data
Kconfig -rw-r--r-- 2.3 KB
Makefile -rw-r--r-- 659 bytes
address.c -rw-r--r-- 24.7 KB
base.c -rw-r--r-- 59.7 KB
device.c -rw-r--r-- 8.2 KB
dynamic.c -rw-r--r-- 22.6 KB
fdt.c -rw-r--r-- 31.6 KB
fdt_address.c -rw-r--r-- 6.2 KB
irq.c -rw-r--r-- 18.6 KB
kobj.c -rw-r--r-- 3.8 KB
of_mdio.c -rw-r--r-- 13.4 KB
of_net.c -rw-r--r-- 3.4 KB
of_numa.c -rw-r--r-- 3.9 KB
of_private.h -rw-r--r-- 5.4 KB
of_reserved_mem.c -rw-r--r-- 10.3 KB
overlay.c -rw-r--r-- 34.2 KB
pdt.c -rw-r--r-- 4.8 KB
platform.c -rw-r--r-- 20.0 KB
property.c -rw-r--r-- 38.7 KB
resolver.c -rw-r--r-- 8.6 KB
unittest.c -rw-r--r-- 68.9 KB

back to top