Commit 2cc6b0df authored by Seth Howell's avatar Seth Howell Committed by Jim Harris
Browse files

rdma: set the number of wr sge_entries per I/O



This was not being properly set in the multi-sgl path.
Also add a verification step to the fio configuration file to prevent
against future regressions.

Change-Id: I510b6acd92bc2fbc9b6fbec1d59945cc53584ad3
Signed-off-by: default avatarSeth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/450305


Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarShuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: default avatarBen Walker <benjamin.walker@intel.com>
parent b2e778b2
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,14 +3,14 @@ ioengine=spdk
thread=1
group_reporting=1
direct=1
verify=0
enable_sgl=1
time_based=1
ramp_time=0
runtime=2
iodepth=4
iodepth=128
rw=randrw
bs=16k
verify=md5

[test]
numjobs=1
+1 −0
Original line number Diff line number Diff line
@@ -1497,6 +1497,7 @@ nvmf_rdma_fill_buffers(struct spdk_nvmf_rdma_transport *rtransport,
		}
		i++;
	}
	wr->num_sge = i;

	return 0;
}
+1 −0
Original line number Diff line number Diff line
@@ -96,6 +96,7 @@ fi

trap - SIGINT SIGTERM EXIT

rm -f ./local-test-0-verify.state
killprocess $nvmfpid
nvmftestfini $1
timing_exit fio