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
CREDITS -rw-r--r-- 7.2 KB
acm.rst -rw-r--r-- 4.9 KB
authorization.rst -rw-r--r-- 3.9 KB
chipidea.rst -rw-r--r-- 3.7 KB
dwc3.rst -rw-r--r-- 1.8 KB
ehci.rst -rw-r--r-- 9.9 KB
functionfs.rst -rw-r--r-- 3.0 KB
gadget-testing.rst -rw-r--r-- 26.0 KB
gadget_configfs.rst -rw-r--r-- 10.5 KB
gadget_hid.rst -rw-r--r-- 11.6 KB
gadget_multi.rst -rw-r--r-- 5.5 KB
gadget_printer.rst -rw-r--r-- 10.8 KB
gadget_serial.rst -rw-r--r-- 11.4 KB
index.rst -rw-r--r-- 507 bytes
iuu_phoenix.rst -rw-r--r-- 2.7 KB
linux-cdc-acm.inf -rw-r--r-- 3.3 KB
linux.inf -rw-r--r-- 2.2 KB
mass-storage.rst -rw-r--r-- 9.7 KB
misc_usbsevseg.rst -rw-r--r-- 1.5 KB
mtouchusb.rst -rw-r--r-- 2.8 KB
ohci.rst -rw-r--r-- 1.5 KB
text_files.rst -rw-r--r-- 493 bytes
usb-help.rst -rw-r--r-- 517 bytes
usb-serial.rst -rw-r--r-- 19.7 KB
usbdevfs-drop-permissions.c -rw-r--r-- 2.3 KB
usbip_protocol.rst -rw-r--r-- 29.6 KB
usbmon.rst -rw-r--r-- 14.8 KB

back to top