commit | 86b26b824cf5d15d4408b33d6d716104f249e8bd | [log] [tgz] |
---|---|---|
author | Kent Overstreet <koverstreet@google.com> | Tue Apr 30 19:14:40 2013 -0700 |
committer | Kent Overstreet <koverstreet@google.com> | Tue Apr 30 19:14:40 2013 -0700 |
tree | d36395292ec70eac25ba86321a8a9361b78070a2 | |
parent | 8abb2a5dbadab91f9cae22270054e9ee3b3a1d2f [diff] |
bcache: Allocator cleanup/fixes The main fix is that bch_allocator_thread() wasn't waiting on garbage collection to finish (if invalidate_buckets had set ca->invalidate_needs_gc); we need that to make sure the allocator doesn't spin and potentially block gc from finishing. Signed-off-by: Kent Overstreet <koverstreet@google.com>