Spdk/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
..
aio bdev/aio: Add the epoll support 2018-08-14 04:10:36 +00:00
error bdev/part: use internal buffers for part and product name. 2018-08-30 22:08:56 +00:00
gpt bdev/part: use internal buffers for part and product name. 2018-08-30 22:08:56 +00:00
iscsi bdev/iscsi: unregister io_device on bdev destruction 2018-07-27 18:58:53 +00:00
lvol bdev/lvol: using spdk_bdev_alias_del_all() to delete all alias on destroy 2018-08-21 00:53:31 +00:00
malloc bdev/malloc: remove blocklen power of 2 restriction 2018-08-15 17:36:00 +00:00
null bdev/null: free global resources on module finish 2018-07-30 15:38:07 +00:00
nvme nvme: add spdk_nvme_ns_get_extended_sector_size 2018-08-16 04:38:10 +00:00
passthru lib: fix typos in the lib directory 2018-08-24 17:15:12 +00:00
pmem lib: fix typos in the lib directory 2018-08-24 17:15:12 +00:00
raid bdev/raid: use split_on_optimal_io_boundary 2018-08-31 17:53:42 +00:00
rbd bdev/rbd: change the poller to timer poller 2018-07-03 16:40:18 +00:00
rpc bdev: add tracking for time spent processing I/O. 2018-07-31 23:26:07 +00:00
split bdev/part: use internal buffers for part and product name. 2018-08-30 22:08:56 +00:00
virtio bdev/virtio_blk: defer bdev destruct completion 2018-07-31 01:13:07 +00:00
bdev.c bdev: only apply split_on_optimal_io_boundary to R/W 2018-08-31 17:53:42 +00:00
Makefile bdev: add raid bdev module 2018-07-16 20:50:40 +00:00
part.c bdev/part: use internal buffers for part and product name. 2018-08-30 22:08:56 +00:00
scsi_nvme.c bdev: move error union to internal spdk_bdev_io struct 2018-06-26 20:04:07 +00:00
vtune.c bdev: disable new GCC 7 warning in VTune code 2018-03-19 15:58:15 -04:00