bcache: Convert btree_insert_check_key() to btree_insert_node()
authorKent Overstreet <kmo@daterainc.com>
Wed, 11 Sep 2013 01:39:16 +0000 (18:39 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 11 Nov 2013 05:55:59 +0000 (21:55 -0800)
commite7c590eb63509c5d5f48a390d23aa25f4417ac96
tree22accb493ac9f36b5bf005d5a19080ab67a96cf2
parent403b6cdeb1a38d896ffcb1f99ddcfd4e343b5d69
bcache: Convert btree_insert_check_key() to btree_insert_node()

This was the main point of all this refactoring - now,
btree_insert_check_key() won't fail just because the leaf node happened
to be full.

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