Turnstone Operating System
Loading...
Searching...
No Matches
tosdb_block_header_t Struct Reference

tosdb block header More...

#include <tosdb_internal.h>

Public Attributes

char_t signature [16]
 TOSDB_SUPERBLOCK_SIGNATURE.
 
uint64_t checksum
 checksum of block xxhash64
 
tosdb_block_type_t block_type: 16
 block type More...
 
uint64_t block_size
 block size multiple of 4096
 
uint32_t version_major
 major version of tosdb
 
uint32_t version_minor
 minor version of tosdb
 
uint64_t previous_block_location
 previous block location, blocks are linked
 
uint64_t previous_block_size
 previous block size
 
boolean_t previous_block_invalid
 previous block is invalid, end of chain
 

Detailed Description

tosdb block header

Member Data Documentation

◆ block_type

tosdb_block_type_t tosdb_block_header_t::block_type

block type

See also
tosdb_block_type_t

The documentation for this struct was generated from the following file: