From: Kent Overstreet Date: Sun, 12 May 2013 00:07:26 +0000 (-0700) Subject: bcache: Initialize sectors_dirty when attaching X-Git-Tag: v3.11-rc3~32^2~1^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=444fc0b6b167ed164e7436621a9d095e042644dd;p=pandora-kernel.git bcache: Initialize sectors_dirty when attaching Previously, dirty_data wouldn't get initialized until the first garbage collection... which was a bit of a problem for background writeback (as the PD controller keys off of it) and also confusing for users. This is also prep work for making background writeback aware of raid5/6 stripes. Signed-off-by: Kent Overstreet --- Reading git-diff-tree failed