Re: [PATCH 1/4] bcache: bch_writeback_thread() is not freezable

From: Jens Axboe
Date: Tue May 24 2016 - 11:07:42 EST


On 05/24/2016 08:38 AM, Jiri Kosina wrote:
From: Jiri Kosina <jkosina@xxxxxxx>

bch_writeback_thread() is calling try_to_freeze(), but that's just an
expensive no-op given the fact that the thread is not marked freezable.

I/O helper kthreads, exactly such as the bcache writeback thread, actually
shouldn't be freezable, because they are potentially necessary for
finalizing the image write-out.

Applied 1-4, thanks Jiri.

--
Jens Axboe