BTRFS Super Block

Source: Internet
Author: User

1 /*2 * The Super block basically lists the main trees of the FS3 * It currently lacks any block count etc etc4  */5 structBtrfs_super_block {6 U8 Csum[btrfs_csum_size];7     /*The first 4 fields must match struct Btrfs_header*/8U8 Fsid[btrfs_fsid_size];/*FS specific UUID*/9__le64 Bytenr;/*This block number*/Ten __le64 flags; One  A     /*allowed to is different from the Btrfs_header from here own down*/ - __le64 Magic; - __le64 generation; the __le64 Root; - __le64 chunk_root; - __le64 log_root; -  +     /*This would help find the new super based on the log root*/ - __le64 Log_root_transid; + __le64 total_bytes; A __le64 bytes_used; at __le64 Root_dir_objectid; - __le64 num_devices; - __le32 sectorsize; - __le32 nodesize; - __le32 leafsize; - __le32 stripesize; in __le32 sys_chunk_array_size; - __le64 chunk_root_generation; to __le64 compat_flags; + __le64 compat_ro_flags; - __le64 incompat_flags; the __le16 Csum_type; * U8 Root_level; $ U8 Chunk_root_level;Panax Notoginseng U8 Log_root_level; -     structBtrfs_dev_item Dev_item; the  +     CharLabel[btrfs_label_size]; A  the __le64 cache_generation; + __le64 uuid_tree_generation; -  $     /*Future Expansion*/ $__le64 reserved[ -]; - U8 Sys_chunk_array[btrfs_system_chunk_array_size]; -     structbtrfs_root_backup Super_roots[btrfs_num_backup_roots]; the} __attribute__ ((__packed__));

BTRFS Super Block

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.