bcache: Convert writeback to a kthread
authorKent Overstreet <kmo@daterainc.com>
Thu, 25 Jul 2013 00:50:06 +0000 (17:50 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 11 Nov 2013 05:56:05 +0000 (21:56 -0800)
commit5e6926daac267dd99552ae613f041a9e88bbf258
tree0d9ebb689cccc61bc3bfca19c48ac83c5591df28
parent72a44517f3ca3725dc86081d105457df46448679
bcache: Convert writeback to a kthread

This simplifies the writeback flow control quite a bit - previously, it
was conceptually two coroutines, refill_dirty() and read_dirty(). This
makes the code quite a bit more straightforward.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/bcache.h
drivers/md/bcache/super.c
drivers/md/bcache/writeback.c
drivers/md/bcache/writeback.h