bcache: Add bch_btree_keys_u64s_remaining()
authorKent Overstreet <kmo@daterainc.com>
Tue, 12 Nov 2013 03:03:54 +0000 (19:03 -0800)
committerKent Overstreet <kmo@daterainc.com>
Wed, 8 Jan 2014 21:05:13 +0000 (13:05 -0800)
commit59158fde429fb5d18064e2734b3dd5e6048affbd
tree1cc4d34e0ba1523155dad7b8726b5249d050cc34
parenta85e968e66a175c86d0410719ea84a5bd0f1d070
bcache: Add bch_btree_keys_u64s_remaining()

Helper function to explicitly check how much space is free in a btree node

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