On 8/27/21 10:46 AM, Hao Xu wrote: > the first patch is code clean. > the second is the main one, which refactors linkchain failure path to > fix a problem, detail in the commit message. Looks good, thanks Reviewed-by: Pavel Begunkov <asml.silence@xxxxxxxxx> > v1-->v2 > - update patch with Pavel's suggestion. > v2-->v3 > - move req->result initiation to better place > - add helpers for failing link node > > Hao Xu (2): > io_uring: remove redundant req_set_fail() > io_uring: fix failed linkchain code logic > > fs/io_uring.c | 62 ++++++++++++++++++++++++++++++++++++++------------- > 1 file changed, 47 insertions(+), 15 deletions(-) > -- Pavel Begunkov