AIO backend requires aligned data buffers, and the maximum IOVs supported in bdev module is defined to 32, there are cases for Windows Guest which will send data segments more than 32, SPDK can't process such cases, so here we can set the 'seg_max' parameter based on bdev module capability. Also set the maximum segment size for those requests. Fix issue #625. Change-Id: I0ff61e55872af17115c0b6b28425e70cb8769790 Signed-off-by: Changpeng Liu <changpeng.liu@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452378 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> |
||
---|---|---|
.. | ||
rte_vhost | ||
Makefile | ||
rte_vhost_compat.c | ||
vhost_blk.c | ||
vhost_internal.h | ||
vhost_nvme.c | ||
vhost_rpc.c | ||
vhost_scsi.c | ||
vhost.c |