+56
−39
Loading
We only need to register the memory for the CMB if the user plans to map it for use with data. Delay the operation until then. This also gives us a way to support unmapping the CMB. Change-Id: I6121ae2cc3f6f44efae8b52b6582ff9f68432bc8 Signed-off-by:Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/786 Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com>