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

bcache/md: Use raid stripe size



Now that we've got code for raid5/6 stripe awareness, bcache just needs
to know about the stripes and when writing partial stripes is expensive
- we probably don't want to enable this optimization for raid1 or 10,
even though they have stripes. So add a flag to queue_limits.

Signed-off-by: default avatarKent Overstreet <kmo@daterainc.com>
parent 5f5837d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment