Re: [PATCH v2] bcache: stop writeback thread after detaching

2017-11-21 Thread Michael Lyle
Hi Tang Junhui-- Thank you. On 11/21/2017 10:20 PM, tang.jun...@zte.com.cn wrote: > From: Tang Junhui > > Currently, when a cached device detaching from cache, writeback thread is > not stopped, and writeback_rate_update work is not canceled. For example, > after bellow

[PATCH v2] bcache: stop writeback thread after detaching

2017-11-21 Thread tang . junhui
From: Tang Junhui Currently, when a cached device detaching from cache, writeback thread is not stopped, and writeback_rate_update work is not canceled. For example, after bellow command: echo 1 >/sys/block/sdb/bcache/detach you can still see the writeback thread. Then