Slava Pestov 9e5c353510 bcache: fix uninterruptible sleep in writeback thread
There were two issues here:

- writeback thread did not start until the device first became dirty
- writeback thread used uninterruptible sleep once running

Without this patch I see kernel warnings printed and a load average of
1.52 after booting my test VM. With this patch the warnings are gone and
the load average is near 0.00 as expected.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
2014-08-04 15:23:03 -07:00
..
2014-04-18 14:20:48 +02:00
2014-03-18 12:22:36 -07:00
2014-01-08 13:05:08 -08:00
2014-04-18 14:20:48 +02:00
2014-08-04 15:23:02 -07:00
2014-08-04 15:23:02 -07:00
2013-11-23 22:33:57 -08:00
2014-02-25 18:42:49 -08:00
2014-03-18 12:22:35 -07:00
2014-03-18 12:22:35 -07:00
2014-03-18 12:22:35 -07:00
2014-03-18 12:22:35 -07:00
2013-11-10 21:56:32 -08:00
2014-03-18 12:39:28 -07:00
2014-03-18 12:22:35 -07:00
2013-12-31 09:51:02 -07:00