linux-block.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Re: Re: Re: [PATCH] bcache: stop writeback thread after detaching
@ 2017-11-22  5:48 tang.junhui
  0 siblings, 0 replies; 2+ messages in thread
From: tang.junhui @ 2017-11-22  5:48 UTC (permalink / raw)
  To: colyli, mlyle; +Cc: linux-bcache, linux-block, tang.junhui

From: Tang Junhui <tang.junhui@zte.com.cn>

Hello Coly, Mike

> > If the change can be inside bch_register_lock, it would (just) be more
> > comfortable. The code is correct, because attach/detach sysfs is created
> > after writeback_thread created and writeback_rate_update worker
> > initialized, even these resources are initialized within
> > bch_register_lock and released out of bch)register_lock in your patch,
> > there won't be any race. It's OK to me.
>
> I think I agree with Coly that I'd prefer it to be moved down into the
> register lock, as I think that will be safer with any future changes.
> Are you willing to adjust it this way?


OK, I'll fix it and resend a v2 patch later.    

Thanks,
Tang

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Re: Re: [PATCH] bcache: stop writeback thread after detaching
@ 2017-11-22  7:28 tang.junhui
  0 siblings, 0 replies; 2+ messages in thread
From: tang.junhui @ 2017-11-22  7:28 UTC (permalink / raw)
  To: colyli, mlyle; +Cc: linux-bcache, linux-block, tang.junhui

From: Tang Junhui <tang.junhui@zte.com.cn>

Hi, Mike

Thanks for your reminder. I'll checkpatch carefully next time.

Thanks,
Tang

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-11-22  7:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-11-22  5:48 Re: Re: [PATCH] bcache: stop writeback thread after detaching tang.junhui
2017-11-22  7:28 tang.junhui

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).