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> |
||
---|---|---|
.. | ||
reduce.c | ||
Makefile |