Loading
bdevperf: Use zcopy APIs for write I/O with verify or reset cases
When zcopy APIs are used, target->buf cannot be passed directly to the bdev layer. Hence in addition to the last patch, copy target->buf to the buffer allocated by spdk_bdev_zcopy_start() when g_verify or g_reset is true. When g_verify or g_reset is true, a little performance degradation will be acceptable. Signed-off-by:Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Change-Id: I2caa4d0423f727954220c4ceac6b37f1b532013d Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/467901 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>