Functions _start_writev_request and _write_decompress_done have very similar decomp_iov configuration code, the only difference is whether to fill gaps with zeroes or with decompressed data. Move this code to a common function, that will reduce amount of changes in the next patch Signed-off-by: Alexey Marchuk <alexeymar@mellanox.com> Change-Id: I14509a17a12156b25ceab85a98b4dbd6fb11c732 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/11969 Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com> Community-CI: Mellanox Build Bot Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Shuhei Matsumoto <smatsumoto@nvidia.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> |
||
---|---|---|
.. | ||
Makefile | ||
reduce.c | ||
spdk_reduce.map |