raid5: allow arbitrary max_hw_sectors
authorShaohua Li <shli@fb.com>
Thu, 8 Sep 2016 17:49:06 +0000 (10:49 -0700)
committerShaohua Li <shli@fb.com>
Wed, 21 Sep 2016 16:09:44 +0000 (09:09 -0700)
commit1dffddddd8315863f1a6d79c512b737864ef6a1a
tree1272477cb253701ca63745f4e93af4cc1a1be07e
parent694dda62d28674c21c8186d43b8ca0139bf01585
raid5: allow arbitrary max_hw_sectors

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: Shaohua Li <shli@fb.com>
drivers/md/raid5.c