Set the bdev->optimal_io_boundary to the strip size, and set split_on_optimal_io_boundary = true. This will ensure that all I/O submitted to the raid module do not cross a strip boundary, meaning it does not need to be split across multiple member disks. This is a step towards removing the iovcnt == 1 limitation. Further improvements and simplifications will be made in future patches before removing this restriction. Unit tests need to be adjusted here to not span boundaries either. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I08943805def673288f552a1b7662a4fbe16f25eb Reviewed-on: https://review.gerrithub.io/423323 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
bdev_raid_rpc.c | ||
bdev_raid.c | ||
bdev_raid.h | ||
Makefile |