Spdk/module/bdev
Shuhei Matsumoto e65e798b34 bdev/compress: Refactor _compress_operation() about mbuf allocation
Factor out setup source and destination mbufs operation from
_comppress_operation() into a helper function _setup_compress_mbufs().

Setup source mbufs and setup destination mbufs are identical except
for total_length, and so this refactorinng is possible.

This refactoring will improve readability and clarify the logic
a little.

Signed-off-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Change-Id: Ia0a230c2d5e74aec917580aae969b49266178191
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/1683
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Broadcom CI
Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Paul Luse <paul.e.luse@intel.com>
2020-04-14 11:35:44 +00:00
..
aio make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
compress bdev/compress: Refactor _compress_operation() about mbuf allocation 2020-04-14 11:35:44 +00:00
crypto make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
delay make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
error make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
ftl make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
gpt make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
iscsi bdev/iscsi: Release request after connection is done 2020-04-14 11:32:35 +00:00
lvol make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
malloc make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
null make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
nvme bdev_nvme: don't register multiple ctrlr destruct pollers. 2020-04-06 07:48:13 +00:00
ocf module/ocf: check cache name during recovery from metadata 2020-04-10 07:08:50 +00:00
passthru make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
pmem make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
raid make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
rbd make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
rpc make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
split make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
uring make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
virtio make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
zone_block make: rev SO versions individually for libraries. 2020-03-18 08:02:30 +00:00
Makefile bdev/ftl: Remove NVMe dependencies 2020-01-15 12:24:44 +00:00