From: Nicholas Swenson Date: Fri, 8 Nov 2013 01:53:19 +0000 (-0800) Subject: bcache: bugfix - moving_gc now moves only correct buckets X-Git-Tag: v3.13-rc6~5^2~8^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=981aa8c091e164ea51dd1e81b71a1f3852bbcceb;p=pandora-kernel.git 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 Signed-off-by: Kent Overstreet --- Reading git-diff-tree failed