+3
−1
Loading
At some point this parameter may have been a bool, but it's not now - so we need to explicitly pass SPDK_BLOB_READV or SPDK_BLOB_WRITEV. Otherwise we end up trying to write the iovec array as the data buffer when executing this operation later - since we passed "false" which is treated as 0 which is SPDK_BLOB_WRITE (not SPDK_BLOB_WRITEV). Fixes issue #603. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: I50df736216c4a88b40604722c021e204c7fac623 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/452157 Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>