bcache: Avoid deadlocking in garbage collection
authorKent Overstreet <kmo@daterainc.com>
Wed, 11 Sep 2013 02:07:35 +0000 (19:07 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 11 Nov 2013 05:56:38 +0000 (21:56 -0800)
commitbc9389eefe479b7b7b323c2729b61a7155d2d0ea
tree81a55eccc4e09c9ade6e9ef6132970e02eca8c68
parenta1f0358b2bf69be216cb6e4ea40fe7ae4d38b8a6
bcache: Avoid deadlocking in garbage collection

Not a complete fix - we could still deadlock if btree_insert_node() has
to split...

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