bool llformat_start(bool resume)

static checkpoint_t checkpoint;

typedef struct uint32_t magic; uint32_t version; uint32_t cur_block; uint32_t phase; uint32_t crc32; uint32_t reserved[3]; checkpoint_t;

typedef enum PH_INIT, PH_ERASE, PH_MAP, PH_META, PH_COMMIT, PH_CLEAN phase_t;