• Shaohua Li's avatar
    raid5: allow arbitrary max_hw_sectors · 1dffdddd
    Shaohua Li authored
    raid5 will split bio to proper size internally, there is no point to use
    underlayer disk's max_hw_sectors. In my qemu system, without the change,
    the raid5 only receives 128k size bio, which reduces the chance of bio
    merge sending to underlayer disks.
    Signed-off-by: default avatarShaohua Li <shli@fb.com>
    1dffdddd
raid5.c 225 KB