Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
logfs_disk_super Struct Reference

#include <logfs_abi.h>

Data Fields

struct logfs_segment_header ds_sh
 
__be64 ds_magic
 
__be32 ds_crc
 
__u8 ds_ifile_levels
 
__u8 ds_iblock_levels
 
__u8 ds_data_levels
 
__u8 ds_segment_shift
 
__u8 ds_block_shift
 
__u8 ds_write_shift
 
__u8 pad0 [6]
 
__be64 ds_filesystem_size
 
__be32 ds_segment_size
 
__be32 ds_bad_seg_reserve
 
__be64 ds_feature_incompat
 
__be64 ds_feature_ro_compat
 
__be64 ds_feature_compat
 
__be64 ds_feature_flags
 
__be64 ds_root_reserve
 
__be64 ds_speed_reserve
 
__be32 ds_journal_seg [LOGFS_JOURNAL_SEGS]
 
__be64 ds_super_ofs [2]
 
__be64 pad3 [8]
 

Detailed Description

struct logfs_disk_super - on-medium superblock

: magic number, must equal LOGFS_MAGIC : crc32 of structure starting with the next field : maximum number of levels for ifile : maximum number of levels for regular files : number of separate levels for data : reserved, must be 0 : incompatible filesystem features : read-only compatible filesystem features : compatible filesystem features : flags : log2 of segment size : log2 of block size : log2 of write size : reserved, must be 0 : segments used by primary journal : bytes reserved for the superuser : bytes reserved to speed up GC : number of segments reserved to handle bad blocks : reserved, must be 0 : reserved, must be 0

Contains only read-only fields. Read-write fields like the amount of used space is tracked in the dynamic superblock, which is stored in the journal.

Definition at line 227 of file logfs_abi.h.

Field Documentation

__be32 ds_bad_seg_reserve

Definition at line 242 of file logfs_abi.h.

__u8 ds_block_shift

Definition at line 236 of file logfs_abi.h.

__be32 ds_crc

Definition at line 231 of file logfs_abi.h.

__u8 ds_data_levels

Definition at line 234 of file logfs_abi.h.

__be64 ds_feature_compat

Definition at line 247 of file logfs_abi.h.

__be64 ds_feature_flags

Definition at line 248 of file logfs_abi.h.

__be64 ds_feature_incompat

Definition at line 244 of file logfs_abi.h.

__be64 ds_feature_ro_compat

Definition at line 245 of file logfs_abi.h.

__be64 ds_filesystem_size

Definition at line 240 of file logfs_abi.h.

__u8 ds_iblock_levels

Definition at line 233 of file logfs_abi.h.

__u8 ds_ifile_levels

Definition at line 232 of file logfs_abi.h.

__be32 ds_journal_seg[LOGFS_JOURNAL_SEGS]

Definition at line 253 of file logfs_abi.h.

__be64 ds_magic

Definition at line 229 of file logfs_abi.h.

__be64 ds_root_reserve

Definition at line 250 of file logfs_abi.h.

__u8 ds_segment_shift

Definition at line 235 of file logfs_abi.h.

__be32 ds_segment_size

Definition at line 241 of file logfs_abi.h.

Definition at line 228 of file logfs_abi.h.

__be64 ds_speed_reserve

Definition at line 251 of file logfs_abi.h.

__be64 ds_super_ofs[2]

Definition at line 255 of file logfs_abi.h.

__u8 ds_write_shift

Definition at line 237 of file logfs_abi.h.

__u8 pad0[6]

Definition at line 238 of file logfs_abi.h.

__be64 pad3[8]

Definition at line 256 of file logfs_abi.h.


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