From 902f8719f2e68ed1eecc30113fd7ac48732060db Mon Sep 17 00:00:00 2001 From: Jim Harris Date: Mon, 22 Jan 2018 15:40:00 -0700 Subject: [PATCH] vhost: bump SPDK_VHOST_IOVS_MAX to 129 Currently we test up to 512KB I/O sizes, and this I/O size could fragment to 129 IOVs if split on 4KB boundaries if the buffer start is not 4KB aligned. This is likely the cause of a recent slew of failures in the test pool which coincide with updating to fio 3.3. Signed-off-by: Jim Harris Change-Id: I189157af578e75e025ca8e3420712739e604fca7 Reviewed-on: https://review.gerrithub.io/395872 Reviewed-by: Daniel Verkamp Tested-by: SPDK Automated Test System Reviewed-by: Ben Walker --- lib/vhost/vhost_internal.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vhost/vhost_internal.h b/lib/vhost/vhost_internal.h index 20931b4dc..f1fbbfe80 100644 --- a/lib/vhost/vhost_internal.h +++ b/lib/vhost/vhost_internal.h @@ -65,7 +65,7 @@ #define SPDK_VHOST_SCSI_CTRLR_MAX_DEVS 8 -#define SPDK_VHOST_IOVS_MAX 128 +#define SPDK_VHOST_IOVS_MAX 129 /* * Rate at which stats are checked for interrupt coalescing.