Spdk/lib/reduce
Alexey Marchuk 9587ded299 lib/reduce: Factor out decomp_iov configuration
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>
2022-03-25 08:17:56 +00:00
..
Makefile so_ver: increase all major versions 2022-01-31 15:29:56 +00:00
reduce.c lib/reduce: Factor out decomp_iov configuration 2022-03-25 08:17:56 +00:00
spdk_reduce.map lib/reduce: add a map file. 2020-05-12 21:49:03 +00:00