From 5f5edbcb8c8e41f460ca4c5eef0a7fcac9a8c30e Mon Sep 17 00:00:00 2001 From: Seth Howell Date: Fri, 20 Oct 2017 13:55:26 -0700 Subject: [PATCH] scsi_bdev: increase max I/O size to 4 MiB This is necessary to avoid failing very large write_zeroes operations. This is the minimal workaround to get the current bdevio tests to pass - the real fix will be implemented in the bdev layer later. Change-Id: I4e49f1b4da5d4c7f9507757d6c71ba3880d22437 Signed-off-by: Seth Howell Reviewed-on: https://review.gerrithub.io/383306 Reviewed-by: Daniel Verkamp Tested-by: SPDK Automated Test System --- lib/scsi/scsi_bdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/scsi/scsi_bdev.c b/lib/scsi/scsi_bdev.c index bc34fde72..241d831b9 100644 --- a/lib/scsi/scsi_bdev.c +++ b/lib/scsi/scsi_bdev.c @@ -46,7 +46,7 @@ #include "spdk/string.h" #include "spdk/util.h" -#define SPDK_WORK_BLOCK_SIZE (1ULL * 1024ULL * 1024ULL) +#define SPDK_WORK_BLOCK_SIZE (4ULL * 1024ULL * 1024ULL) #define SPDK_WORK_ATS_BLOCK_SIZE (1ULL * 1024ULL * 1024ULL) #define MAX_SERIAL_STRING 32