Skip to content
Commit 72c27061 authored by Kent Overstreet's avatar Kent Overstreet
Browse files

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: default avatarKent Overstreet <koverstreet@google.com>
parent 279afbad
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment