]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Wed, 11 Sep 2013 02:07:35 +0000 (19:07 -0700)
commitffd1967d870414361057089235b78be3d7bf4ce7
tree663ca64d3f69bf9f2007384aab10a6d3752672c7
parent444c00fcb3de3f0e72a45b0707979efae402b1f3
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