Spdk/test/unit/lib/bdev
Jim Harris 2e6aac525c bdev/raid: use split_on_optimal_io_boundary
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>
2018-08-31 17:53:42 +00:00
..
bdev_raid.c bdev/raid: use split_on_optimal_io_boundary 2018-08-31 17:53:42 +00:00
bdev.c bdev: only apply split_on_optimal_io_boundary to R/W 2018-08-31 17:53:42 +00:00
gpt test: fix typos in the test directory 2018-08-27 19:39:31 +00:00
mt test/unit: Fix scan-build errors in bdev unittests 2018-08-31 00:01:09 +00:00
part.c test/unit: Fix scan-build errors in bdev unittests 2018-08-31 00:01:09 +00:00
pmem test: fix typos in the test directory 2018-08-27 19:39:31 +00:00
scsi_nvme.c bdev: move error union to internal spdk_bdev_io struct 2018-06-26 20:04:07 +00:00
vbdev_lvol.c test/unit: Fix scan-build errors in bdev unittests 2018-08-31 00:01:09 +00:00
Makefile bdev: add raid bdev module 2018-07-16 20:50:40 +00:00