bcache: bch_writeback_thread() is not freezable
authorJiri Kosina <jkosina@suse.cz>
Tue, 24 May 2016 14:38:10 +0000 (16:38 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 24 May 2016 15:00:40 +0000 (09:00 -0600)
commit7c87df9c159aa1d228f0d77b37942216cff34922
tree2cb7df6171554ba8547681b42fa3f9a6d6b02912
parentba36c21b0cd8b55fd7f010e9052656c2c03d9e5e
bcache: bch_writeback_thread() is not freezable

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.

Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Jens Axboe <axboe@fb.com>
drivers/md/bcache/writeback.c