Commit 5f5edbcb authored by Seth Howell's avatar Seth Howell Committed by Daniel Verkamp
Browse files

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: default avatarSeth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/383306


Reviewed-by: default avatarDaniel Verkamp <daniel.verkamp@intel.com>
Tested-by: default avatarSPDK Automated Test System <sys_sgsw@intel.com>
parent 71ea8265
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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