Re: [PATCH 12/12] closures: fix a race on wakeup from closure_sync

2019-07-22 Thread Kent Overstreet
On Thu, Jul 18, 2019 at 03:46:46PM +0800, Coly Li wrote: > On 2019/7/16 6:47 下午, Coly Li wrote: > > Hi Kent, > > > > On 2019/6/11 3:14 上午, Kent Overstreet wrote: > >> Signed-off-by: Kent Overstreet > > Acked-by: Coly Li > > > > And also I receive report for suspicious closure race condition in

Re: [PATCH 12/12] closures: fix a race on wakeup from closure_sync

2019-07-18 Thread Coly Li
On 2019/7/16 6:47 下午, Coly Li wrote: > Hi Kent, > > On 2019/6/11 3:14 上午, Kent Overstreet wrote: >> Signed-off-by: Kent Overstreet > Acked-by: Coly Li > > And also I receive report for suspicious closure race condition in > bcache, and people ask for having this patch into Linux v5.3. > > So b

Re: [PATCH 12/12] closures: fix a race on wakeup from closure_sync

2019-07-16 Thread Coly Li
Hi Kent, On 2019/6/11 3:14 上午, Kent Overstreet wrote: > Signed-off-by: Kent Overstreet Acked-by: Coly Li And also I receive report for suspicious closure race condition in bcache, and people ask for having this patch into Linux v5.3. So before this patch gets merged into upstream, I plan to re

[PATCH 12/12] closures: fix a race on wakeup from closure_sync

2019-06-10 Thread Kent Overstreet
Signed-off-by: Kent Overstreet --- lib/closure.c | 10 -- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/lib/closure.c b/lib/closure.c index 46cfe4c382..3e6366c262 100644 --- a/lib/closure.c +++ b/lib/closure.c @@ -104,8 +104,14 @@ struct closure_syncer { static void clo