commit | 981aa8c091e164ea51dd1e81b71a1f3852bbcceb | [log] [tgz] |
---|---|---|
author | Nicholas Swenson <nks@daterainc.com> | Thu Nov 07 17:53:19 2013 -0800 |
committer | Kent Overstreet <kmo@daterainc.com> | Mon Dec 16 14:22:58 2013 -0800 |
tree | 63b14b1df54db25daa2ce46c8f42b5cff0ab1b89 | |
parent | bee63f40cb5f5e8ab2abfbc85acde99cc0acd4b5 [diff] |
bcache: bugfix - moving_gc now moves only correct buckets Removed gc_move_threshold because picking buckets only by threshold could lead moving extra buckets (ei. if there are buckets at the threshold that aren't supposed to be moved do to space considerations). This is replaced by a GC_MOVE bit in the gc_mark bitmask. Now only marked buckets get moved. Signed-off-by: Nicholas Swenson <nks@daterainc.com> Signed-off-by: Kent Overstreet <kmo@daterainc.com>