• K
    bcache/md: Use raid stripe size · c78afc62
    Kent Overstreet 提交于
    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: NKent Overstreet <kmo@daterainc.com>
    c78afc62
blk-settings.c 26.4 KB