Motr  M0
m0_balloc_super_block Struct Reference

#include <balloc.h>

Collaboration diagram for m0_balloc_super_block:
Collaboration graph

Data Fields

uint64_t bsb_magic
 
uint64_t bsb_state
 
uint64_t bsb_version
 
uint8_t bsb_uuid [128]
 
m0_bcount_t bsb_totalsize
 
m0_bcount_t bsb_freeblocks
 
m0_bcount_t bsb_blocksize
 
m0_bcount_t bsb_groupsize
 
uint32_t bsb_bsbits
 
uint32_t bsb_gsbits
 
m0_bcount_t bsb_groupcount
 
m0_bcount_t bsb_prealloc_count
 
uint64_t bsb_format_time
 
uint64_t bsb_write_time
 
uint64_t bsb_mnt_time
 
uint64_t bsb_last_check_time
 
uint64_t bsb_mnt_count
 
uint64_t bsb_max_mnt_count
 
m0_bcount_t bsb_stripe_size
 

Detailed Description

On-disk and in-memory super block stored in db

Definition at line 174 of file balloc.h.

Field Documentation

◆ bsb_blocksize

m0_bcount_t bsb_blocksize

block size in bytes

Definition at line 186 of file balloc.h.

◆ bsb_bsbits

uint32_t bsb_bsbits

block size bits: power of 2

Definition at line 188 of file balloc.h.

◆ bsb_format_time

uint64_t bsb_format_time

Definition at line 193 of file balloc.h.

◆ bsb_freeblocks

m0_bcount_t bsb_freeblocks

nr of free blocks

Definition at line 181 of file balloc.h.

◆ bsb_groupcount

m0_bcount_t bsb_groupcount

of group

Definition at line 190 of file balloc.h.

◆ bsb_groupsize

m0_bcount_t bsb_groupsize

group size in blocks

Definition at line 187 of file balloc.h.

◆ bsb_gsbits

uint32_t bsb_gsbits

group size bits: power of 2

Definition at line 189 of file balloc.h.

◆ bsb_last_check_time

uint64_t bsb_last_check_time

Definition at line 196 of file balloc.h.

◆ bsb_magic

uint64_t bsb_magic

Definition at line 175 of file balloc.h.

◆ bsb_max_mnt_count

uint64_t bsb_max_mnt_count

Definition at line 199 of file balloc.h.

◆ bsb_mnt_count

uint64_t bsb_mnt_count

Definition at line 198 of file balloc.h.

◆ bsb_mnt_time

uint64_t bsb_mnt_time

Definition at line 195 of file balloc.h.

◆ bsb_prealloc_count

m0_bcount_t bsb_prealloc_count

nr of pre-alloc blocks

Definition at line 191 of file balloc.h.

◆ bsb_state

uint64_t bsb_state

Definition at line 176 of file balloc.h.

◆ bsb_stripe_size

m0_bcount_t bsb_stripe_size

stripe size in blocks

Definition at line 201 of file balloc.h.

◆ bsb_totalsize

m0_bcount_t bsb_totalsize

total size in bytes

Definition at line 180 of file balloc.h.

◆ bsb_uuid

uint8_t bsb_uuid[128]

Definition at line 178 of file balloc.h.

◆ bsb_version

uint64_t bsb_version

Definition at line 177 of file balloc.h.

◆ bsb_write_time

uint64_t bsb_write_time

Definition at line 194 of file balloc.h.


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