Logo Search packages:      
Sourcecode: linux version File versions  Download package

super_block Struct Reference


Detailed Description

struct ubifs_info - UBIFS file-system description data structure (per-superblock). : VFS : backing device info object to make VFS happy and disable read-ahead

: highest used inode number : current global sequence number : commit number of the last successfully completed commit, protected by : protects and counters : UBIFS on-flash format version : UUID from super block

: log head logical eraseblock number : log head offset : log tail logical eraseblock number (offset is always 0) : protects the log, , , , and : minimum required number of bytes in the log : used during commit to temporarily amount of bytes in committed buds

: tree of all buds indexed by bud LEB number : how many bytes of flash is used by buds : protects the tree, , and per-journal head bud lists : count of journal heads : journal heads (head zero is base head) : maximum number of bytes allowed in buds : number of bud bytes when background commit is initiated : buds to be released after commit ends : maximum number of buds

: synchronizes committer with other processes : commit state : commit state lock : wait queue to sleep on if the log is full and a commit is running : do not run journal commit before un-mounting : flag that LPT is too big to write whole during commit : flag that indicates LPT GC may be needed : non-zero if the file-system does not have flash space (used as optimization) : the same as , but additionally means that even reserved pool is full

: protects the Tree Node Cache (TNC), , , , and : zbranch which points to the root index node and znode : next znode to commit : next znode to commit to empty space : array of LEBs used by the in-gaps commit method : commit buffer : buffer for commit in-the-gaps method : length of data in ileb_buf : LEB number of index head : offset of index head : pre-allocated index LEBs : number of pre-allocated index LEBs : next pre-allocated index LEBs : tree of index nodes obsoleted since the last commit start : a buffer which is used by 'dirty_cow_bottom_up()' in tnc.c : used by debugging to check ihead_lnum : used by debugging to check ihead_offs

: master node : offset of valid master node : protects the master node area, , and

: number of logical eraseblocks in the log : log size in bytes : last LEB of the log : number of LEBs used for lprops table : first LEB of the lprops table area : last LEB of the lprops table area : number of LEBs used for the orphan area : first LEB of the orphan area : last LEB of the orphan area : count of LEBs in the main area : first LEB of the main area : main area size in bytes : default compression algorithm (UBIFS_COMPR_LZO, etc)

: type of the key hash : direntry key hash function : key format : key length : fanout of the index tree (number of links per indexing node)

: minimal input/output unit size : number of bits in minus one : logical eraseblock size in bytes : half LEB size : count of logical eraseblocks : maximum count of logical eraseblocks : count of logical eraseblocks before re-size : the underlying UBI volume is read-only

: number of dirty pages (not used) : number of dirty znodes : number of clean znodes

: amount of bytes budgeted for index growth : amount of bytes budgeted for cached data : amount of bytes budgeted for cached data that will make other data dirty : amount of bytes were budgeted for growth of the index, but which still have to be taken into account because the index has not been committed so far : protects , , , , , , and ; : minimum number of LEBs required for the index : size of index on flash : temporary variable which is used to calculate new index size (contains accurate new index size at end of TNC commit start) : lprops statistics

: budget for a page : budget for an inode : budget for a directory entry

: size of the LEB reference node aligned to the min. flash I/O unit : master node aligned size : minimum indexing node aligned on 8-bytes boundary : maximum indexing node aligned on 8-bytes boundary : maximum possible inode size in bytes : size of znode in bytes

: how many bytes are wasted in an LEB when it is filled with data nodes of maximum size - used in free space reporting : LEB dead space watermark : LEB dark space watermark : count of 4KiB blocks on the FS

: UBIFS node length ranges : UBI volume descriptor : UBI device information : UBI volume information

: rb-tree of orphan inode numbers : list of orphan inode numbers in order added : list of orphan inode numbers added since last commit : next orphan to commit : next orphan to delete : lock for orph_tree and orph_new : buffer for orphan nodes : number of orphans since last commit : number of orphans being committed : number of orphans in the rb_tree : maximum number of orphans allowed : orphan head LEB number : orphan head offset : non-zero if there are no orphans

: UBIFS background thread : background thread name : if background thread should run : if write-buffers have to be synchronized

: LEB number used for garbage collection : a buffer of LEB size used by GC and replay for scanning : list of index LEBs that have been garbage collected : number of elements on the idx_gc list : incremented for every non-index LEB garbage collected : last non-index LEB that was garbage collected

: links all 'ubifs_info' objects : serializes shrinker and un-mount : shrinker run number

: number of bits needed to record free or dirty space : number of bits needed to record a LEB number in the LPT : number of bits needed to record an offset in the LPT : number of bits needed to space in the LPT : number of bits needed to record pnode or nnode number : number of bits needed to record LEB number : size of on-flash nnode : size of on-flash pnode : size of on-flash LPT lprops table : size of on-flash LPT save table : number of pnodes : number of nnodes : height of the LPT : number of pnodes in memory

: protects lprops table and all the other lprops-related fields : LEB number of the root nnode of the LPT : offset of the root nnode of the LPT : LEB number of LPT head : offset of LPT head : dirty flags for LPT special nodes e.g. ltab : number of dirty nnodes : number of dirty pnodes : LPT size : buffer for an on-flash nnode or pnode : buffer of LEB size used by LPT : address in memory of the root nnode of the LPT : next LPT node to commit : array of heaps of categorized lprops : a (reverse sorted) copy of the LPROPS_DIRTY_IDX heap as at previous commit start : list of un-categorized LEBs : list of empty LEBs : list of freeable non-index LEBs (free + dirty == leb_size) : list of freeable index LEBs (free + dirty == leb_size) : number of freeable LEBs in

: LEB number of LPT's own lprops table : offset of LPT's own lprops table : LPT's own lprops table : LPT's own lprops table (commit copy) : number of LEB numbers in LPT's save table : LEB number of LPT's save table : offset of LPT's save table : LPT's save table : LEB number of last LPT scan

: size of the reserved pool in bytes : size of the reserved pool reported to user-space : reserved pool user ID : reserved pool group ID

: if the UBI device is empty : temporary tree used during journal replay : temporary list used during journal replay : list of buds to replay : sequence number of first node in the log (commit start node) : sequence number of node currently being replayed : file-system needs recovery : set to 1 during journal replay : LEBs to recover when mounting ro to rw : recovered master node to write when mounting ro to rw : inode size information for recovery : set while remounting from ro to rw (sb flags have MS_RDONLY) : UBIFS-specific mount options

: a buffer of LEB size used for debugging purposes : old index root - used by 'dbg_check_old_index()' : old index root level - used by 'dbg_check_old_index()' : old index root sqnum - used by 'dbg_check_old_index()' : failure mode for recovery testing : 0=>don't delay, 1=>delay a time, 2=>delay a number of calls : time in jiffies when delay of failure mode expires : current number of calls to failure mode I/O functions : number of calls by which to delay failure mode


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

Generated by  Doxygen 1.6.0   Back to index