bcache: Track dirty data by stripe
authorKent Overstreet <koverstreet@google.com>
Wed, 5 Jun 2013 13:21:07 +0000 (06:21 -0700)
committerKent Overstreet <koverstreet@google.com>
Thu, 27 Jun 2013 04:57:23 +0000 (21:57 -0700)
commit279afbad4e54acbd61bf88a54a73af3bbfdeb5dd
treeaefebaa3a7f54049904a275ca3035301603a9be1
parent444fc0b6b167ed164e7436621a9d095e042644dd
bcache: Track dirty data by stripe

To make background writeback aware of raid5/6 stripes, we first need to
track the amount of dirty data within each stripe - we do this by
breaking up the existing sectors_dirty into per stripe atomic_ts

Signed-off-by: Kent Overstreet <koverstreet@google.com>
drivers/md/bcache/bcache.h
drivers/md/bcache/btree.c
drivers/md/bcache/request.c
drivers/md/bcache/super.c
drivers/md/bcache/sysfs.c
drivers/md/bcache/writeback.c
drivers/md/bcache/writeback.h [new file with mode: 0644]