cfc372c2ec
Write pm filepath first to offset 4K. Then write the super block to offset 0. This ensures the backing device isn't really valid until both are written (avoiding the case where the super block got written but not the path.) Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: I55508aa67b4179e658827c982cd955d009a3f321 Reviewed-on: https://review.gerrithub.io/432505 Chandler-Test-Pool: SPDK Automated Test System <sys_sgsw@intel.com> 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> Reviewed-by: Ben Walker <benjamin.walker@intel.com> Reviewed-by: <spdk-ci.pdl@broadcom.com> |
||
---|---|---|
.. | ||
include | ||
lib | ||
Makefile | ||
unittest.sh |