bcache: wait for buckets when allocating new btree root
authorSlava Pestov <sp@daterainc.com>
Tue, 22 Apr 2014 01:23:12 +0000 (18:23 -0700)
committerKent Overstreet <kmo@daterainc.com>
Mon, 4 Aug 2014 22:23:03 +0000 (15:23 -0700)
Tested:
- sometimes bcache_tier test would hang on startup with a failure
  to allocate the btree root -- no longer seeing this

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

Simple merge
Simple merge
Simple merge