commit | 72c270612bd33192fa836ad0f2939af1ca218292 | [log] [tgz] |
---|---|---|
author | Kent Overstreet <koverstreet@google.com> | Wed Jun 05 06:24:39 2013 -0700 |
committer | Kent Overstreet <koverstreet@google.com> | Wed Jun 26 21:58:04 2013 -0700 |
tree | 344129d75f3b5c0abcf77dd4b6340783a126cde8 | |
parent | 279afbad4e54acbd61bf88a54a73af3bbfdeb5dd [diff] |
bcache: Write out full stripes Now that we're tracking dirty data per stripe, we can add two optimizations for raid5/6: * If a stripe is already dirty, force writes to that stripe to writeback mode - to help build up full stripes of dirty data * When flushing dirty data, preferentially write out full stripes first if there are any. Signed-off-by: Kent Overstreet <koverstreet@google.com>