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>
Fri, 9 Sep 2016 18:09:28 +0000 (11:09 -0700)
commitfcd4a4cc13599a5dd56d2578ff32beba682628b2
tree1370f3f47ea77ba44ba2b42cd368736e2f2bb364
parent0271bfba4ed0e3f38ea48a061fce37ad4ea46270
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
This page took 0.025469 seconds and 5 git commands to generate.