BTRFS: Added more flags and key types
This commit is contained in:
parent
052a981c14
commit
4ba7b70ff3
@ -427,22 +427,38 @@ struct btrfs_extent_data_ref {
|
||||
#define BTRFS_OBJECT_ID_CHECKSUM_TREE 7
|
||||
#define BTRFS_OBJECT_ID_FIRST_CHUNK_TREE 256
|
||||
|
||||
#define BTRFS_KEY_TYPE_CHUNK_ITEM 228
|
||||
#define BTRFS_KEY_TYPE_INODE_ITEM 1
|
||||
#define BTRFS_KEY_TYPE_INODE_REF 12
|
||||
#define BTRFS_KEY_TYPE_XATTR_ITEM 24
|
||||
#define BTRFS_KEY_TYPE_DIR_ITEM 84
|
||||
#define BTRFS_KEY_TYPE_DIR_INDEX 96
|
||||
#define BTRFS_KEY_TYPE_EXTENT_DATA 108
|
||||
#define BTRFS_KEY_TYPE_INODE_ITEM 1
|
||||
#define BTRFS_KEY_TYPE_INODE_REF 12
|
||||
#define BTRFS_KEY_TYPE_ROOT_ITEM 132
|
||||
#define BTRFS_KEY_TYPE_XATTR_ITEM 24
|
||||
#define BTRFS_KEY_TYPE_EXTENT_ITEM 168
|
||||
#define BTRFS_KEY_TYPE_METADATA_ITEM 169
|
||||
#define BTRFS_KEY_TYPE_EXTENT_DATA_REF 178
|
||||
#define BTRFS_KEY_TYPE_BLOCKGROUP_ITEM 192
|
||||
#define BTRFS_KEY_TYPE_CHUNK_ITEM 228
|
||||
|
||||
#define BTRFS_EXTENT_COMPRESS_NONE 0
|
||||
#define BTRFS_EXTENT_COMPRESS_ZLIB 1
|
||||
#define BTRFS_EXTENT_COMPRESS_LZO 2
|
||||
|
||||
#define BTRFS_EXTENT_DATA_INLINE 0
|
||||
#define BTRFS_EXTENT_DATA_REGULAR 1
|
||||
#define BTRFS_EXTENT_DATA_PRE 2
|
||||
#define BTRFS_EXTENT_FLAG_DATA 1
|
||||
#define BTRFS_EXTENT_FLAG_TREE_BLOCK 2
|
||||
|
||||
#define BTRFS_BLOCKGROUP_FLAG_DATA 1
|
||||
#define BTRFS_BLOCKGROUP_FLAG_SYSTEM 2
|
||||
#define BTRFS_BLOCKGROUP_FLAG_METADA 4
|
||||
#define BTRFS_BLOCKGROUP_FLAG_RAID0 8
|
||||
#define BTRFS_BLOCKGROUP_FLAG_RAID1 16
|
||||
#define BTRFS_BLOCKGROUP_FLAG_DUP 32
|
||||
#define BTRFS_BLOCKGROUP_FLAG_RAID10 64
|
||||
#define BTRFS_BLOCKGROUP_FLAG_RAID5 128
|
||||
#define BTRFS_BLOCKGROUP_FLAG_RAID6 256
|
||||
#define BTRFS_BLOCKGROUP_FLAG_MASK 511
|
||||
|
||||
|
||||
struct file_cookie {
|
||||
|
Loading…
Reference in New Issue
Block a user