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)
commitc5aa4a3157b55bdca18dd2a9d9f43314470b6d32
tree561c55e24a7bc8d646ef2af5bb039b7b815bb676
parenta664d0f05a2ec02c8f042db536d84d15d6e19e81
bcache: wait for buckets when allocating new btree root

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
This page took 0.024734 seconds and 5 git commands to generate.