Loading
ut/reduce: add ut_build_data_buffer function
This function can be used to create data buffers with varying levels of compression - we'll use this in upcoming patches to test how lib/reduce actually handles compressed buffers. Modify the unit tests for the compression algorithm to use this new function as well. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: Ib065898a228c405b201092b718c2f0b920104129 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449500 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Paul Luse <paul.e.luse@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com>