+91
−2
Loading
When restoring the device, read the first block of the non-volatile cache containing its metadata header and verify that it's indeed a device that was used as write cache. Change-Id: Idf113a9e8eb73160a2d9e6e882c9e026d3fafb3e Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/458095 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Mateusz Kozlowski <mateusz.kozlowski@intel.com> Reviewed-by:
Darek Stojaczyk <dariusz.stojaczyk@intel.com> Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com>