bcache: bch_allocator_thread() is not freezable
authorJiri Kosina <jkosina@suse.cz>
Tue, 24 May 2016 14:38:15 +0000 (16:38 +0200)
committerJens Axboe <axboe@fb.com>
Tue, 24 May 2016 15:00:43 +0000 (09:00 -0600)
commit770b8ce400123af89ac469361d7912f458915547
treed331f0f38720f1cab43cfab7ca954a8146ca9ed2
parent7c87df9c159aa1d228f0d77b37942216cff34922
bcache: bch_allocator_thread() is not freezable

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

Bucket allocator has to be up and running to the very last stages of the
suspend, as the bcache I/O that's in flight (think of writing an
hibernation image to a swap device served by bcache).

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