]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bcache: Convert gc to a kthread
authorKent Overstreet <kmo@daterainc.com>
Thu, 25 Jul 2013 00:50:19 +0000 (17:50 -0700)
committerKent Overstreet <kmo@daterainc.com>
Wed, 11 Sep 2013 01:48:12 +0000 (18:48 -0700)
commit12fa18b474414994a4b82b7dc4dd7fcaec9c239c
treeb3a012604aeddde68de12d9782e07cf0220e0826
parent7878b89be6faa90f046ad72b78b1d93120f281f0
bcache: Convert gc to a kthread

We needed a dedicated rescuer workqueue for gc anyways... and gc was
conceptually a dedicated thread, just one that wasn't running all the
time. Switch it to a dedicated thread to make the code a bit more
straightforward.

Signed-off-by: Kent Overstreet <kmo@daterainc.com>
drivers/md/bcache/alloc.c
drivers/md/bcache/bcache.h
drivers/md/bcache/btree.c
drivers/md/bcache/btree.h
drivers/md/bcache/movinggc.c
drivers/md/bcache/request.c
drivers/md/bcache/super.c
drivers/md/bcache/sysfs.c