Spdk/test
Jim Harris dd42c80857 lib/reduce: add functions to get pm and backing sizes
A compressed volume will require both a persistent
memory region/file for per-chunk metadata and a
backing device to store the compressed blocks.
Add functions here to calculate the sizes of these
based on the desired size of the compressed volume,
its chunk size and the size of each backing block.

Signed-off-by: Jim Harris <james.r.harris@intel.com>
Change-Id: I9203479e2a268c3ab0e2b0e06e348285e9d1cd13

Reviewed-on: https://review.gerrithub.io/430387
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
2018-11-08 00:01:47 +00:00
..
app make: simplify rdma dependency linking 2018-09-14 22:56:46 +00:00
bdev test/bdev: Dynamic memory allocation tests. 2018-11-06 18:47:04 +00:00
blobfs scripts: use python3 in all scripts 2018-09-14 22:24:30 +00:00
blobstore vbdev_crypto.c: Always initialize crypto drivers up front 2018-10-24 23:29:28 +00:00
common libsock: add functional tests 2018-11-07 17:08:27 +00:00
config_converter scripts: add config converter 2018-09-18 15:24:40 +00:00
cpp_headers build: add @: to remaining 'all' targets 2018-02-14 17:38:25 -05:00
env memory: register each hotplugged page separately 2018-10-11 18:59:11 +00:00
event test/event_perf: use less memory 2018-07-26 05:28:52 +00:00
ioat ioat: remove ioat kperf kernel driver test harness 2018-04-30 17:11:53 +00:00
iscsi_tgt libsock: add functional tests 2018-11-07 17:08:27 +00:00
json_config passthru: add RPC testing 2018-11-06 17:32:08 +00:00
lvol lvol: add a omitted case in usage function 2018-10-31 22:05:07 +00:00
nvme mk: introduce ldflags print target 2018-10-16 12:40:43 +00:00
nvmf test/nvmf: Use bdevperf in lvol test instead of fio 2018-11-07 17:06:11 +00:00
pmem Check file permissions in the check_format script 2018-10-04 23:08:12 +00:00
rpc_client jsonrpc: introduce spdk_jsonrpc_client_response 2018-11-06 19:00:41 +00:00
spdkcli test/spdkcli: Delete multiple subnodes from iscsi node 2018-11-07 17:24:08 +00:00
unit lib/reduce: add functions to get pm and backing sizes 2018-11-08 00:01:47 +00:00
vhost test/vhost: Fix vhost live migration 2018-10-15 22:49:06 +00:00
Makefile jsonrpc-client: add new C client library 2018-10-11 20:07:44 +00:00
spdk_cunit.h test: remove leftover spdk_cunit declaration 2018-07-06 22:47:56 +00:00