A pm file consists of: * volume metadata * logical map * chunk maps Define all three of these in struct spdk_reduce_vol. Also define -1ULL to denote an empty entry in the logical map or a chunk map - and initialize the logical map and chunk maps entirely with this value when initializing a new compressed volume. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I9aae23c73d2fbbdc72050ab103fe9e686907eb40 Reviewed-on: https://review.gerrithub.io/433490 Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Paul Luse <paul.e.luse@intel.com> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> |
||
---|---|---|
.. | ||
.gitignore | ||
Makefile | ||
reduce_ut.c |