“5a2448b14f0b472a9d4154e341e6dd00f80cdf8f”上不存在“test/git@gitcode.net:openanolis/dragonwell8_jdk.git”
io_uring: deduplicate failing task_work_add
mainline inclusion from mainline-5.12-rc1 commit eab30c4d category: bugfix bugzilla: 182869 https://gitee.com/openeuler/kernel/issues/I4DDEL Reference: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=eab30c4d20dc761d463445e5130421863ff81505 --------------------------- When io_req_task_work_add() fails, the request will be cancelled by enqueueing via task_works of io-wq. Extract a function for that. Signed-off-by: NPavel Begunkov <asml.silence@gmail.com> Signed-off-by: NJens Axboe <axboe@kernel.dk> Conflicts: fs/io_uring.c [ 355fb9e2("io_uring: remove 'twa_signal_ok' deadlock work-around") is not applied. ] Signed-off-by: NZhihao Cheng <chengzhihao1@huawei.com> Reviewed-by: NZhang Yi <yi.zhang@huawei.com> Signed-off-by: NChen Jun <chenjun102@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录