diff options
author | Kent Overstreet <koverstreet@google.com> | 2013-05-12 04:07:26 +0400 |
---|---|---|
committer | Kent Overstreet <koverstreet@google.com> | 2013-06-27 04:09:16 +0400 |
commit | 444fc0b6b167ed164e7436621a9d095e042644dd (patch) | |
tree | 4625e5b019f6f36794268c358fad393248df5bd6 /drivers/md/bcache/sysfs.c | |
parent | 6ded34d1a54c046a45db071d3cb7b37bd0a4a31f (diff) | |
download | linux-444fc0b6b167ed164e7436621a9d095e042644dd.tar.xz |
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 <koverstreet@google.com>
Diffstat (limited to 'drivers/md/bcache/sysfs.c')
0 files changed, 0 insertions, 0 deletions