On 3/5/24 00:50, Christian Brauner wrote:
We've been wrestling aio cancellations for a while now and aimed to actually remove it but apparently it's used in the wild. I still very much prefer if we could finally nuke this code.
io_cancel() is being used by at least the Android user space code for cancelling pending USB writes. As far as I know we (Linux kernel developers) are not allowed to break existing user space code. See also: * https://android.googlesource.com/platform/frameworks/av/+/refs/heads/main/me... * https://android.googlesource.com/platform/packages/modules/adb/+/refs/heads/...
Thanks,
Bart.