Most typically, the error will be -ENOSPC, meaning the destination buffer wasn't big enough to hold the compressed data. But even for other types of errors, just write the uncompressed data rather than treating it as an I/O failure. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Id6526cab95488a1a587b183237f9980c83287761 Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/449511 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> 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> |
||
---|---|---|
.. | ||
Makefile | ||
reduce.c |