This test verifies that all of the io_unit_index[] entries are written. For that to really happen, the write for the chunks must not be compressible. Currently the compress algorithm just copies the data and doesn't actually compress - so writing a partial chunk works OK for this test. But upcoming patches will add a 'real' compression unit test algorithm - at which point, writing just part of a chunk will be compressible since the non-written parts will be all zero. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ib48b9bb5a782571689b281a955e01682e21ee223 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449566 Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
reduce_ut.c |