]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 11 Sep 2013 01:48:15 +0000 (18:48 -0700)
commite281af1e989184b959cc62ff256df64156b0b853
treeea9d31f6be51b5c110f8b4cc179592d64c21d6f4
parent12fa18b474414994a4b82b7dc4dd7fcaec9c239c
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