+2
−2
Loading
libpmem only allows passing a size when CREATE flag is set. This requires some updates in the unit test stubs for pmem_map_file as well. While here, do some additional cleanup and add a g_volatile_pm_buf_len to track the size of the allocated volatile pm buffer. Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: Ib9fe58fd9946161dd20bb8391be2e9680705ab22 Reviewed-on: https://review.gerrithub.io/435945 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>