Motr  M0
m0_balloc_group_desc Struct Reference

#include <balloc.h>

Collaboration diagram for m0_balloc_group_desc:
Collaboration graph

Data Fields

struct m0_format_header bgd_header
 
m0_bindex_t bgd_groupno
 
m0_bcount_t bgd_freeblocks
 
m0_bcount_t bgd_fragments
 
m0_bcount_t bgd_maxchunk
 
struct m0_format_footer bgd_footer
 

Detailed Description

On-disk data structure for group, stored in db.

When stored in db, {key, value} = {group_nr, m0_balloc_group_desc}. Every group description will stay in a separate db.

Definition at line 53 of file balloc.h.

Field Documentation

◆ bgd_footer

struct m0_format_footer bgd_footer

Definition at line 73 of file balloc.h.

◆ bgd_fragments

m0_bcount_t bgd_fragments

nr of freespace fragments

Definition at line 60 of file balloc.h.

◆ bgd_freeblocks

m0_bcount_t bgd_freeblocks

total free blocks

Definition at line 58 of file balloc.h.

◆ bgd_groupno

m0_bindex_t bgd_groupno

group number

Definition at line 56 of file balloc.h.

◆ bgd_header

struct m0_format_header bgd_header

Definition at line 54 of file balloc.h.

◆ bgd_maxchunk

m0_bcount_t bgd_maxchunk

max bytes of freespace chunk

Definition at line 62 of file balloc.h.


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