提交 f1bdcc0a 编写于 作者: J Josef Bacik

Btrfs: move stuff around in btrfs_inode to get better packing

Moving things around to give us better packing in the btrfs_inode.  This reduces
the size of our inode by 8 bytes.  Thanks,
Signed-off-by: NJosef Bacik <josef@redhat.com>
上级 976d1676
...@@ -115,9 +115,6 @@ struct btrfs_inode { ...@@ -115,9 +115,6 @@ struct btrfs_inode {
*/ */
u64 disk_i_size; u64 disk_i_size;
/* flags field from the on disk inode */
u32 flags;
/* /*
* if this is a directory then index_cnt is the counter for the index * if this is a directory then index_cnt is the counter for the index
* number for new files that are created * number for new files that are created
...@@ -131,6 +128,9 @@ struct btrfs_inode { ...@@ -131,6 +128,9 @@ struct btrfs_inode {
*/ */
u64 last_unlink_trans; u64 last_unlink_trans;
/* flags field from the on disk inode */
u32 flags;
/* /*
* Counters to keep track of the number of extent item's we may use due * Counters to keep track of the number of extent item's we may use due
* to delalloc and such. outstanding_extents is the number of extent * to delalloc and such. outstanding_extents is the number of extent
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册