Re: [PATCH 1/2] io_uring: make req from defer and link list not touch async list

2019-07-16 Thread Jens Axboe
On 7/12/19 9:58 PM, Zhengyuan Liu wrote: > We would queue a work for each req in defer and link list without > increasing async->cnt, so we shouldn't decrease it while exiting > from workqueue as well as shouldn't process the req in async list. Took a closer look at this one. First comment, can yo

[PATCH 1/2] io_uring: make req from defer and link list not touch async list

2019-07-12 Thread Zhengyuan Liu
We would queue a work for each req in defer and link list without increasing async->cnt, so we shouldn't decrease it while exiting from workqueue as well as shouldn't process the req in async list. Signed-off-by: Zhengyuan Liu --- fs/io_uring.c | 9 - 1 file changed, 8 insertions(+), 1 d